38 if (which_type == Z_HEX08)
47 const cellModel& cellModel = cellShape.model();
57 if (which_type == Z_PEN06)
65 const cellModel& cellModel = cellShape.model();
67 if (cellModel == prism)
75 if (which_type == Z_PYR05)
83 const cellModel& cellModel = cellShape.model();
94 if (which_type == Z_TET04)
102 const cellModel& cellModel = cellShape.model();
104 if (cellModel == tet)
111 if (which_type == Z_NFACED)
121 if ((nFacesInCell == 6) && (
points.size() == 8))
123 else if ((nFacesInCell == 4) && (
points.size() == 4))
125 else if (nFacesInCell == 5)
129 else if (
points.size() == 5)
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
volVectorField vectorField(fieldObject, mesh)
const cellShapeList & cellShapes
IOobject fieldObject(fieldNames[var2field[nVar]], runTime.name(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE)
typeIOobject< volVectorField > fieldObjectPtr(fieldNames[var2field[nVar]], runTime.name(), mesh, IOobject::NO_READ)
static label nSprayVariables
static List< word > fieldNames
static label var2field[maxNames]
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
List< cellShape > cellShapeList
List of cellShapes and PtrList of List of cellShape.
VolField< vector > volVectorField
List< label > labelList
A List of labels.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
List< cell > cellList
list of cells
IOstream & hex(IOstream &io)
void component(GeometricField< typename GeometricField< Type, GeoMesh, PrimitiveField1 >::cmptType, GeoMesh, PrimitiveField1 > &gcf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf, const direction d)