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;
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A helper class for outputting values to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
void size(const label n)
Older name for setAddressableSize.
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.
static const label defaultMaxIter_
Default maximum number of iterations in the solver.
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
void setResidualField(const scalarField &residual, const word &fieldName, const bool initial) const
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
const Type * findObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
Type * getObjectPtr(const word &name, const bool recursive=false) const
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
#define DebugInfo
Report an information message using Foam::Info.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
static constexpr const zero Zero
Global zero (0)