Go to the documentation of this file.
41 surfaceCellSizeFunction,
52 const dictionary& cellSizeFunctionDict,
53 const searchableSurface& surface,
54 const scalar& defaultCellSize
57 surfaceCellSizeFunction
64 surfaceTriMesh_(
refCast<const triSurfaceMesh>(surface)),
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);
113 const pointField& pts = surfaceTriMesh_.points();
128 return pointCellSize_[faceHitByPt[0]]*bary[0]
129 + pointCellSize_[faceHitByPt[1]]*bary[1]
130 + pointCellSize_[faceHitByPt[2]]*bary[2];
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
vectorField pointField
pointField is a vectorField.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Barycentric2D< scalar > barycentric2D
A scalar version of the templated Barycentric2D.
Ostream & endl(Ostream &os)
const Type & value() const
Ostream & incrIndent(Ostream &os)
label min(const labelHashSet &set, label minValue=labelMax)
label max(const labelHashSet &set, label maxValue=labelMin)
Macros for easy insertion into run-time selection tables.
Ostream & decrIndent(Ostream &os)
Ostream & indent(Ostream &os)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
vector point
Point is a vector.
constant condensation/saturation model.
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
triangle< point, const point & > triPointRef
A triangle using referred points.