Go to the documentation of this file.
44 additionalRefLevel_(0),
56 additionalRefLevel_(0),
67 "objectRefinement::objectRefinement"
68 "(const word&, const dictionary&)"
69 ) <<
"Specified cell size for object " << name_
73 else if(
dict.
found(
"additionalRefinementLevels") )
78 if( additionalRefLevel_ < 0 )
82 "objectRefinement::objectRefinement"
83 "(const word&, const dictionary&)"
84 ) <<
"Specified additionalRefinementLevel for object " << name_
113 scalar
s = globalCellSize;
128 }
while( nMarked != 0 );
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
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
label additionalRefLevel_
refinement level applicable to this object
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Ostream & operator<<(Ostream &, const edgeMesh &)
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.
Macros for easy insertion into run-time selection tables.
objectRefinement()
Null construct.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual ~objectRefinement()
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
label readLabel(Istream &is)
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,...
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
Base class for coordinate systems. All systems are defined by an origin and a coordinate rotation.