numerics 0.1.0
Loading...
Searching...
No Matches
num::IsODEProblem Concept Reference

Any type carrying an ODE right-hand side f(t,y,dy) and t0/tf/u0 data. More...

#include <problems.hpp>

Concept definition

template<typename P>
concept num::IsODEProblem = requires(const P& p, double t, const Vector& y, Vector& dy) {
p.f(t, y, dy);
{ p.u0 } -> std::convertible_to<const Vector&>;
{ p.t0 } -> std::convertible_to<double>;
{ p.tf } -> std::convertible_to<double>;
}
Any type carrying an ODE right-hand side f(t,y,dy) and t0/tf/u0 data.
Definition problems.hpp:20
BasicVector< real > Vector
Real-valued dense vector with full backend dispatch (CPU + GPU)
Definition vector.hpp:129

Detailed Description

Any type carrying an ODE right-hand side f(t,y,dy) and t0/tf/u0 data.

Definition at line 20 of file problems.hpp.