LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::OdeSolution< T > Struct Template Reference

Result of an integration. More...

#include <line/util/ode.h>

Collaboration diagram for line::OdeSolution< T >:

Public Member Functions

const std::vector< T > & final_state () const
const T & final_time () const

Public Attributes

std::vector< T > t
 accepted time points, t[0] = t0
std::vector< std::vector< T > > y
 y[i] is the state at t[i]
std::size_t steps = 0
 accepted steps
std::size_t rejected = 0
 rejected steps
std::size_t jacobians = 0
 Jacobian evaluations.
std::size_t f_evals = 0
 right-hand side evaluations

Detailed Description

template<class T>
struct line::OdeSolution< T >

Result of an integration.

Definition at line 143 of file ode.h.

Member Function Documentation

◆ final_state()

template<class T>
const std::vector< T > & line::OdeSolution< T >::final_state ( ) const
inline

Definition at line 151 of file ode.h.

References line::NumericError::NumericError(), and y.

Referenced by line::fluid::fluid_integrate_leg().

◆ final_time()

template<class T>
const T & line::OdeSolution< T >::final_time ( ) const
inline

Definition at line 155 of file ode.h.

References line::NumericError::NumericError(), and t.

Member Data Documentation

◆ f_evals

template<class T>
std::size_t line::OdeSolution< T >::f_evals = 0

right-hand side evaluations

Definition at line 149 of file ode.h.

Referenced by line::ode_rosenbrock4().

◆ jacobians

template<class T>
std::size_t line::OdeSolution< T >::jacobians = 0

Jacobian evaluations.

Definition at line 148 of file ode.h.

Referenced by line::ode_rosenbrock4().

◆ rejected

template<class T>
std::size_t line::OdeSolution< T >::rejected = 0

rejected steps

Definition at line 147 of file ode.h.

Referenced by line::ode_rosenbrock4().

◆ steps

template<class T>
std::size_t line::OdeSolution< T >::steps = 0

accepted steps

Definition at line 146 of file ode.h.

Referenced by line::ode_rosenbrock4().

◆ t

template<class T>
std::vector<T> line::OdeSolution< T >::t

accepted time points, t[0] = t0

Definition at line 144 of file ode.h.

Referenced by line::cache::cache_miss_rmf_transient(), final_time(), line::ode_rosenbrock4(), and line::fluid::petri::solver_fluid_petri().

◆ y

template<class T>
std::vector<std::vector<T> > line::OdeSolution< T >::y

The documentation for this struct was generated from the following file:
  • include/line/util/ode.h