35 if (!lowerPtr_ && !upperPtr_)
57 if (!lowerPtr_ && !upperPtr_)
82 if (!lowerPtr_ && !upperPtr_)
96 sumOff[l[face]] +=
mag(Upper[face]);
108 <<
"lduMatrix::operator=(const lduMatrix&) : " 109 <<
"attempted assignment to self" 223 <<
"Unknown matrix type combination" <<
nl 302 <<
"Unknown matrix type combination" <<
nl intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A face is a list of labels corresponding to mesh vertices.
void negate()
Negate this field.
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual const labelUList & lowerAddr() const =0
Return lower addressing.
void sumMagOffDiag(scalarField &sumOff) const
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))
virtual const labelUList & upperAddr() const =0
Return upper addressing.
errorManip< error > abort(error &err)
void operator=(const lduMatrix &)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void operator*=(const scalarField &)
void operator/=(const scalarField &)
volScalarField sf(fieldObject, mesh)
lduMatrix is a general matrix class in which the coefficients are stored as three arrays...
#define WarningInFunction
Report a warning using Foam::Warning.
const lduAddressing & lduAddr() const
Return the LDU addressing.
dimensioned< scalar > mag(const dimensioned< Type > &)
void operator-=(const lduMatrix &)
void operator+=(const lduMatrix &)
label size() const
Return the number of elements in the UList.