32 template<
class Type,
class DType,
class LUType>
35 const word& fieldName,
51 template<
class Type,
class DType,
class LUType>
59 template<
class Type,
class DType,
class LUType>
66 psi = this->matrix_.source()/this->matrix_.diag();
A list of keyword definitions, which are a keyword followed by a number of values (eg...
DiagonalSolver(const DiagonalSolver &)=delete
No copy construct.
Generic templated field type.
A class for handling words, derived from Foam::string.
virtual SolverPerformance< Type > solve(Field< Type > &psi) const
Solve the matrix with this solver.
LduMatrix is a general matrix class in which the coefficients are stored as three arrays...
void read(const dictionary &solverDict)
Read and reset the solver parameters from the given dictionary.
const volScalarField & psi
static constexpr const zero Zero
Global zero (0)