Go to the documentation of this file.
35 #ifndef sphereRefinement_H
36 #define sphereRefinement_H
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
TypeName("sphere")
Runtime type information.
virtual autoPtr< objectRefinement > clone(const sphereRefinement &sr) const
Construct and return a clone.
A class for handling words, derived from string.
void write(Ostream &) const
Write.
scalar cellSize() const
return cell size
bool intersectsObject(const boundBox &) const
check if a boundBox intersects or is inside the object
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....
scalar radius_
radius of the sphere
void operator=(const dictionary &)
assign from dictionary
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Ostream & operator<<(Ostream &) const
sphereRefinement()
Null construct.
A bounding box defined in terms of the points at its extremities.
point centre_
centre of the sphere
const word & name() const
Return name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
dictionary dict(bool ignoreType=false) const
Return as dictionary of entries.