numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class of test problem to calculate exponential function using external time-dependent term.. More...
#include <num_prob_collect/ode/external_exponential_problem.h>
Public Types | |
using | jacobian_type = double |
Type of Jacobian. | |
using | scalar_type = double |
Type of scalars. | |
using | variable_type = double |
Type of variables. | |
Public Member Functions | |
auto | diff_coeff () const -> const double & |
Get the differential coefficient. | |
void | evaluate_on (double time, double, num_collect::ode::evaluation_type) |
Evaluate on a (time, variable) pair. | |
auto | jacobian () const noexcept -> const jacobian_type & |
Get the Jacobian. | |
auto | time_derivative () const noexcept -> const variable_type & |
Get the partial derivative with respect to time. | |
Static Public Attributes | |
static constexpr auto | allowed_evaluations |
Allowed evaluations. | |
Private Attributes | |
double | diff_coeff_ {} |
Differential coefficient. | |
double | jacobian_ {1.0} |
Jacobian. | |
double | time_derivative_ {} |
Partial derivative with respect to time. | |
Class of test problem to calculate exponential function using external time-dependent term..
Definition at line 33 of file external_exponential_problem.h.
Type of Jacobian.
Definition at line 42 of file external_exponential_problem.h.
Type of scalars.
Definition at line 39 of file external_exponential_problem.h.
Type of variables.
Definition at line 36 of file external_exponential_problem.h.
|
inlinenodiscard |
Get the differential coefficient.
Definition at line 65 of file external_exponential_problem.h.
|
inline |
Evaluate on a (time, variable) pair.
[in] | time | Time. |
Definition at line 54 of file external_exponential_problem.h.
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
Get the partial derivative with respect to time.
Definition at line 83 of file external_exponential_problem.h.
|
staticconstexpr |
Allowed evaluations.
Definition at line 45 of file external_exponential_problem.h.
|
private |
Differential coefficient.
Definition at line 90 of file external_exponential_problem.h.
|
private |
Jacobian.
Definition at line 93 of file external_exponential_problem.h.
|
private |
Partial derivative with respect to time.
Definition at line 96 of file external_exponential_problem.h.