ModelSpace
All Classes Namespaces Functions Variables Enumerations Pages
clockwerk::ForwardEulerIntegrator< T, N > Class Template Reference
Inheritance diagram for clockwerk::ForwardEulerIntegrator< T, N >:
Collaboration diagram for clockwerk::ForwardEulerIntegrator< T, N >:

Public Member Functions

 ForwardEulerIntegrator (Rates< T, N > &rate_calculator)
 
void step (T start_time, T end_time, const std::array< T, N > &start_state, std::array< T, N > &out_state)
 Function to step the integrator forward from time start to time end.
 

Protected Attributes

_step_size
 Step size for integrator.
 
std::array< T, N > _rates
 
Rates< T, N > & _rate_calculator
 Reference to dynamics object that calculates rates.
 

Member Function Documentation

◆ step()

template<typename T , unsigned int N>
void clockwerk::ForwardEulerIntegrator< T, N >::step ( start_time,
end_time,
const std::array< T, N > &  start_state,
std::array< T, N > &  out_state 
)
virtual

Function to step the integrator forward from time start to time end.

Parameters
start_timeStart time for integration
end_timeEnd time for integration
start_stateState at start of integration
out_stateOutput state via implicit – result of integration

Reimplemented from clockwerk::Integrator< T, N >.


The documentation for this class was generated from the following file: