Go to the documentation of this file.
35 #ifndef boxRefinement_H
36 #define boxRefinement_H
point centre_
centre of the box
A class for handling words, derived from string.
virtual autoPtr< objectRefinement > clone(const boxRefinement &sr) const
Construct and return a clone.
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
dictionary dict(bool ignoreType=false) const
Return as dictionary of entries.
TypeName("box")
Runtime type information.
void operator=(const dictionary &)
assign from dictionary
scalar lengthX_
length of box sides
scalar cellSize() const
return cell size
Ostream & operator<<(Ostream &) const
direction additionalRefinementLevels() const
return the number of additional refinement levels
bool intersectsObject(const boundBox &) const
check if a boundBox intersects or is inside the object
A list of keyword definitions, which are a keyword followed by any number of values (e....
boxRefinement()
Null construct.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A bounding box defined in terms of the points at its extremities.
const word & name() const
Return name.
void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...