35 #ifndef surfaceCellSizeFunction_H 36 #define surfaceCellSizeFunction_H 90 const scalar& defaultCellSize
92 (surfaceCellSizeFunctionDict, surface, defaultCellSize)
102 const dictionary& surfaceCellSizeFunctionDict,
104 const scalar& defaultCellSize
116 const dictionary& surfaceCellSizeFunctionDict,
118 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 any number of values (e...
virtual ~surfaceCellSizeFunction()
Destructor.
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.
A class for handling words, derived from string.
TypeName("surfaceCellSizeFunction")
Runtime type information.
const dictionary & coeffsDict() const
Const access to the details dictionary.
void operator=(const surfaceCellSizeFunction &)=delete
Disallow default bitwise assignment.
scalar refinementFactor_
If cell resizing is allowed, this is the factor of the old cell size.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
surfaceCellSizeFunction(const word &type, const dictionary &surfaceCellSizeFunctionDict, const searchableSurface &surface, const scalar &defaultCellSize)
Construct from components.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
const scalar & defaultCellSize_