35 #ifndef DiagonalSolver_H 36 #define DiagonalSolver_H 49 template<
class Type,
class DType,
class LUType>
52 public LduMatrix<Type, DType, LUType>::solver
A list of keyword definitions, which are a keyword followed by any number of values (e...
TypeName("diagonal")
Runtime type information.
const LduMatrix< Type, DType, LUType > & matrix() const
const word & fieldName() const
void operator=(const DiagonalSolver &)=delete
Disallow default bitwise assignment.
Pre-declare SubField and related Field type.
A class for handling words, derived from 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
DiagonalSolver(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict)
Construct from matrix.