An implementation of a linear PDE solver. More...
#include <dumux/linear/pdesolver.hh>
Assembler | the assembler |
LinearSolver | the linear solver |
Comm | the communication object used to communicate with all processes |
Public Types | |
using | Communication = Comm |
using | Assembler = Assembler |
export the assembler and linear solver types More... | |
using | LinearSolver = LinearSolver |
using | Variables = Detail::PDESolver::AssemblerVariables< Assembler > |
export the type of variables that represent a numerical solution More... | |
Public Member Functions | |
LinearPDESolver (std::shared_ptr< Assembler > assembler, std::shared_ptr< LinearSolver > linearSolver, const Communication &comm=Dune::MPIHelper::getCommunication(), const std::string ¶mGroup="") | |
The Constructor. More... | |
LinearPDESolver (std::shared_ptr< Assembler > assembler, std::shared_ptr< LinearSolver > linearSolver, const std::string ¶mGroup) | |
The Constructor. More... | |
bool | apply (Variables &vars) override |
Solve a linear PDE system. More... | |
void | solve (Variables &vars) override |
Solve a linear PDE system. More... | |
void | report (std::ostream &sout=std::cout) const |
output statistics / report More... | |
Scalar | suggestTimeStepSize (Scalar oldTimeStep) const |
Suggest a new time-step size based on the old time-step size. More... | |
void | setVerbosity (int val) |
Specifies if the solver ought to be chatty. More... | |
int | verbosity () const |
Returns true if the solver ought to be chatty. More... | |
const std::string & | paramGroup () const |
Returns the parameter group. More... | |
void | reuseMatrix (bool reuse=true) |
Set whether the matrix should be reused. More... | |
virtual void | solve (Variables &vars, TimeLoop &timeLoop) |
Solve the given PDE system with time step control. More... | |
const Assembler & | assembler () const |
Access the assembler. More... | |
Assembler & | assembler () |
Access the assembler. More... | |
const LinearSolver & | linearSolver () const |
Access the linear solver. More... | |
Protected Member Functions | |
LinearSolver & | linearSolver () |
Access the linear solver. More... | |
bool | checkSizesOfSubMatrices (const Dune::MultiTypeBlockMatrix< FirstRow, Args... > &matrix) const |
Helper function to assure the MultiTypeBlockMatrix's sub-blocks have the correct sizes. More... | |
bool | checkSizesOfSubMatrices (const M &) const |
Default implementation for any matrix type. More... | |
|
inherited |
using Dumux::LinearPDESolver< Assembler, LinearSolver, Comm >::Communication = Comm |
|
inherited |
|
inherited |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements Dumux::PDESolver< Assembler, LinearSolver >.
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements Dumux::PDESolver< Assembler, LinearSolver >.
|
inlinevirtualinherited |
vars | instance of the Variables class representing a numerical solution |
timeLoop | a reference to the current time loop |
Reimplemented in Dumux::NewtonSolver< Assembler, LinearSolver, Reassembler, Comm >, Dumux::NewtonSolver< Assembler, LinearSolver, DefaultPartialReassembler, Dune::Communication< Dune::MPIHelper::MPICommunicator > >, Dumux::NewtonSolver< Assembler, LinearSolver, DefaultPartialReassembler, Dune::Communication< Dune::No_Comm > >, and Dumux::NewtonSolver< Assembler, LinearSolver, PartialReassembler< Assembler >, Dune::Communication< Dune::MPIHelper::MPICommunicator > >.
|
inline |
|
inline |