25 template<
typename TDataType>
30 typedef typename TDataType::Coord
Coord;
31 typedef typename TDataType::Matrix
Matrix;
#define DECLARE_TCLASS(name, T1)
#define IMPLEMENT_TCLASS(name, T1)
DEF_VAR(Real, RotationalDamping, Real(0.9), "Rotational damping")
Reduction< Coord > mReduce
void updateStates() override
DEF_VAR(Real, Damping, Real(0.98), "Translational damping")
DEF_NODE_PORT(Ocean< TDataType >, Ocean, "Ocean")
DEF_NODE_PORTS(Vessel< TDataType >, Vessel, "Vessel")
void resetStates() override
This is an implementation of AdditiveCCD based on peridyno.