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 | |
single_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. | |
Class to wrap implicit problems to use as explicit problems.
Problem | Type of the problem. |
Definition at line 43 of file implicit_problem_wrapper.h.
using num_collect::ode::single_variate_implicit_problem_wrapper< Problem >::scalar_type = typename Problem::scalar_type |
Type of scalars.
Definition at line 49 of file implicit_problem_wrapper.h.
using num_collect::ode::single_variate_implicit_problem_wrapper< Problem >::variable_type = typename Problem::variable_type |
Type of variables.
Definition at line 46 of file implicit_problem_wrapper.h.
|
inlineexplicit |
Constructor.
[in] | problem | Problem. |
Definition at line 60 of file implicit_problem_wrapper.h.
|
inlinenodiscardnoexcept |
Get the differential coefficient.
Definition at line 81 of file implicit_problem_wrapper.h.
|
inline |
Evaluate on a (time, variable) pair.
[in] | time | Time. |
[in] | variable | Variable. |
Definition at line 69 of file implicit_problem_wrapper.h.
|
staticconstexpr |
Allowed evaluations.
Definition at line 52 of file implicit_problem_wrapper.h.
|
private |
Differential coefficient.
Definition at line 90 of file implicit_problem_wrapper.h.
|
private |
Problem.
Definition at line 87 of file implicit_problem_wrapper.h.