Diffpack Documentation


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

ErrorRate.h

Go to the documentation of this file.
00001 
00005 class ErrorRate
00006 
00007 {
00008   SetOfNo(real) h, L1_error, L2_error, Linf_error, energy_error, H1_error;
00009   SetOfNo(int)  problem_id;
00010   String unknown_name;
00011 
00012   real exponent (real e1, real e2, real h1, real h2) const;
00013 
00014 public:
00015 
00016   ErrorRate ();
00017  ~ErrorRate () {}
00018 
00019   void setNameOfUnknown (const String& unknown_name);
00020   bool ok () const;
00021 
00022   void add (real h, real error, Norm_type norm, int run_no);
00023   void add (real h, real L2_error, real energy_error, int run_no);
00024   void add (real h, real L1_error, real L2_error, real Linf_error, int run_no);
00025   void add (real h, real L1_error, real L2_error, real Linf_error, 
00026             real energy_error, int run_no);
00027   void add (real h, real L1_error, real L2_error, real Linf_error, 
00028             real energy_error, real H1_error, int run_no);
00029 
00030   void reset ();  
00031   void print (Os os) const;
00032   void writeExtendedResults (MultipleReporter& rep);
00033 
00034   
00035   
00036 };
00037 
00038 

Copyright © 2003 inuTech GmbH. All rights reserved.