CG  Version 25
SurfaceEquation.h
Go to the documentation of this file.
1 #ifndef SURFACE_EQUATION_H
2 #define SURFACE_EQUATION_H
3 
4 #include "Overture.h"
5 #include "Parameters.h"
6 #include "GenericGraphicsInterface.h"
7 
8 #ifndef OV_USE_OLD_STL_HEADERS
9 #include <vector>
10 #include <list>
11 #else
12 #include <vector.h>
13 #include <list.h>
14 #endif
15 
16 // This little class holds the information about a face where the surface equation is applied.
18 {
19 public:
21 SurfaceEquationFace(int grid, int side, int axis);
22 int operator == ( const SurfaceEquationFace & face ) const;
23 
24 int grid, side,axis;
25 
26 };
27 
28 
29 // This class keeps track of all the faces where a surface equation is applied.
31 {
32 public:
33 
35 {
38 };
39 
40 
43 
46 
47 int
48 update(CompositeGrid & cg, const IntegerArray & originalBoundaryCondition,
49  GenericGraphicsInterface & gi,
50  const aString & command =nullString,
51  DialogData *interface=NULL );
52 
53 
54 std::vector<SurfaceEquationFace> faceList; // list of faces of grids where the surface equation applies.
55 
56 
58 real kThermal, Cp, rho;
59 
60 
61 protected:
62 
64 
65 };
66 
67 
68 
69 #endif