Overture  Version 25
GridFunctionParameters.h
Go to the documentation of this file.
1 #ifndef GRID_FUNCTION_PARAMETERS_H
2 #define GRID_FUNCTION_PARAMETERS_H
3 
5 {
6 public:
7 
8  // Here we define all the enums related to GridFunctionType's
10  {
19  faceCentered, // for unstructured grids
20  edgeCentered // for unstructured grids
21  };
22 
24  {
31 
38 
45 
52 
59 
66 
73  };
74 
75  enum faceCenteringType // Here are some standard types of face centred grid functions
76  {
77  none=-1, // not face centred
78  direction0=0, // all components are face centred along direction (i.e. axis) = 0
79  direction1=1, // all components are face centred along direction (i.e. axis) = 1
80  direction2=2, // all components are face centred along direction (i.e. axis) = 2
81  all=-2, // components are face centred in all directions, positionOfFaceCentering determines
82  // the Index position that is used for the "directions"
83  faceCenteredUnstructured=3, // face centered on an unstructured grid
84  edgeCenteredUnstructured=4 // edge centered on an unstructured grid
85  };
86 
87 
88  GridFunctionType inputType, // type of the input grid function (for Coefficient matrices)
89  outputType; // type for the result
90 
93 
94  // This constructors cast a GridFunctionType into a GridFunctionParameter object with outputType=type
96 
97  // convert a GridFunctionParameters object into a GridFunctionType
98  operator GridFunctionType () const;
99 
100 };
101 
102 #endif