template <class T>
class vtb::core::Euler_solver

Euler initial value problem solver.

  • Solver a system of ordinary differential equations.
  • The method is first order.

Types
  • using value_type = T
Methods
  • verbose() const -> bool
  • verbose(bool rhs) -> void
  • step() const -> T
  • min_step() const -> T
  • min_step(T rhs) -> void
  • step(T rhs) -> void
  • template <class Function, int N>
    operator()(Function f, T t0, T t1, const blitz::TinyVector< T, N > & x0) -> blitz::TinyVector< T, N >

    Solve system of ordinary differential equations with right hand sides f.

    f
    right hand sides of the equations

    t0
    initial time instant

    t1
    final time instant

    x0
    initial value at

    • The system of equations is written as
    • The solution is computed for interval .

    Date
    2020-04-14
    Return
    at
  • template <class Function, int N>
    solve(Function f, T t0, T t1, const blitz::TinyVector< T, N > & x0) -> blitz::TinyVector< T, N >

    Solve system of ordinary differential equations with right hand sides f.

    f
    right hand sides of the equations

    t0
    initial time instant

    t1
    final time instant

    x0
    initial value at

    • The system of equations is written as
    • The solution is computed for interval .

    Date
    2020-04-14
    Return
    at
  • ~Euler_solver()
  • operator=(Euler_solver &&) -> Euler_solver &
  • Euler_solver(Euler_solver &&)
  • operator=(const Euler_solver &) -> Euler_solver &
  • Euler_solver(const Euler_solver &)
  • Euler_solver()