Class to store the coefficients of a term in a carrier equation. More...

Public Member Functions | |
| CarrierEqn (const VolField< Type > &psi) | |
| Construct from a reference to the field. More... | |
| void | clear () |
| Clear the coefficient values. More... | |
| void | operator+= (const LagrangianEqn< Type > &lEqn) |
| Addition assignment. More... | |
| void | operator-= (const LagrangianEqn< Type > &lEqn) |
| Subtraction assignment. More... | |
Public Attributes | |
| const VolField< Type > & | psi |
| Reference to the field. More... | |
| CarrierCoeff< Type, false > | Su |
| Explicit coefficient. More... | |
| CarrierCoeff< scalar, true > | Sp |
| Implicit coefficient. More... | |
Class to store the coefficients of a term in a carrier equation.
Definition at line 51 of file CarrierEqn.H.
| CarrierEqn | ( | const VolField< Type > & | psi | ) |
Construct from a reference to the field.
Definition at line 31 of file CarrierEqn.C.
| void clear |
Clear the coefficient values.
Definition at line 42 of file CarrierEqn.C.
References Foam::fvc::Sp(), and Foam::fvc::Su().

| void operator+= | ( | const LagrangianEqn< Type > & | lEqn | ) |
Addition assignment.
Definition at line 52 of file CarrierEqn.C.
References LagrangianEqn< Type >::allDiagonalSp(), LagrangianEqn< Type >::allDiagonalSu(), Foam::fvc::Sp(), and Foam::fvc::Su().

| void operator-= | ( | const LagrangianEqn< Type > & | lEqn | ) |
Subtraction assignment.
Definition at line 60 of file CarrierEqn.C.
References LagrangianEqn< Type >::allDiagonalSp(), LagrangianEqn< Type >::allDiagonalSu(), Foam::fvc::Sp(), and Foam::fvc::Su().

| const VolField<Type>& psi |
Reference to the field.
Definition at line 58 of file CarrierEqn.H.
| CarrierCoeff<Type, false> Su |
Explicit coefficient.
Definition at line 61 of file CarrierEqn.H.
| CarrierCoeff<scalar, true> Sp |
Implicit coefficient.
Definition at line 64 of file CarrierEqn.H.