37#ifndef surfaceCellSizeFunction_H
38#define surfaceCellSizeFunction_H
54class surfaceCellSizeFunction
81 surfaceCellSizeFunction(
const surfaceCellSizeFunction&) =
delete;
84 void operator=(
const surfaceCellSizeFunction&) =
delete;
98 surfaceCellSizeFunction,
101 const dictionary& surfaceCellSizeFunctionDict,
103 const scalar& defaultCellSize
105 (surfaceCellSizeFunctionDict, surface, defaultCellSize)
112 surfaceCellSizeFunction
115 const dictionary& surfaceCellSizeFunctionDict,
117 const scalar& defaultCellSize
126 const dictionary& surfaceCellSizeFunctionDict,
128 const scalar& defaultCellSize
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
dictionary()
Default construct, a top-level empty dictionary.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
const scalar & defaultCellSize_
TypeName("surfaceCellSizeFunction")
Runtime type information.
virtual scalar interpolate(const point &pt, const label index) const =0
static autoPtr< surfaceCellSizeFunction > New(const dictionary &surfaceCellSizeFunctionDict, const searchableSurface &surface, const scalar &defaultCellSize)
Return a reference to the selected surfaceCellSizeFunction.
const searchableSurface & surface_
Reference to the searchableSurface that surfaceCellSizeFunction.
declareRunTimeSelectionTable(autoPtr, surfaceCellSizeFunction, dictionary,(const dictionary &surfaceCellSizeFunctionDict, const searchableSurface &surface, const scalar &defaultCellSize),(surfaceCellSizeFunctionDict, surface, defaultCellSize))
scalar refinementFactor_
If cell resizing is allowed, this is the factor of the old cell size.
const dictionary coeffsDict_
virtual ~surfaceCellSizeFunction()=default
Destructor.
surfaceCellSizeFunction(const word &type, const dictionary &surfaceCellSizeFunctionDict, const searchableSurface &surface, const scalar &defaultCellSize)
Construct from components.
const dictionary & coeffsDict() const
Const access to the details dictionary.
A class for handling words, derived from Foam::string.
vector point
Point is a vector.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.