38 if (which_type == Z_HEX08)
40 const cellModel&
hex = *(cellModeller::lookup(
"hex"));
47 const cellModel& cellModel = cellShape.model();
57 if (which_type == Z_PEN06)
59 const cellModel& prism = *(cellModeller::lookup(
"prism"));
65 const cellModel& cellModel = cellShape.model();
67 if (cellModel == prism)
75 if (which_type == Z_PYR05)
77 const cellModel& pyr = *(cellModeller::lookup(
"pyr"));
83 const cellModel& cellModel = cellShape.model();
94 if (which_type == Z_TET04)
96 const cellModel& tet = *(cellModeller::lookup(
"tet"));
103 const cellModel& cellModel = cellShape.model();
105 if (cellModel == tet)
112 if (which_type == Z_NFACED)
122 if ((nFacesInCell == 6) && (
points.size() == 8))
124 else if ((nFacesInCell == 4) && (
points.size() == 4))
126 else if (nFacesInCell == 5)
130 else if (
points.size() == 5)
typeIOobject< volTensorField > fieldObjectPtr(fieldNames[var2field[nVar]], runTime.name(), mesh, IOobject::NO_READ)
const cellShapeList & cellShapes
IOobject fieldObject(fieldNames[var2field[nVar]], runTime.name(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE)
volTensorField tf(fieldObject, mesh)
static label nSprayVariables
static List< word > fieldNames
static label var2field[maxNames]
List< cellShape > cellShapeList
List of cellShapes and PtrList of List of cellShape.
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)
VolField< tensor > volTensorField