Go to the documentation of this file.
52 const scalar cellSize,
67 setCellSize(cellSize);
68 setAdditionalRefinementLevels(additionalRefLevels);
79 this->operator=(
dict);
122 os <<
" type: " <<
type()
148 if(
type() != typeName_() )
183 "void boxRefinement::operator=(const dictionary& d)"
197 "void boxRefinement::operator=(const dictionary& d)"
211 "void boxRefinement::operator=(const dictionary& d)"
225 "void boxRefinement::operator=(const dictionary& d)"
235 os <<
"name " <<
name() <<
nl;
point centre_
centre of the box
A class for handling words, derived from string.
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
dictionary dict(bool ignoreType=false) const
Return as dictionary of entries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
void operator=(const dictionary &)
assign from dictionary
scalar lengthX_
length of box sides
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
scalar cellSize() const
return cell size
bool overlaps(const boundBox &) const
Overlaps/touches boundingBox?
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.
Macros for easy insertion into run-time selection tables.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
Ostream & indent(Ostream &os)
Indent stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
Checks if a box is contained inside the box object.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
A bounding box defined in terms of the points at its extremities.
const word & name() const
Return name.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
bool add(entry *, bool mergeEntry=false)
Add a new entry.
Base class for coordinate systems. All systems are defined by an origin and a coordinate rotation.