Go to the documentation of this file.
37 #ifndef cellSizeAndAlignmentControl_H
38 #define cellSizeAndAlignmentControl_H
89 TypeName(
"cellSizeAndAlignmentControl");
104 const scalar& defaultCellSize
126 const scalar& defaultCellSize
139 const scalar& defaultCellSize
168 DynamicList<Foam::point>& pts,
169 DynamicList<scalar>& sizes
vectorField pointField
pointField is a vectorField.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
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.
A class for handling words, derived from Foam::string.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
virtual void initialVertices(pointField &pts, scalarField &sizes, triadField &alignments) const =0
virtual label maxPriority() const =0
Field< triad > triadField
Specialisation of Field<T> for triad.
const Switch & forceInitialPointInsertion() const
static autoPtr< cellSizeAndAlignmentControl > New(const Time &runTime, const word &name, const dictionary &controlFunctionDict, const conformationSurfaces &geometryToConformTo, const scalar &defaultCellSize)
Switch forceInitialPointInsertion_
declareRunTimeSelectionTable(autoPtr, cellSizeAndAlignmentControl, dictionary,(const Time &runTime, const word &name, const dictionary &controlFunctionDict, const conformationSurfaces &geometryToConformTo, const scalar &defaultCellSize),(runTime, name, controlFunctionDict, geometryToConformTo, defaultCellSize))
Generic templated field type.
TypeName("cellSizeAndAlignmentControl")
virtual void cellSizeFunctionVertices(DynamicList< Foam::point > &pts, DynamicList< scalar > &sizes) const =0
const scalar & defaultCellSize_
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual ~cellSizeAndAlignmentControl()=default
const word & name() const