deal.II version GIT relicensing-1936-ge55124254b 2024-10-04 21:10:00+00:00
|
Namespaces | |
namespace | internal |
namespace | Utilities |
Classes | |
class | ARKode |
class | IDA |
class | KINSOL |
struct | SundialsOperator |
struct | SundialsPreconditioner |
Typedefs | |
using | booltype = sunbooleantype |
using | realtype = ::sunrealtype |
template<typename VectorType > | |
using | LinearSolveFunction = std::function< void(SundialsOperator< VectorType > &op, SundialsPreconditioner< VectorType > &prec, VectorType &x, const VectorType &b, double tol)> |
Functions | |
static ::ExceptionBase & | ExcARKodeError (int arg1) |
static ::ExceptionBase & | ExcSundialsSolverError (int arg1) |
A namespace for dealing with ODE solvers through the SUNDIALS package.
using SUNDIALS::booltype = typedef sunbooleantype |
Alias for the bool and real types used by SUNDIALS.
Definition at line 31 of file sundials_types.h.
using SUNDIALS::realtype = typedef ::sunrealtype |
Definition at line 32 of file sundials_types.h.
using SUNDIALS::LinearSolveFunction = typedef std::function<void(SundialsOperator<VectorType> &op, SundialsPreconditioner<VectorType> &prec, VectorType &x, const VectorType &b, double tol)> |
Type of function objects to interface with SUNDIALS' linear solvers
This function type encapsulates the action of solving \(P^{-1}Ax=P^{-1}b\). The LinearOperator op
encapsulates the matrix vector product \(Ax\) and the LinearOperator prec
encapsulates the application of the preconditioner \(P^{-1}z\). The user can specify function objects of this type to attach custom linear solver routines to SUNDIALS. The two LinearOperators op
and prec
are built internally by SUNDIALS based on user settings. The parameters are interpreted as follows:
[in] | op | A LinearOperator that applies the matrix vector product |
[in] | prec | A LinearOperator that applies the preconditioner |
[out] | x | The output solution vector |
[in] | b | The right-hand side |
[in] | tol | Tolerance for the iterative solver |
Definition at line 214 of file sunlinsol_wrapper.h.