00001 #ifndef STRRETALG_H 00002 #define STRRETALG_H 00003 00004 #include "iotools.h" 00005 #include "alias.h" 00006 00007 00008 00009 /** 00010 Class defines type of stress return algorithm. 00011 It contains all necessary informations about selected algorithm. 00012 00013 Created by JK, 00014 */ 00015 class strretalg 00016 { 00017 public: 00018 strretalg (); 00019 ~strretalg (); 00020 void read (XFILE *in); 00021 void print (FILE *out); 00022 stressretalgtype give_tsra (); 00023 long give_ni (); 00024 double give_err (); 00025 00026 /// type of stress return algorithm 00027 stressretalgtype tsra; 00028 /// computer zero 00029 double zero; 00030 /// maximum number of iterations 00031 long ni; 00032 /// required accuracy 00033 double err; 00034 }; 00035 00036 #endif