Go to the documentation of this file.
44 const dictionary& initialPointsDict,
45 const searchableSurface& surface,
46 const scalar& defaultCellSize,
62 distanceSqr_(
sqr(distance_))
79 const scalar distanceCellSize =
88 shapeSizes[0] = distanceCellSize;
91 shapeSizes[1] = distanceCellSize;
99 shapeSizes[0] = distanceCellSize;
104 shapeSizes.resize(1);
107 shapeSizes[0] = distanceCellSize;
136 const point& hitPt = hitInfo.hitPoint();
137 const label index = hitInfo.index();
160 bool functionApplied =
false;
170 functionApplied =
true;
180 functionApplied =
true;
183 return functionApplied;
vectorField pointField
pointField is a vectorField.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const labelList regionIndices_
Index of the region of the surface that this cell size function.
const searchableSurface & surface_
Reference to the searchableSurface that cellSizeFunction.
List< label > labelList
A List of labels.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
sideMode sideMode_
Mode of size specification, i.e. inside, outside or bothSides.
dimensioned< scalar > mag(const dimensioned< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static scalar snapToSurfaceTol_
Point closeness tolerance to a surface where the function "snaps" to.
Macros for easy insertion into run-time selection tables.
virtual void findNearest(const pointField &sample, const scalarField &nearestDistSqr, List< pointIndexHit > &) const =0
Vector< scalar > vector
A scalar version of the templated Vector.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
PointIndexHit< point > pointIndexHit
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
vector point
Point is a vector.
defineTypeNameAndDebug(combustionModel, 0)
virtual void getVolumeType(const pointField &, List< volumeType > &) const =0
Determine type (inside/outside) for point. unknown if.
autoPtr< surfaceCellSizeFunction > surfaceCellSizeFunction_
stressControl lookup("compactNormalStress") >> compactNormalStress