Wrapper around LagrangianCoeff to specialise for the implicit coefficient. Trivial at present. The idea eventually is to make the vector implicit coefficient automatically build tensor coefficients as and when a model supplies tensor values. More...


Public Member Functions | |
| LagrangianSp (const LagrangianSp< Type > &Sp) | |
| Construct as copy. More... | |
| LagrangianSp (LagrangianSp< Type > &Sp, const bool reuse) | |
| Construct as copy or reuse as specified. More... | |
| LagrangianSp (LagrangianSp< Type > &&Sp) | |
| Move construct. More... | |
| tmp< LagrangianCoeff< scalar, true > > | A () const |
| Return the scalar diagonal coefficient. More... | |
| tmp< LagrangianCoeff< Type, false > > | H () const |
| Return the scalar off-diagonal coefficients. More... | |
| tmp< LagrangianCoeff< Type, false > > | Su () const |
| Return the equivalent explicit coefficient. More... | |
| tmp< LagrangianCoeff< Type, false > > | Su (const LagrangianEqn< Type > &) const |
| Return the equivalent explicit coefficient. Pass the equation. More... | |
| void | operator+= (const LagrangianSp< Type > &Sp) |
| Addition assignment. More... | |
| void | operator-= (const LagrangianSp< Type > &Sp) |
| Subtraction assignment. More... | |
Public Member Functions inherited from LagrangianCoeff< scalar, true > | |
| LagrangianCoeff (const LagrangianEqnBase &eqn) | |
| Construct from a reference to the equation. More... | |
| LagrangianCoeff (const LagrangianCoeff< scalar, Implicit > &coeff) | |
| Construct as copy. More... | |
| LagrangianCoeff (LagrangianCoeff< scalar, Implicit > &coeff, const bool reuse) | |
| Construct as copy or reuse as specified. More... | |
| LagrangianCoeff (LagrangianCoeff< scalar, Implicit > &&coeff) | |
| Move construct. More... | |
| LagrangianCoeff (const LagrangianEqnBase &eqn, const LagrangianSubField< scalar, PrimitiveField > &) | |
| Construct from a field. More... | |
| LagrangianCoeff (const LagrangianEqnBase &eqn, const tmp< LagrangianSubField< scalar, PrimitiveField >> &) | |
| Construct from a tmp field. More... | |
| const LagrangianEqnBase & | eqn () const |
| Access the equation. More... | |
| bool | valid () const |
| Determine whether this coefficient has values or not. More... | |
| const LagrangianSubField< scalar > & | S () const |
| Access the coefficient. More... | |
| void | negate () |
| In-place negation. More... | |
| void | operator+= (const LagrangianSubField< scalar, PrimitiveField > &) |
| Addition assignment. More... | |
| void | operator+= (const tmp< LagrangianSubField< scalar, PrimitiveField >> &) |
| Addition assignment. More... | |
| void | operator+= (const LagrangianCoeff< scalar, Implicit > &) |
| Addition assignment. More... | |
| void | operator+= (const dimensioned< scalar > &) |
| Addition assignment. More... | |
| void | operator+= (const zero) |
| Addition assignment. More... | |
| void | operator-= (const LagrangianSubField< scalar, PrimitiveField > &) |
| Subtraction assignment. More... | |
| void | operator-= (const tmp< LagrangianSubField< scalar, PrimitiveField >> &) |
| Subtraction assignment. More... | |
| void | operator-= (const LagrangianCoeff< scalar, Implicit > &) |
| Subtraction assignment. More... | |
| void | operator-= (const dimensioned< scalar > &) |
| Subtraction assignment. More... | |
| void | operator-= (const zero) |
| Subtraction assignment. More... | |
| void | operator*= (const LagrangianSubField< scalar, PrimitiveField > &) |
| Multiply assignment. More... | |
| void | operator*= (const tmp< LagrangianSubField< scalar, PrimitiveField >> &) |
| Multiply assignment. More... | |
| void | operator*= (const dimensioned< scalar > &) |
| Multiply assignment. More... | |
| void | operator*= (const zero &) |
| Multiply assignment. More... | |
| void | operator/= (const LagrangianSubField< scalar, PrimitiveField > &) |
| Division assignment. More... | |
| void | operator/= (const tmp< LagrangianSubField< scalar, PrimitiveField >> &) |
| Division assignment. More... | |
| void | operator/= (const dimensioned< scalar > &dt) |
| Division assignment. More... | |
Public Member Functions inherited from refCount | |
| int | count () const |
| Return the current reference count. More... | |
| bool | unique () const |
| Return true if the reference count is zero. More... | |
| void | operator++ () |
| Increment the reference count. More... | |
| void | operator++ (int) |
| Increment the reference count. More... | |
| void | operator-- () |
| Decrement the reference count. More... | |
| void | operator-- (int) |
| Decrement the reference count. More... | |
| void | operator= (const refCount &)=delete |
| Disallow bitwise assignment. More... | |
Friends | |
| tmp< LagrangianSubField< Type > > | operator/ (const LagrangianCoeff< Type, false > &Su, const LagrangianSp< Type > &Sp) |
| Divide an Su by an Sp. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from refCount | |
| refCount () | |
| Construct null initialising count to 0. More... | |
| refCount (const refCount &)=delete | |
| Disallow copy. More... | |
Wrapper around LagrangianCoeff to specialise for the implicit coefficient. Trivial at present. The idea eventually is to make the vector implicit coefficient automatically build tensor coefficients as and when a model supplies tensor values.
Definition at line 68 of file LagrangianSp.H.
| LagrangianSp | ( | const LagrangianSp< Type > & | Sp | ) |
Construct as copy.
Definition at line 31 of file LagrangianSp.C.
| LagrangianSp | ( | LagrangianSp< Type > & | Sp, |
| const bool | reuse | ||
| ) |
Construct as copy or reuse as specified.
Definition at line 38 of file LagrangianSp.C.
| LagrangianSp | ( | LagrangianSp< Type > && | Sp | ) |
Move construct.
Definition at line 45 of file LagrangianSp.C.
| Foam::tmp< Foam::LagrangianCoeff< Foam::scalar, true > > A |
Return the scalar diagonal coefficient.
Definition at line 55 of file LagrangianSp.C.
| Foam::tmp< Foam::LagrangianCoeff< Foam::vector, false > > H |
Return the scalar off-diagonal coefficients.
Definition at line 63 of file LagrangianSp.C.
| Foam::tmp< Foam::LagrangianCoeff< Foam::vector, false > > Su |
Return the equivalent explicit coefficient.
Definition at line 75 of file LagrangianSp.C.
References Foam::fvc::Su().

| Foam::tmp< Foam::LagrangianCoeff< Type, false > > Su | ( | const LagrangianEqn< Type > & | eqn | ) | const |
Return the equivalent explicit coefficient. Pass the equation.
explicitly so this can be used in the equation destructor when the reference held by the coeff classes might no longer be valid.
Definition at line 83 of file LagrangianSp.C.
References LagrangianEqn< Type >::psi(), Foam::fvm::S(), and Foam::blendedInterfacialModel::valid().

| void operator+= | ( | const LagrangianSp< Type > & | Sp | ) |
Addition assignment.
Definition at line 98 of file LagrangianSp.C.
References Foam::fvc::Sp().

| void operator-= | ( | const LagrangianSp< Type > & | Sp | ) |
Subtraction assignment.
Definition at line 105 of file LagrangianSp.C.
References Foam::fvc::Sp().

|
friend |
Divide an Su by an Sp.