Engine
ExplicitEuler Class Reference

Implementation of Explicit Euler method for solving Newton's equations of motion. More...

#include <explicit_euler.h>

Inheritance diagram for ExplicitEuler:
TimeIntegrator

Public Member Functions

 ExplicitEuler ()
 
 ExplicitEuler (GLfloat dt)
 
- Public Member Functions inherited from TimeIntegrator
void StepForward (const NetForceAccumulator &net_force_accumulator, const std::vector< std::shared_ptr< PhysicsEntity >> &entity_ptrs, const std::shared_ptr< PhysicsEntity > entity_ptr)
 
GLfloat GetStepSize ()
 

Additional Inherited Members

- Protected Attributes inherited from TimeIntegrator
GLfloat m_dt
 

Detailed Description

Implementation of Explicit Euler method for solving Newton's equations of motion.

Constructor & Destructor Documentation

ExplicitEuler::ExplicitEuler ( )

Constructs an instance of ExlplictEuler with a default grid size

ExplicitEuler::ExplicitEuler ( GLfloat  dt)

Constructs an instance of ExplicitEuler with the provided grid size

Parameters
dtdifference between two points on the grid

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