24 template<
typename TDataType>
29 typedef typename TDataType::Real
Real;
30 typedef typename TDataType::Coord
Coord;
#define DECLARE_TCLASS(name, T1)
#define IMPLEMENT_TCLASS(name, T1)
This class implements an implicit solver for artificial viscosity based on the XSPH method.
DEF_VAR(int, InterationNumber, 3, "")
DEF_VAR(Real, Viscosity, 0.05, "")
DEF_ARRAY_IN(Coord, Position, DeviceType::GPU, "")
DEF_VAR_IN(Real, TimeStep, "")
DEF_ARRAYLIST_IN(int, NeighborIds, DeviceType::GPU, "")
~ImplicitViscosity() override
DEF_ARRAY_IN(Coord, Velocity, DeviceType::GPU, "")
This is an implementation of AdditiveCCD based on peridyno.
Array< T, DeviceType::GPU > DArray