35 #ifndef DiagonalSolver_H
36 #define DiagonalSolver_H
49 template<
class Type,
class DType,
class LUType>
void read(const dictionary &solverDict)
Read and reset the solver parameters from the given dictionary.
TypeName("diagonal")
Runtime type information.
void operator=(const DiagonalSolver &)=delete
Disallow default bitwise assignment.
DiagonalSolver(const word &fieldName, const LduMatrix< Type, DType, LUType > &matrix, const dictionary &solverDict)
Construct from matrix.
virtual SolverPerformance< Type > solve(Field< Type > &psi) const
Solve the matrix with this solver.
Pre-declare SubField and related Field type.
const LduMatrix< Type, DType, LUType > & matrix() const
const word & fieldName() const
LduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for run-time selectable region solvers.
A class for handling words, derived from string.
const volScalarField & psi