38 if (which_type == Z_HEX08)
46 const cellShape& cellShape = cellShapes[
n];
47 const cellModel& cellModel = cellShape.model();
51 var_array[counter++] = vectorField[
n][
component];
57 if (which_type == Z_PEN06)
64 const cellShape& cellShape = cellShapes[
n];
65 const cellModel& cellModel = cellShape.model();
67 if (cellModel == prism)
69 var_array[counter++] = vectorField[
n][
component];
75 if (which_type == Z_PYR05)
82 const cellShape& cellShape = cellShapes[
n];
83 const cellModel& cellModel = cellShape.model();
87 var_array[counter++] = vectorField[
n][
component];
94 if (which_type == Z_TET04)
101 const cellShape& cellShape = cellShapes[
n];
102 const cellModel& cellModel = cellShape.model();
104 if (cellModel == tet)
106 var_array[counter++] = vectorField[
n][
component];
111 if (which_type == Z_NFACED)
119 label nFacesInCell = cells[
n].size();
121 if ((nFacesInCell == 6) && (points.size() == 8))
123 else if ((nFacesInCell == 4) && (points.size() == 4))
125 else if (nFacesInCell == 5)
127 if (points.size() == 6)
129 else if (points.size() == 5)
133 var_array[counter++] = vectorField[
n][
component];
138 var_array[counter++] = vectorField[
n][
component];
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
typeIOobject< volVectorField > fieldObjectPtr(fieldNames[var2field[nVar]], runTime.timeName(), mesh, IOobject::NO_READ)
IOstream & hex(IOstream &io)
volVectorField vectorField(fieldObject, mesh)
GeometricField< vector, fvPatchField, volMesh > volVectorField
static List< word > fieldNames
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.
IOobject fieldObject(fieldNames[var2field[nVar]], runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
List< cell > cellList
list of cells
static label var2field[maxNames]