47 Particle3D(std::vector<T> pos, T mas = 1., T rad = 1.,
int id = 0, T masAdd = 0.);
49 Particle3D(std::vector<T> pos, std::vector<T> vel, T mas = 1., T rad = 1.,
int id = 0, T masAdd = 0.);
51 inline void setPos(std::vector<T> pos);
54 inline std::vector<T>&
getPos();
55 inline const std::vector<T>&
getPos()
const;
56 inline void setVel(std::vector<T> vel);
60 inline void setID(
int id);
61 inline std::vector<T>&
getVel();
62 inline const std::vector<T>&
getVel()
const;
63 inline void addForce(std::vector<T>& frc);
64 inline void setForce(std::vector<T>& frc);
67 inline const std::vector<T>&
getForce()
const;
99 inline const T&
getMass()
const;
105 inline const T&
getRad()
const;
std::vector< T > & getVel()
const T & getInvEffectiveMass()
void setStoreForce(std::vector< T > &storeForce)
std::vector< T > & getForce()
std::vector< T > _storePos
void addForce(std::vector< T > &frc)
std::vector< T > & getPos()
std::vector< T > & getStoredPos()
std::vector< T > _storeForce
static const int serialPartSize
std::vector< T > & getStoreForce()
void setStoredVel(std::vector< T > vel)
void setVel(std::vector< T > vel)
std::vector< T > _storeVel
void printDeep(std::string message)
void serialize(T serial[])
void setPos(std::vector< T > pos)
std::vector< T > & getStoredVel()
std::vector< std::pair< size_t, T > > _verletList
void setStoredPos(std::vector< T > pos)
void setForce(std::vector< T > &frc)
const T & getEffectiveMass()
void simulateWithTwoWayCoupling_Mathias(T dT, ForwardCouplingModel< T, PARTICLETYPE > &forwardCoupling, BackCouplingModel< T, PARTICLETYPE > &backCoupling, int material, int subSteps=1, bool scale=false)
SimulateParticles(ParticleSystem3D< T, PARTICLETYPE > *ps)
void simulateWithTwoWayCoupling_Davide(T dT, ForwardCouplingModel< T, PARTICLETYPE > &forwardCoupling, BackCouplingModel< T, PARTICLETYPE > &backCoupling, int material, int subSteps=1, bool scale=false)
void simulate(T dT, bool scale=false)