numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class of integrand for average vector field (AVF) method [21]. More...
#include <num_collect/ode/avf/impl/avf_integrand.h>
Public Types | |
using | problem_type = Problem |
Type of problem. | |
using | scalar_type = typename problem_type::scalar_type |
Type of scalars. | |
using | variable_type = typename problem_type::variable_type |
Type of variables. | |
Public Member Functions | |
avf_integrand (const problem_type &problem=problem_type()) | |
Constructor. | |
void | next_var (const variable_type &var) |
Set the next variable. | |
auto | operator() (scalar_type rate) const -> variable_type |
Calculate integrand. | |
void | prev_var (const variable_type &var) |
Set the previous variable. | |
auto | problem () -> problem_type & |
Get the problem. | |
auto | problem () const -> const problem_type & |
Get the problem. | |
void | time (scalar_type val) |
Set time. | |
Private Attributes | |
variable_type | next_var_ {} |
Next variable. | |
variable_type | prev_var_ {} |
Previous variable. | |
problem_type | problem_ |
Problem. | |
scalar_type | time_ {} |
Time. | |
Class of integrand for average vector field (AVF) method [21].
Problem | Type of problem. |
Definition at line 35 of file avf_integrand.h.
using num_collect::ode::avf::impl::avf_integrand< Problem >::problem_type = Problem |
Type of problem.
Definition at line 38 of file avf_integrand.h.
using num_collect::ode::avf::impl::avf_integrand< Problem >::scalar_type = typename problem_type::scalar_type |
Type of scalars.
Definition at line 44 of file avf_integrand.h.
using num_collect::ode::avf::impl::avf_integrand< Problem >::variable_type = typename problem_type::variable_type |
Type of variables.
Definition at line 41 of file avf_integrand.h.
|
inlineexplicit |
|
inline |
|
inlinenodiscard |
Calculate integrand.
[in] | rate | Rate of variable. |
Definition at line 63 of file avf_integrand.h.
|
inline |
Set the previous variable.
[in] | var | Variable. |
Definition at line 98 of file avf_integrand.h.
|
inlinenodiscard |
|
inlinenodiscard |
|
inline |
|
private |
Next variable.
Definition at line 118 of file avf_integrand.h.
|
private |
Previous variable.
Definition at line 115 of file avf_integrand.h.
|
mutableprivate |
Problem.
Definition at line 109 of file avf_integrand.h.
|
private |
Time.
Definition at line 112 of file avf_integrand.h.