numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::ode::concepts::problem Concept Reference

Concept of problems of ordinary differential equations. More...

#include <num_collect/ode/concepts/problem.h>

Concept definition

template<typename T>
concept num_collect::ode::concepts::problem = requires(T& obj, const T& const_obj) {
typename T::variable_type;
typename T::scalar_type;
requires requires(typename T::variable_type& var,
const typename T::scalar_type& coeff) { var = var + coeff * var; };
{ T::allowed_evaluations } -> base::concepts::decayed_to<evaluation_type>;
requires T::allowed_evaluations.allows(evaluation_type{.diff_coeff = true});
requires requires(const typename T::scalar_type& time,
const typename T::variable_type& var, evaluation_type evaluations) {
obj.evaluate_on(time, var, evaluations);
};
{
const_obj.diff_coeff()
} -> base::concepts::const_reference_of<typename T::variable_type>;
}
Concept of problems of ordinary differential equations.
Definition problem.h:35
Struct to specify types of evaluations.

Detailed Description

Concept of problems of ordinary differential equations.

Template Parameters
TType.

Definition at line 35 of file problem.h.