Go to the documentation of this file.
39 surfaceCellSizeFunction,
50 const dictionary& cellSizeFunctionDict,
51 const searchableSurface& surface,
52 const scalar& defaultCellSize
55 surfaceCellSizeFunction
62 surfaceTriMesh_(
refCast<const triSurfaceMesh>(surface)),
63 cellSizeCalculationType_
65 cellSizeCalculationType::
New
76 "pointCellSize.cellSize",
77 surfaceTriMesh_.searchableSurface::time().
constant(),
79 surfaceTriMesh_.searchableSurface::time(),
90 pointCellSize_ = cellSizeCalculationType_().load();
109 const face& faceHitByPt = surfaceTriMesh_.triSurface::operator[](index);
111 const pointField& pts = surfaceTriMesh_.points();
123 tri.barycentric(pt, bary);
128 return pointCellSize_[faceHitByPt[0]]*bary[0]
129 + pointCellSize_[faceHitByPt[1]]*bary[1]
130 + pointCellSize_[faceHitByPt[2]]*bary[2];
vectorField pointField
pointField is a vectorField.
List< scalar > scalarList
A List of scalars.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Constant dispersed-phase particle diameter model.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Macros for easy insertion into run-time selection tables.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
Ostream & indent(Ostream &os)
Indent stream.
To & refCast(From &r)
Reference type cast template function.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
vector point
Point is a vector.
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
triangle< point, const point & > triPointRef