muMECH  1.0
comparison.h
Go to the documentation of this file.
1 //********************************************************************************************************
2 // code: ### ### ##### #### ## ##
3 // ## ## ######## ## ## ## ## ##
4 // ## ## ## ## ## ### ## ######
5 // ## ## ## ## ## ## ## ## ##
6 // ##### ## ## ##### #### ## ##
7 // ##
8 // name: comparison.h
9 // author(s): Ladislav Svoboda
10 // language: C, C++
11 // license: This program is free software; you can redistribute it and/or modify
12 // it under the terms of the GNU Lesser General Public License as published by
13 // the Free Software Foundation; either version 2 of the License, or
14 // (at your option) any later version.
15 //
16 // This program is distributed in the hope that it will be useful,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 // GNU Lesser General Public License for more details.
20 //
21 // You should have received a copy of the GNU Lesser General Public License
22 // along with this program; if not, write to the Free Software
23 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 //********************************************************************************************************
31 #ifndef MUMECH_COMPARISON_H
32 #define MUMECH_COMPARISON_H
33 
34 
35 namespace mumech {
36 
37 class Problem;
38 class Mesh;
39 
47 {
48  private:
49 
50  public:
52  Comparison () {}
54  virtual ~Comparison () {}
55 
57  static double cmp_mm_ansys_total_energy (const char *basename, const char *vtkGeomFile, int lc);
58 
60  static void give_energy_MM ();
61 
62 
63 };
64 
65 } // end of namespace mumech
66 
67 #endif
68 
69 /*end of file*/
static void give_energy_MM()
compute energy of mumech solution
Definition: comparison.cpp:88
static double cmp_mm_ansys_total_energy(const char *basename, const char *vtkGeomFile, int lc)
Definition: comparison.cpp:39
Class of the functions comparing results.
Definition: comparison.h:46
virtual ~Comparison()
Destructor.
Definition: comparison.h:54
Comparison()
Constructor.
Definition: comparison.h:52