4#include "Topology/TriangleSet.h"
19 template<
typename TDataType>
24 typedef typename TDataType::Real
Real;
25 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(Coord, Velocity, DeviceType::GPU, "")
DEF_ARRAY_IN(Coord, ForceDensity, DeviceType::GPU, "")
DeviceArrayField< int > m_flip
~SemiAnalyticalSurfaceTensionModel() override
DEF_VAR(Real, RestDensity, Real(1000), "Rest Density")
DeviceArrayField< Coord > m_velocity_mod
SemiAnalyticalSurfaceTensionModel()
DEF_VAR_IN(Real, TimeStep, "Time step size!")
DEF_VAR(Real, AdhesionIntensity, Real(30.0), "adhesion")
DEF_INSTANCE_IN(TriangleSet< TDataType >, TriangleSet, "")
DEF_VAR(Real, SmoothingLength, Real(0.006), "smoothing length")
DEF_ARRAY_IN(Coord, Position, DeviceType::GPU, "")
DEF_ARRAY_IN(Attribute, Attribute, DeviceType::GPU, "Particle attribute")
DEF_VAR(Real, SurfaceTension, Real(0.055), "surface tension")
Vector< PointType, 3 > Triangle
This is an implementation of AdditiveCCD based on peridyno.
FArray< T, DeviceType::GPU > DeviceArrayField
TopologyModule::Triangle Triangle
The standard summation density.