44 const dictionary& initialPointsDict,
45 const searchableSurface& surface,
46 const scalar& defaultCellSize,
72 shapeSizes.setSize(0);
84 List<pointIndexHit> hits;
98 const point& hitPt = hitInfo.hitPoint();
99 const label index = hitInfo.index();
101 if (sideMode_ == rmBothsides)
103 size = surfaceCellSizeFunction_().interpolate(hitPt, index);
110 List<pointIndexHit> closeToSurfaceHits;
124 if (closeToSurface.hit())
126 size = surfaceCellSizeFunction_().interpolate(hitPt, index);
132 List<volumeType> vTL(1);
134 surface_.getVolumeType(ptF, vTL);
136 bool functionApplied =
false;
140 sideMode_ == smInside
144 size = surfaceCellSizeFunction_().interpolate(hitPt, index);
146 functionApplied =
true;
150 sideMode_ == smOutside
154 size = surfaceCellSizeFunction_().interpolate(hitPt, index);
156 functionApplied =
true;
159 return functionApplied;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
PointIndexHit< point > pointIndexHit
Vector< scalar > vector
A scalar version of the templated Vector.
Macros for easy insertion into run-time selection tables.
vectorField pointField
pointField is a vectorField.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
List< label > labelList
A List of labels.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
vector point
Point is a vector.