16 template<
typename TDataType>
21 typedef typename TDataType::Real
Real;
22 typedef typename TDataType::Coord
Coord;
#define DECLARE_TCLASS(name, T1)
particle attribute 0x00000000: [31-30]material; [29]motion; [28]Dynamic; [27-8]undefined yet,...
virtual ~PositionBasedFluidModel()
DEF_ARRAY_IN(Coord, Position, DeviceType::GPU, "")
DEF_ARRAY_IN(Attribute, Attribute, DeviceType::GPU, "")
DEF_VAR_IN(Real, TimeStep, "Time step size!")
PositionBasedFluidModel()
DEF_ARRAY_IN(Coord, Velocity, DeviceType::GPU, "")
DEF_VAR(Real, SamplingDistance, 0.005, "Sampling distance")
DEF_VAR(Real, SmoothingLength, 0.006, "Smoothing length")
This is an implementation of AdditiveCCD based on peridyno.