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