37 if (which_type == Z_HEX08)
39 const cellModel&
hex = *(cellModeller::lookup(
"hex"));
43 for (
label celli=0; celli<nCells; celli++)
45 const cellShape& cellShape =
cellShapes[celli];
46 const cellModel& cellModel = cellShape.model();
56 if (which_type == Z_PEN06)
58 const cellModel& prism = *(cellModeller::lookup(
"prism"));
64 const cellModel& cellModel = cellShape.model();
66 if (cellModel == prism)
74 if (which_type == Z_PYR05)
76 const cellModel& pyr = *(cellModeller::lookup(
"pyr"));
82 const cellModel& cellModel = cellShape.model();
92 if (which_type == Z_TET04)
94 const cellModel& tet = *(cellModeller::lookup(
"tet"));
100 const cellModel& cellModel = cellShape.model();
102 if (cellModel == tet)
109 if (which_type == Z_NFACED)
119 if ((nFacesInCell == 6) && (
points.size() == 8))
121 else if ((nFacesInCell == 4) && (
points.size() == 4))
123 else if (nFacesInCell == 5)
127 else if (
points.size() == 5)
const cellShapeList & cellShapes
IOobject fieldObject(fieldNames[var2field[nVar]], runTime.name(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE)
typeIOobject< volScalarField > fieldObjectPtr(fieldNames[var2field[nVar]], runTime.name(), mesh, IOobject::NO_READ)
volScalarField scalarField(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< scalar > volScalarField