Go to the documentation of this file.
37 #ifndef cellSizeFunction_H
38 #define cellSizeFunction_H
132 const scalar& defaultCellSize,
135 (cellSizeFunctionDict, surface, defaultCellSize, regionIndices)
147 const scalar& defaultCellSize,
159 const scalar& defaultCellSize,
const labelList regionIndices_
const searchableSurface & surface_
A class for handling words, derived from Foam::string.
void operator=(const cellSizeFunction &)=delete
declareRunTimeSelectionTable(autoPtr, cellSizeFunction, dictionary,(const dictionary &cellSizeFunctionDict, const searchableSurface &surface, const scalar &defaultCellSize, const labelList regionIndices),(cellSizeFunctionDict, surface, defaultCellSize, regionIndices))
Ostream & endl(Ostream &os)
Abstract base class for specifying target cell sizes.
virtual bool cellSize(const point &pt, scalar &size) const =0
const dictionary & coeffsDict() const
virtual bool sizeLocations(const pointIndexHit &hitPt, const vector &n, pointField &shapePts, scalarField &shapeSizes) const =0
cellSizeFunction(const cellSizeFunction &)=delete
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
Generic templated field type.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
virtual bool setCellSize(const pointField &pts)
static scalar snapToSurfaceTol_
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~cellSizeFunction()
static autoPtr< cellSizeFunction > New(const dictionary &cellSizeFunctionDict, const searchableSurface &surface, const scalar &defaultCellSize, const labelList regionIndices)
TypeName("cellSizeFunction")
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Macros to ease declaration of run-time selection tables.
scalarField surfaceCellSize_
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
fileName::Type type(const fileName &name, const bool followLink=true)
const scalar & defaultCellSize_
#define WarningInFunction
autoPtr< surfaceCellSizeFunction > surfaceCellSizeFunction_