37 #ifndef surfaceCellSizeFunction_H 38 #define surfaceCellSizeFunction_H 101 const dictionary& surfaceCellSizeFunctionDict,
103 const scalar& defaultCellSize
105 (surfaceCellSizeFunctionDict,
surface, defaultCellSize)
115 const dictionary& surfaceCellSizeFunctionDict,
117 const scalar& defaultCellSize
126 const dictionary& surfaceCellSizeFunctionDict,
128 const scalar& defaultCellSize
static autoPtr< surfaceCellSizeFunction > New(const dictionary &surfaceCellSizeFunctionDict, const searchableSurface &surface, const scalar &defaultCellSize)
Return a reference to the selected surfaceCellSizeFunction.
declareRunTimeSelectionTable(autoPtr, surfaceCellSizeFunction, dictionary,(const dictionary &surfaceCellSizeFunctionDict, const searchableSurface &surface, const scalar &defaultCellSize),(surfaceCellSizeFunctionDict, surface, defaultCellSize))
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Base class of (analytical or triangulated) surface. Encapsulates all the search routines. WIP.
virtual scalar interpolate(const point &pt, const label index) const =0
const dictionary coeffsDict_
Abstract base class for specifying target cell sizes.
const searchableSurface & surface_
Reference to the searchableSurface that surfaceCellSizeFunction.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A class for handling words, derived from Foam::string.
TypeName("surfaceCellSizeFunction")
Runtime type information.
const wordList surface
Standard surface field types (scalar, vector, tensor, etc)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual ~surfaceCellSizeFunction()=default
Destructor.
const dictionary & coeffsDict() const
Const access to the details dictionary.
scalar refinementFactor_
If cell resizing is allowed, this is the factor of the old cell size.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
const scalar & defaultCellSize_