3 int *max_number_of_nodes,
4 int *max_number_of_elements[Z_MAXTYPE],
5 int *max_ijk_dimensions[3]
11 Info<<
"Entering: USERD_get_maxsize_info" <<
endl;
15 label maxNParcels = 0;
22 Info<<
"Checking all time steps for EnSight memory allocation purpose. " 23 <<
"This can take some time." <<
endl;
40 const label nCells = cells.size();
42 maxNPoints =
max(maxNPoints, nPoints);
46 label nFaces = cells[
n].nFaces();
49 if ((nFaces == 6) && (points.size() == 8))
53 else if ((nFaces == 5) && (points.size() == 6))
57 else if ((nFaces == 5) && (points.size() == 5))
61 else if ((nFaces == 4) && (points.size() == 4))
67 nPen06Max =
max(nPen06Max, nPen06);
68 nHex08Max =
max(nHex08Max, nHex08);
69 nPyr05Max =
max(nPyr05Max, nPyr05);
70 nTet04Max =
max(nTet04Max, nTet04);
76 Cloud<passiveParticle> lagrangian(*
meshPtr, cloud::defaultName);
85 max_number_of_nodes[0] = maxNPoints;
86 max_number_of_elements[0][Z_HEX08] = nHex08Max;
87 max_number_of_elements[0][Z_PEN06] = nPen06Max;
88 max_number_of_elements[0][Z_PYR05] = nPyr05Max;
89 max_number_of_elements[0][Z_TET04] = nTet04Max;
93 max_number_of_nodes[1] = maxNParcels;
94 max_number_of_elements[1][Z_POINT] = maxNParcels;
98 Info<<
"Leaving: USERD_get_maxsize_info" <<
endl;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Info<< "Create engine time\"<< endl;autoPtr< engineTime > runTimePtr(engineTime::New(Time::controlDictName, args.rootPath(), args.globalCaseName(), args.caseName()))
Ostream & endl(Ostream &os)
Add newline and flush stream.
static int Numparts_available
List< cellShape > cellShapeList
List of cellShapes and PtrList of List of cellShape.
static instantList timeDirs
int USERD_get_maxsize_info(int *max_number_of_nodes, int *max_number_of_elements[Z_MAXTYPE], int *max_ijk_dimensions[3])
List< label > labelList
A List of labels.