41 surfaceCellSizeFunction,
52 const dictionary& cellSizeFunctionDict,
53 const searchableSurface&
surface,
54 const scalar& defaultCellSize
57 surfaceCellSizeFunction
65 cellSizeCalculationType_
67 cellSizeCalculationType::
New 78 "pointCellSize.cellSize",
79 surfaceTriMesh_.searchableSurface::time().constant(),
81 surfaceTriMesh_.searchableSurface::time(),
92 pointCellSize_ = cellSizeCalculationType_().load();
95 <<
indent <<
" Minimum: " <<
min(pointCellSize_).value() <<
nl 97 <<
indent <<
" Maximum: " <<
max(pointCellSize_).value() <<
endl;
111 const face& faceHitByPt = surfaceTriMesh_.triSurface::operator[](index);
128 return pointCellSize_[faceHitByPt[0]]*bary[0]
129 + pointCellSize_[faceHitByPt[1]]*bary[1]
130 + pointCellSize_[faceHitByPt[2]]*bary[2];
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &f1)
Ostream & indent(Ostream &os)
Indent stream.
Barycentric2D< scalar > barycentric2D
A scalar version of the templated Barycentric2D.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
constexpr char nl
The newline '\n' character (0x0a)
Type & refCast(U &obj)
A dynamic_cast (for references). Generates a FatalError on failed casts and uses the virtual type() m...
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Macros for easy insertion into run-time selection tables.
vectorField pointField
pointField is a vectorField.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
const wordList surface
Standard surface field types (scalar, vector, tensor, etc)
defineTypeNameAndDebug(combustionModel, 0)
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
vector point
Point is a vector.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
triangle< point, const point & > triPointRef
A triangle using referred points.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & incrIndent(Ostream &os)
Increment the indent level.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)