numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class to wrap implicit problems to use as explicit problems. More...
#include <num_collect/ode/implicit_problem_wrapper.h>
Public Types | |
using | scalar_type = typename Problem::scalar_type |
Type of scalars. | |
using | variable_type = typename Problem::variable_type |
Type of variables. | |
Public Member Functions | |
multi_variate_implicit_problem_wrapper (Problem problem) | |
Constructor. | |
auto | diff_coeff () const noexcept -> const variable_type & |
Get the differential coefficient. | |
void | evaluate_on (const scalar_type &time, const variable_type &variable, evaluation_type) |
Evaluate on a (time, variable) pair. | |
Static Public Attributes | |
static constexpr auto | allowed_evaluations |
Allowed evaluations. | |
Private Attributes | |
variable_type | diff_coeff_ {} |
Differential coefficient. | |
Problem | problem_ |
Problem. | |
LinearEquationSolver | solver_ {} |
Solver of linear equations. | |
Class to wrap implicit problems to use as explicit problems.
Problem | Type of the problem. |
LinearEquationSolver | Type of the solver of linear equations. |
Definition at line 104 of file implicit_problem_wrapper.h.
using num_collect::ode::multi_variate_implicit_problem_wrapper< Problem, LinearEquationSolver >::scalar_type = typename Problem::scalar_type |
Type of scalars.
Definition at line 110 of file implicit_problem_wrapper.h.
using num_collect::ode::multi_variate_implicit_problem_wrapper< Problem, LinearEquationSolver >::variable_type = typename Problem::variable_type |
Type of variables.
Definition at line 107 of file implicit_problem_wrapper.h.
|
inlineexplicit |
Constructor.
[in] | problem | Problem. |
Definition at line 121 of file implicit_problem_wrapper.h.
|
inlinenodiscardnoexcept |
Get the differential coefficient.
Definition at line 143 of file implicit_problem_wrapper.h.
|
inline |
Evaluate on a (time, variable) pair.
[in] | time | Time. |
[in] | variable | Variable. |
Definition at line 130 of file implicit_problem_wrapper.h.
|
staticconstexpr |
Allowed evaluations.
Definition at line 113 of file implicit_problem_wrapper.h.
|
private |
Differential coefficient.
Definition at line 152 of file implicit_problem_wrapper.h.
|
private |
Problem.
Definition at line 149 of file implicit_problem_wrapper.h.
|
private |
Solver of linear equations.
Definition at line 155 of file implicit_problem_wrapper.h.