37#ifndef cellSizeCalculationType_H
38#define cellSizeCalculationType_H
94 const scalar& defaultCellSize
96 (cellSizeCalculationTypeDict, surface, defaultCellSize)
106 const dictionary& cellSizeCalculationTypeDict,
108 const scalar& defaultCellSize
117 const dictionary& cellSizeCalculationTypeDict,
119 const scalar& defaultCellSize
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Abstract base class for specifying target cell sizes.
const dictionary & cellSizeCalculationTypeDict_
const scalar & defaultCellSize_
virtual ~cellSizeCalculationType()=default
Destructor.
virtual tmp< triSurfacePointScalarField > load()=0
Load the cell size.
declareRunTimeSelectionTable(autoPtr, cellSizeCalculationType, dictionary,(const dictionary &cellSizeCalculationTypeDict, const triSurfaceMesh &surface, const scalar &defaultCellSize),(cellSizeCalculationTypeDict, surface, defaultCellSize))
void operator=(const cellSizeCalculationType &)=delete
No copy assignment.
cellSizeCalculationType(const word &type, const dictionary &cellSizeCalculationTypeDict, const triSurfaceMesh &surface, const scalar &defaultCellSize)
Construct from components.
static autoPtr< cellSizeCalculationType > New(const dictionary &cellSizeCalculationTypeDict, const triSurfaceMesh &surface, const scalar &defaultCellSize)
Return a reference to the selected cellSizeCalculationType.
cellSizeCalculationType(const cellSizeCalculationType &)=delete
No copy construct.
TypeName("cellSizeCalculationType")
Runtime type information.
const triSurfaceMesh & surface_
Reference to the triSurfaceMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for managing temporary objects.
IOoject and searching on triSurface.
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.