42 cellSizeCalculationType,
52 const dictionary& cellSizeCalcTypeDict,
53 const triSurfaceMesh& surface,
54 const scalar& defaultCellSize
57 cellSizeCalculationType
64 coeffsDict_(cellSizeCalcTypeDict.optionalSubDict(typeName +
"Coeffs")),
67 cellSizeCalcTypeDict.optionalSubDict
70 ).
get<word>(
"fieldFile")
72 cellSizeMultipleCoeff_
74 coeffsDict_.getOrDefault<scalar>(
"cellSizeMultipleCoeff", 1)
85 tmp<triSurfacePointScalarField> pointCellSize
92 surface_.searchableSurface::time().constant(),
104 pointCellSize.ref() *= cellSizeMultipleCoeff_;
106 return pointCellSize;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
const triSurfaceMesh & surface_
Reference to the triSurfaceMesh.
virtual tmp< triSurfacePointScalarField > load()
Load the cell size field.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
const wordList surface
Standard surface field types (scalar, vector, tensor, etc)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Foam::DimensionedField< scalar, triSurfacePointGeoMesh > triSurfacePointScalarField
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indent(Ostream &os)
Indent stream.