Go to the documentation of this file.
93 lowerPtr_ =
A.lowerPtr_;
94 A.lowerPtr_ =
nullptr;
99 diagPtr_ =
A.diagPtr_;
100 A.diagPtr_ =
nullptr;
105 upperPtr_ =
A.upperPtr_;
106 A.upperPtr_ =
nullptr;
270 if (!lowerPtr_ && !upperPtr_)
273 <<
"lowerPtr_ or upperPtr_ unallocated"
293 <<
"diagPtr_ unallocated"
303 if (!lowerPtr_ && !upperPtr_)
306 <<
"lowerPtr_ or upperPtr_ unallocated"
324 const word& fieldName,
348 if (initial && dataPtr->
found(
"firstIteration"))
350 *residualPtr = residual;
352 <<
"Setting residual field for first solver iteration "
353 <<
"for solver field: " << fieldName <<
endl;
358 *residualPtr = residual;
360 <<
"Setting residual field for solver field "
361 << fieldName <<
endl;
407 os <<
"Lower:" << hasLow
408 <<
" Diag:" << hasDiag
409 <<
" Upper:" << hasUp <<
endl;
Type * getObjectPtr(const word &name, const bool recursive=false) const
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
A class for handling words, derived from Foam::string.
A helper class for outputting values to Ostream.
A primitive field of type <T> with automated input and output.
static constexpr const zero Zero
Global zero (0)
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
Ostream & endl(Ostream &os)
Add newline and flush stream.
lduMatrix(const lduMesh &)
Construct given an LDU addressed mesh.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
void setResidualField(const scalarField &residual, const word &fieldName, const bool initial) const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual bool check(const char *operation) const
Check IOstream status for given operation.
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define DebugInfo
Report an information message using Foam::Info.
const Type * findObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
static const label defaultMaxIter_
Default maximum number of iterations in the solver.
defineTypeNameAndDebug(combustionModel, 0)
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...