Go to the documentation of this file.
52 const scalar cellSize,
67 setCellSize(cellSize);
68 setAdditionalRefinementLevels(additionalRefLevels);
79 this->operator=(
dict);
90 const scalar d =
magSqr(v);
95 const scalar t = ((
c -
p0_) & v) / d;
96 if( (t > 1.0) || (t < 0.0) )
134 os <<
" type: " <<
type()
136 <<
" radius0: " <<
r0_
138 <<
" radius1: " <<
r1_;
160 if(
type() != typeName_() )
195 "void coneRefinement::operator=(const dictionary& d)"
209 "void coneRefinement::operator=(const dictionary& d)"
223 "void coneRefinement::operator=(const dictionary& d)"
237 "void coneRefinement::operator=(const dictionary& d)"
247 os <<
"name " <<
name() <<
nl;
void write(Ostream &) const
Write.
A class for handling words, derived from string.
const point & max() const
Maximum describing the bounding box.
coneRefinement()
Null construct.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
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.
dimensioned< scalar > mag(const dimensioned< Type > &)
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Refine boxes with centres contained inside the cone.
void operator=(const dictionary &)
assign from dictionary
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
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
const point & min() const
Minimum describing the bounding box.
dictionary dict(bool ignoreType=false) const
Return as dictionary of entries.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
Ostream & indent(Ostream &os)
Indent stream.
point p1_
end point and the radius
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & operator<<(Ostream &) const
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
point p0_
start point and the radius
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 dimensionedScalar c
Speed of light in a vacuum.
const word & name() const
Return name.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
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)
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
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.