37#ifndef cellSizeAndAlignmentControl_H
38#define cellSizeAndAlignmentControl_H
89 TypeName(
"cellSizeAndAlignmentControl");
104 const scalar& defaultCellSize
126 const scalar& defaultCellSize
139 const scalar& defaultCellSize
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
declareRunTimeSelectionTable(autoPtr, cellSizeAndAlignmentControl, dictionary,(const Time &runTime, const word &name, const dictionary &controlFunctionDict, const conformationSurfaces &geometryToConformTo, const scalar &defaultCellSize),(runTime, name, controlFunctionDict, geometryToConformTo, defaultCellSize))
const scalar & defaultCellSize_
virtual void cellSizeFunctionVertices(DynamicList< Foam::point > &pts, DynamicList< scalar > &sizes) const =0
const word & name() const
virtual ~cellSizeAndAlignmentControl()=default
Destructor.
Switch forceInitialPointInsertion_
TypeName("cellSizeAndAlignmentControl")
Runtime type information.
const Switch & forceInitialPointInsertion() const
virtual void initialVertices(pointField &pts, scalarField &sizes, triadField &alignments) const =0
static autoPtr< cellSizeAndAlignmentControl > New(const Time &runTime, const word &name, const dictionary &controlFunctionDict, const conformationSurfaces &geometryToConformTo, const scalar &defaultCellSize)
Return a reference to the selected cellShapeControl.
virtual label maxPriority() const =0
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
#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.