17#include "ParticleSystem/ParticleSystem.h"
27 template<
typename TDataType>
31 typedef typename TDataType::Real
Real;
32 typedef typename TDataType::Coord
Coord;
33 typedef typename ::dyno::TBond<TDataType>
Bond;
::dyno::TBond< TDataType > Bond
DEF_VAR(Real, Horizon, 0.01, "Horizon")
void resetStates() override
DEF_ARRAYLIST_STATE(Bond, Bonds, DeviceType::GPU, "Storing neighbors")
void loadSolidParticles()
DEF_VAR_STATE(Real, Horizon, Real(1), "A state field representing horizon")
DEF_ARRAY_STATE(Coord, ReferencePosition, DeviceType::GPU, "Reference position")
std::string getNodeType() override
DEF_NODE_PORTS(ParticleSystem< TDataType >, SolidParticle, "Initial solid particles")
This is an implementation of AdditiveCCD based on peridyno.