37 if (which_type == Z_HEX08)
43 for (
label celli=0; celli<nCells; celli++)
45 const cellShape& cellShape = cellShapes[celli];
46 const cellModel& cellModel = cellShape.model();
50 var_array[counter++] = scalarField[celli];
56 if (which_type == Z_PEN06)
63 const cellShape& cellShape = cellShapes[
n];
64 const cellModel& cellModel = cellShape.model();
66 if (cellModel == prism)
68 var_array[counter++] = scalarField[
n];
74 if (which_type == Z_PYR05)
81 const cellShape& cellShape = cellShapes[
n];
82 const cellModel& cellModel = cellShape.model();
86 var_array[counter++] = scalarField[
n];
92 if (which_type == Z_TET04)
99 const cellShape& cellShape = cellShapes[
n];
100 const cellModel& cellModel = cellShape.model();
102 if (cellModel == tet)
104 var_array[counter++] = scalarField[
n];
109 if (which_type == Z_NFACED)
117 label nFacesInCell = cells[
n].size();
119 if ((nFacesInCell == 6) && (points.size() == 8))
121 else if ((nFacesInCell == 4) && (points.size() == 4))
123 else if (nFacesInCell == 5)
125 if (points.size() == 6)
127 else if (points.size() == 5)
131 var_array[counter++] = scalarField[
n];
136 var_array[counter++] = scalarField[
n];
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
IOstream & hex(IOstream &io)
IOobject fieldObject(fieldNames[var2field[nVar]], runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE)
static List< word > fieldNames
GeometricField< scalar, fvPatchField, volMesh > volScalarField
typeIOobject< volScalarField > fieldObjectPtr(fieldNames[var2field[nVar]], runTime.timeName(), mesh, IOobject::NO_READ)
stressControl lookup("compactNormalStress") >> compactNormalStress
List< cellShape > cellShapeList
List of cellShapes and PtrList of List of cellShape.
static label nSprayVariables
List< label > labelList
A List of labels.
volScalarField scalarField(fieldObject, mesh)
List< cell > cellList
list of cells
static label var2field[maxNames]