template<class Assembler, class
LinearSolver>
class Dumux::LinearPDESolver< Assembler, LinearSolver >
An implementation of a linear PDE solver.
- Template Parameters
-
| Assembler | the assembler |
| LinearSolver | the linear solver |
| Comm | the communication object used to communicate with all processes |
- Note
- If you want to specialize only some methods but are happy with the defaults of the reference solver, derive your solver from this class and simply overload the required methods.
|
| | LinearPDESolver (std::shared_ptr< Assembler > assembler, std::shared_ptr< LinearSolver > linearSolver, const std::string ¶mGroup="") |
| | The Constructor.
|
| void | solve (SolutionVector &uCurrentIter) override |
| | Solve a linear PDE system.
|
| void | report (std::ostream &sout=std::cout) const |
| | output statistics / report
|
| Scalar | suggestTimeStepSize (Scalar oldTimeStep) const |
| | Suggest a new time-step size based on the old time-step size.
|
| void | setVerbose (bool val) |
| | Specifies if the solver ought to be chatty.
|
| bool | verbose () const |
| | Returns true if the solver ought to be chatty.
|
| const std::string & | paramGroup () const |
| | Returns the parameter group.
|
| virtual void | solve (SolutionVector &sol, TimeLoop &timeLoop) |
| | Solve the given PDE system with time step control.
|