#include <GteParticleSystem.h>

Classes | |
| struct | Temporary |
Public Member Functions | |
| Real const & | GetMass (int i) const |
| int | GetNumParticles () const |
| Vector< N, Real > const & | GetPosition (int i) const |
| Real | GetStep () const |
| Vector< N, Real > const & | GetVelocity (int i) const |
| ParticleSystem (int numParticles, Real step) | |
| void | SetMass (int i, Real mass) |
| void | SetPosition (int i, Vector< N, Real > const &position) |
| void | SetStep (Real step) |
| void | SetVelocity (int i, Vector< N, Real > const &velocity) |
| virtual void | Update (Real time) |
| virtual | ~ParticleSystem () |
Protected Member Functions | |
| virtual Vector< N, Real > | Acceleration (int i, Real time, std::vector< Vector< N, Real >> const &position, std::vector< Vector< N, Real >> const &velocity)=0 |
Protected Attributes | |
| Real | mHalfStep |
| std::vector< Real > | mInvMass |
| std::vector< Real > | mMass |
| int | mNumParticles |
| std::vector< Temporary > | mPAllTmp |
| std::vector< Vector< N, Real > > | mPosition |
| std::vector< Vector< N, Real > > | mPTmp |
| Real | mSixthStep |
| Real | mStep |
| std::vector< Temporary > | mVAllTmp |
| std::vector< Vector< N, Real > > | mVelocity |
| std::vector< Vector< N, Real > > | mVTmp |
Definition at line 18 of file GteParticleSystem.h.
|
virtual |
Definition at line 68 of file GteParticleSystem.h.
|
inline |
Definition at line 73 of file GteParticleSystem.h.
|
protectedpure virtual |
|
inline |
Definition at line 138 of file GteParticleSystem.h.
|
inline |
Definition at line 95 of file GteParticleSystem.h.
|
inline |
Definition at line 144 of file GteParticleSystem.h.
|
inline |
Definition at line 156 of file GteParticleSystem.h.
|
inline |
Definition at line 150 of file GteParticleSystem.h.
| void gte::ParticleSystem< N, Real >::SetMass | ( | int | i, |
| Real | mass | ||
| ) |
Definition at line 101 of file GteParticleSystem.h.
|
inline |
Definition at line 116 of file GteParticleSystem.h.
| void gte::ParticleSystem< N, Real >::SetStep | ( | Real | step | ) |
Definition at line 130 of file GteParticleSystem.h.
|
inline |
Definition at line 123 of file GteParticleSystem.h.
|
virtual |
Definition at line 162 of file GteParticleSystem.h.
|
protected |
Definition at line 55 of file GteParticleSystem.h.
|
protected |
Definition at line 53 of file GteParticleSystem.h.
|
protected |
Definition at line 53 of file GteParticleSystem.h.
|
protected |
Definition at line 52 of file GteParticleSystem.h.
|
protected |
Definition at line 63 of file GteParticleSystem.h.
|
protected |
Definition at line 54 of file GteParticleSystem.h.
|
protected |
Definition at line 62 of file GteParticleSystem.h.
|
protected |
Definition at line 55 of file GteParticleSystem.h.
|
protected |
Definition at line 55 of file GteParticleSystem.h.
|
protected |
Definition at line 63 of file GteParticleSystem.h.
|
protected |
Definition at line 54 of file GteParticleSystem.h.
|
protected |
Definition at line 62 of file GteParticleSystem.h.