Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

LinEqStatUtil.h

Go to the documentation of this file.
00001 
00005 class WorkCost
00006 
00007 {
00008 public:
00009   int system;
00010   int internal;
00011 
00012   WorkCost () { system = internal = 0; }
00013 
00014   int total () { return (system + internal); }
00015 };
00016 
00017 
00032 class StorageCost
00033 
00034 {
00035 public:
00036   real system;
00037   real internal;
00038 
00039   StorageCost () { system = internal = 0.0; }
00040 
00041   real total () { return (system + internal); }
00042 };
00043 
00044 
00059 class SolverStatistics
00060 
00061 {
00062 public:
00063   String classname;
00064   String description;           
00065 
00066   String prm2name;              
00067   real   cputime;               
00068 
00069       
00070   PivotType pivot_tp;           
00071 
00072       
00073   StartVectorMode startmode;    
00074   bool converged;            
00075   bool has_restarted;        
00076   bool restarted;            
00077   int  max_iterations;       
00078   int  niterations;          
00079   int  nrestarts;            
00080 
00081   bool has_relaxation;       
00082   real relaxation;           
00083 
00084 
00085   SolverStatistics ();
00086 };
00087 
00088 
00104 class SystemStatistics
00105 
00106 {
00107 public:
00108   String classname;
00109 
00110   LinEqPrecMode precmode;  
00111   int    nunknowns;        
00112   real   resnorm;          
00113   int    nblkrows;         
00114   int    nblkcols;         
00115 
00116   ArrayGenSimple(String) A_structure;  
00117   ArrayGenSimple(String) x_structure;
00118   ArrayGenSimple(String) b_structure;
00119 
00120   SystemStatistics ();
00121 };
00122 
00123 
00139 class PrecondStatistics : public HandleId
00140 
00141 {
00142 public:
00143   String classname;
00144   String description;     
00145 
00146   bool left;              
00147 
00148   bool has_fillin_level;  
00149   int  fillin_level;      
00150 
00151   bool has_relaxation;    
00152   real relaxation;        
00153 
00154   bool has_inner_steps;   
00155   int  inner_steps;       
00156 
00157 
00158   PrecondStatistics ();
00159 };
00160 
00161 
00178 class ConvStatistics
00179 
00180 {
00181 public:
00182   String        classname;
00183   String        description;     
00184 
00185   bool          monitor;         
00186   bool          criterion;       
00187   bool          append;          
00188   ConvMon_Relop relop;           
00189   Norm_type     norm_tp;         
00190   real          conv_tolerance;  
00191   real          base_value;      
00192   real          test_value;      
00193   bool          use_eig_info;    
00194 
00195   bool          has_rel_to_rhs;  
00196   bool          rel_to_rhs;      
00197 
00198   bool          has_residual_tp; 
00199   Residual_type residual_tp;     
00200 
00201   ConvStatistics ();
00202 };
00203 
00204 

Copyright © 2003 inuTech GmbH. All rights reserved.