37 #ifndef Foam_DiagonalSolver_H 38 #define Foam_DiagonalSolver_H 51 template<
class Type,
class DType,
class LUType>
Base class for solution control classes.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("diagonal")
Runtime type information.
DiagonalSolver(const DiagonalSolver &)=delete
No copy construct.
const LduMatrix< Type, DType, LUType > & matrix() const noexcept
void operator=(const DiagonalSolver &)=delete
No copy assignment.
Generic templated field type.
A class for handling words, derived from Foam::string.
const word & fieldName() const noexcept
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