Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
BCTypes.h
Go to the documentation of this file.
1
#ifndef BCTypes_H
2
#define BCTypes_H
3
4
// The only purpose of this class is to hold the names of the
5
// Elementary Boundary Condition Types
6
class
BCTypes
7
{
8
public
:
9
// **** remember to also change GenericMappedGridOperators.h ****
10
// and assignBoundaryConditions.bf
11
enum
BCNames
12
{
13
dirichlet
,
14
neumann
,
15
extrapolate
,
16
normalComponent
,
17
mixed
,
18
generalMixedDerivative
,
19
normalDerivativeOfNormalComponent
,
20
normalDerivativeOfADotU
,
21
aDotU
,
22
aDotGradU
,
23
normalDotScalarGrad
,
24
evenSymmetry
,
25
oddSymmetry
,
26
generalizedDivergence
,
27
vectorSymmetry
,
28
tangentialComponent0
,
29
tangentialComponent1
,
30
normalDerivativeOfTangentialComponent0
,
31
normalDerivativeOfTangentialComponent1
,
32
extrapolateInterpolationNeighbours
,
33
tangentialComponent
,
34
extrapolateNormalComponent
,
35
extrapolateTangentialComponent0
,
36
extrapolateTangentialComponent1
,
37
userDefinedBoundaryCondition0
,
38
userDefinedBoundaryCondition1
,
39
userDefinedBoundaryCondition2
,
40
userDefinedBoundaryCondition3
,
41
userDefinedBoundaryCondition4
,
42
userDefinedBoundaryCondition5
,
43
userDefinedBoundaryCondition6
,
44
userDefinedBoundaryCondition7
,
45
userDefinedBoundaryCondition8
,
46
userDefinedBoundaryCondition9
,
47
extrapolateRefinementBoundaries
,
48
numberOfDifferentBoundaryConditionTypes
,
// counts number of entries in this list
49
allBoundaries
=-99999,
// default argument
50
boundary1
=
allBoundaries
+1,
// (side,axis)=(0,0)
51
boundary2
=
boundary1
+1,
// (side,axis)=(1,0)
52
boundary3
=
boundary2
+1,
// (side,axis)=(0,1)
53
boundary4
=
boundary3
+1,
// (side,axis)=(1,1)
54
boundary5
=
boundary4
+1,
// (side,axis)=(0,2)
55
boundary6
=
boundary5
+1
// (side,axis)=(1,2)
56
};
57
BCTypes
() {}
58
~BCTypes
() {}
59
60
// return the BCNames values for a given face of a grid (side,axis)
61
static
BCNames
boundary
(
int
side,
int
axis) {
return
BCNames
(
boundary1
+side+2*axis); }
62
63
64
};
65
66
67
#endif
Generated on Fri Jan 4 2013 10:17:48 for Overture by
1.8.3