30 template<
class Type,
class DType,
class LUType>
33 const word& fieldName,
49 template<
class Type,
class DType,
class LUType>
57 template<
class Type,
class DType,
class LUType>
64 psi = this->matrix_.source()/this->matrix_.diag();
A list of keyword definitions, which are a keyword followed by any number of values (e...
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
Abstract base-class for LduMatrix solvers.
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.
DiagonalSolver(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict)
Construct from matrix.