Go to the documentation of this file.
36 #ifndef objectRefinement_H
37 #define objectRefinement_H
scalar cellSize_
cell size for this object
A class for handling words, derived from string.
void calculateAdditionalRefLevels(const scalar globalCellSize)
calculate additional refinement levels from cell size
virtual dictionary dict(bool ignoreType=false) const =0
Return as dictionary of entries.
friend Ostream & operator<<(Ostream &, const objectRefinement &)
label additionalRefLevel_
refinement level applicable to this object
virtual bool intersectsObject(const boundBox &) const =0
check if a boundBox intersects or is inside the object
void setRefinementThickness(const scalar refThickness)
set refinement thickness
void setAdditionalRefinementLevels(const direction addRefLevels)
set the number of additional refinement level
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar cellSize() const
return cell size
void setName(const word &name)
set the name
void setCellSize(const scalar cellSize)
set cell size
direction additionalRefinementLevels() const
return the number of additional refinement levels
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void writeDict(Ostream &, bool subDict=true) const =0
Write dictionary.
objectRefinement()
Null construct.
virtual void write(Ostream &) const =0
Write.
virtual ~objectRefinement()
scalar refinementThickness() const
return refinement thickness for this object
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar refThickness_
refinement thickness fro this object
static autoPtr< objectRefinement > New(const word &name, const dictionary &dict)
Select constructed from dictionary.
word name_
Name of object refinement type.
A bounding box defined in terms of the points at its extremities.
const word & name() const
Return name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void operator=(const dictionary &)=0
assign from dictionary
TypeName("objectRefinement")
declareRunTimeSelectionTable(autoPtr, objectRefinement, dictionary,(const word &name, const dictionary &dict),(name, dict))