#include <GteMassSpringVolume.h>

Public Member Functions | |
| virtual Vector< N, Real > | ExternalAcceleration (int i, Real time, std::vector< Vector< N, Real >> const &position, std::vector< Vector< N, Real >> const &velocity) |
| Real const & | GetConstantC (int s, int r, int c) const |
| Real const & | GetConstantR (int s, int r, int c) const |
| Real const & | GetConstantS (int s, int r, int c) const |
| Real const & | GetLengthC (int s, int r, int c) const |
| Real const & | GetLengthR (int s, int r, int c) const |
| Real const & | GetLengthS (int s, int r, int c) const |
| Real const & | GetMass (int s, int r, int c) const |
| int | GetNumCols () const |
| int | GetNumRows () const |
| int | GetNumSlices () const |
| Vector< N, Real > const & | GetPosition (int s, int r, int c) const |
| Vector< N, Real > const & | GetVelocity (int s, int r, int c) const |
| MassSpringVolume (int numSlices, int numRows, int numCols, Real step) | |
| void | SetConstantC (int s, int r, int c, Real constant) |
| void | SetConstantR (int s, int r, int c, Real constant) |
| void | SetConstantS (int s, int r, int c, Real constant) |
| void | SetLengthC (int s, int r, int c, Real length) |
| void | SetLengthR (int s, int r, int c, Real length) |
| void | SetLengthS (int s, int r, int c, Real length) |
| void | SetMass (int s, int r, int c, Real mass) |
| void | SetPosition (int s, int r, int c, Vector< N, Real > const &position) |
| void | SetVelocity (int s, int r, int c, Vector< N, Real > const &velocity) |
| virtual | ~MassSpringVolume () |
Public Member Functions inherited from gte::ParticleSystem< N, Real > | |
| 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) |
| void | GetCoordinates (int i, int &s, int &r, int &c) const |
| int | GetIndex (int s, int r, int c) const |
Protected Attributes | |
| std::vector< Real > | mConstantC |
| std::vector< Real > | mConstantR |
| std::vector< Real > | mConstantS |
| std::vector< Real > | mLengthC |
| std::vector< Real > | mLengthR |
| std::vector< Real > | mLengthS |
| int | mNumCols |
| int | mNumRows |
| int | mNumSlices |
Protected Attributes inherited from gte::ParticleSystem< N, Real > | |
| 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 16 of file GteMassSpringVolume.h.
|
virtual |
Definition at line 100 of file GteMassSpringVolume.h.
| gte::MassSpringVolume< N, Real >::MassSpringVolume | ( | int | numSlices, |
| int | numRows, | ||
| int | numCols, | ||
| Real | step | ||
| ) |
Definition at line 105 of file GteMassSpringVolume.h.
|
protectedvirtual |
Implements gte::ParticleSystem< N, Real >.
Definition at line 268 of file GteMassSpringVolume.h.
|
virtual |
Definition at line 261 of file GteMassSpringVolume.h.
|
inline |
Definition at line 249 of file GteMassSpringVolume.h.
|
inline |
Definition at line 237 of file GteMassSpringVolume.h.
|
inline |
Definition at line 225 of file GteMassSpringVolume.h.
|
protected |
Definition at line 351 of file GteMassSpringVolume.h.
|
inlineprotected |
Definition at line 345 of file GteMassSpringVolume.h.
|
inline |
Definition at line 255 of file GteMassSpringVolume.h.
|
inline |
Definition at line 243 of file GteMassSpringVolume.h.
|
inline |
Definition at line 231 of file GteMassSpringVolume.h.
|
inline |
Definition at line 166 of file GteMassSpringVolume.h.
|
inline |
Definition at line 140 of file GteMassSpringVolume.h.
|
inline |
Definition at line 134 of file GteMassSpringVolume.h.
|
inline |
Definition at line 128 of file GteMassSpringVolume.h.
|
inline |
Definition at line 172 of file GteMassSpringVolume.h.
|
inline |
Definition at line 179 of file GteMassSpringVolume.h.
|
inline |
Definition at line 212 of file GteMassSpringVolume.h.
|
inline |
Definition at line 199 of file GteMassSpringVolume.h.
|
inline |
Definition at line 186 of file GteMassSpringVolume.h.
|
inline |
Definition at line 219 of file GteMassSpringVolume.h.
|
inline |
Definition at line 206 of file GteMassSpringVolume.h.
|
inline |
Definition at line 193 of file GteMassSpringVolume.h.
|
inline |
Definition at line 146 of file GteMassSpringVolume.h.
|
inline |
Definition at line 152 of file GteMassSpringVolume.h.
|
inline |
Definition at line 159 of file GteMassSpringVolume.h.
|
protected |
Definition at line 95 of file GteMassSpringVolume.h.
|
protected |
Definition at line 94 of file GteMassSpringVolume.h.
|
protected |
Definition at line 93 of file GteMassSpringVolume.h.
|
protected |
Definition at line 95 of file GteMassSpringVolume.h.
|
protected |
Definition at line 94 of file GteMassSpringVolume.h.
|
protected |
Definition at line 93 of file GteMassSpringVolume.h.
|
protected |
Definition at line 92 of file GteMassSpringVolume.h.
|
protected |
Definition at line 92 of file GteMassSpringVolume.h.
|
protected |
Definition at line 92 of file GteMassSpringVolume.h.