template<typename GO, typename LS, typename V>
class Dune::PDELab::StationaryLinearProblemSolver< GO, LS, V >
Solve linear problems using a residual formulation.
This work for matrix based and matrix free solvers. It uses a residual formulation solving instead of solving . In the matrix based case this means doing the following:
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.
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.