#include <dune/pdelab/stationary/linearproblem.hh>
|
| StationaryLinearProblemSolver (const GO &go, V &x, LS &ls, typename V::ElementType reduction, typename V::ElementType min_defect=1e-99, int verbose=1) |
|
| StationaryLinearProblemSolver (const GO &go, LS &ls, V &x, typename V::ElementType reduction, typename V::ElementType min_defect=1e-99, int verbose=1) |
|
| StationaryLinearProblemSolver (const GO &go, LS &ls, typename V::ElementType reduction, typename V::ElementType min_defect=1e-99, int verbose=1) |
|
| StationaryLinearProblemSolver (const GO &go, LS &ls, V &x, const ParameterTree ¶ms) |
| Construct a StationaryLinearProblemSolver for the given objects and read parameters from a ParameterTree. More...
|
|
| StationaryLinearProblemSolver (const GO &go, LS &ls, const ParameterTree ¶ms) |
| Construct a StationaryLinearProblemSolver for the given objects and read parameters from a ParameterTree. More...
|
|
void | setHangingNodeModifications (bool b) |
| Set whether the solver should apply the necessary transformations for calculations on hanging nodes. More...
|
|
bool | hangingNodeModifications () const |
| Return whether the solver performs the necessary transformations for calculations on hanging nodes. More...
|
|
void | setKeepMatrix (bool b) |
| Set whether the jacobian matrix should be kept across calls to apply(). More...
|
|
bool | keepMatrix () const |
| Return whether the jacobian matrix is kept across calls to apply(). More...
|
|
const Result & | result () const |
|
void | apply (V &x) |
|
void | apply () |
|
void | discardMatrix () |
| Discard the stored Jacobian matrix. More...
|
|
const
Dune::PDELab::LinearSolverResult
< double > & | ls_result () const |
|
template<typename GO , typename LS , typename V >
template<typename GO , typename LS , typename V >
- Deprecated:
- "Use StationaryLinearProblemSolver(const GO&, LS&, V&, ...) instead."
template<typename GO , typename LS , typename V >
template<typename GO , typename LS , typename V >
template<typename GO , typename LS , typename V >
Construct a StationaryLinearProblemSolver for the given objects and read parameters from a ParameterTree.
This constructor reads the parameter controlling its operation from a passed-in ParameterTree instead of requiring the user to specify all of them as individual constructor parameters. Currently the following parameters are read:
Name | Default Value | Explanation |
reduction | | Required relative defect reduction |
min_defect | 1e-99 | minimum absolute defect at which to stop |
hanging_node_modifications | false | perform required transformations for hanging nodes |
keep_matrix | true | keep matrix between calls to apply() (but reassemble values every time) |
verbosity | 1 | control amount of debug output |
Apart from reduction, all parameters have a default value and are optional. The actual reduction for a call to apply() is calculated as r = max(reduction,min_defect/start_defect), where start defect is the norm of the residual of x.
template<typename GO , typename LS , typename V >
Construct a StationaryLinearProblemSolver for the given objects and read parameters from a ParameterTree.
This constructor reads the parameter controlling its operation from a passed-in ParameterTree instead of requiring the user to specify all of them as individual constructor parameters. Currently the following parameters are read:
Name | Default Value | Explanation |
reduction | | Required relative defect reduction |
min_defect | 1e-99 | minimum absolute defect at which to stop |
hanging_node_modifications | false | perform required transformations for hanging nodes |
keep_matrix | true | keep matrix between calls to apply() (but reassemble values every time) |
verbosity | 1 | control amount of debug output |
Apart from reduction, all parameters have a default value and are optional. The actual reduction for a call to apply() is calculated as r = max(reduction,min_defect/start_defect), where start defect is the norm of the residual of x.
template<typename GO , typename LS , typename V >
template<typename GO , typename LS , typename V >
References Dune::PDELab::StationaryLinearProblemSolverResult< RFType >::assembler_time, Dune::PDELab::LinearSolverResult< RFType >::conv_rate, Dune::PDELab::LinearSolverResult< RFType >::converged, Dune::PDELab::StationaryLinearProblemSolverResult< RFType >::defect, Dune::PDELab::LinearSolverResult< RFType >::elapsed, Dune::PDELab::StationaryLinearProblemSolverResult< RFType >::first_defect, Dune::PDELab::LinearSolverResult< RFType >::iterations, Dune::PDELab::StationaryLinearProblemSolverResult< RFType >::linear_solver_iterations, Dune::PDELab::StationaryLinearProblemSolverResult< RFType >::linear_solver_time, Dune::PDELab::LinearSolverResult< RFType >::reduction, and Dune::PDELab::set_shifted_dofs().
Referenced by Dune::PDELab::StationaryLinearProblemSolver< GO, LS, V >::apply().
template<typename GO , typename LS , typename V >
Discard the stored Jacobian matrix.
template<typename GO , typename LS , typename V >
Return whether the solver performs the necessary transformations for calculations on hanging nodes.
template<typename GO , typename LS , typename V >
Return whether the jacobian matrix is kept across calls to apply().
template<typename GO , typename LS , typename V >
template<typename GO , typename LS , typename V >
template<typename GO , typename LS , typename V >
Set whether the solver should apply the necessary transformations for calculations on hanging nodes.
template<typename GO , typename LS , typename V >
Set whether the jacobian matrix should be kept across calls to apply().
The documentation for this class was generated from the following file: