26 template<
typename TDataType>
class Reduction;
36 template<
typename TDataType>
41 typedef typename TDataType::Real
Real;
42 typedef typename TDataType::Coord
Coord;
#define DECLARE_TCLASS(name, T1)
#define IMPLEMENT_TCLASS(name, T1)
particle attribute 0x00000000: [31-30]material; [29]motion; [28]Dynamic; [27-8]undefined yet,...
The standard summation density.
DEF_ARRAY_IN(Attribute, Attribute, DeviceType::GPU, "")
Arithmetic< Real > * m_arithmetic
~VariationalApproximateProjection() override
DEF_ARRAY_IN(Coord, Velocity, DeviceType::GPU, "")
VariationalApproximateProjection()
Reduction< Real > * m_reduce
DEF_ARRAYLIST_IN(int, NeighborIds, DeviceType::GPU, "")
std::shared_ptr< SummationDensity< TDataType > > mDensityCalculator
DArray< bool > mIsSurface
DEF_ARRAY_IN(Coord, Position, DeviceType::GPU, "")
DEF_ARRAY_IN(Coord, Normal, DeviceType::GPU, "")
DArray< Real > mDivergence
DEF_VAR(Real, RestDensity, Real(1000), "")
DEF_VAR_IN(Real, TimeStep, "Time step size")
This is an implementation of AdditiveCCD based on peridyno.
Array< T, DeviceType::GPU > DArray