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
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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....
Abstract base class for specifying target cell sizes.
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.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
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.