23#include "Topology/TriangleSet.h"
32 template<
typename TDataType>
37 typedef typename TDataType::Real
Real;
38 typedef typename TDataType::Coord
Coord;
#define DECLARE_TCLASS(name, T1)
SemiAnalyticalParticleShifting()
DArray< Coord > mDeltaPos
DEF_VAR(Real, Inertia, Real(0.1), "inertia")
DEF_VAR(Real, Bulk, Real(0.5), "bulk")
DEF_ARRAY_IN(Coord, Position, DeviceType::GPU, "Particle position")
DArray< Real > mBoundaryDis
DEF_ARRAYLIST_IN(int, NeighborIds, DeviceType::GPU, "")
DEF_VAR(Real, RestDensity, Real(1000.0), "Rest Density")
DEF_VAR_IN(Real, TimeStep, "Time step size")
DEF_ARRAYLIST_IN(int, NeighborTriIds, DeviceType::GPU, "triangle neighbors")
std::shared_ptr< SemiAnalyticalSummationDensity< TDataType > > mCalculateDensity
~SemiAnalyticalParticleShifting() override
DArray< Coord > mAdhesionEP
DEF_VAR(Real, SurfaceTension, Real(0.03), "surface tension")
DEF_ARRAY_IN(Coord, Velocity, DeviceType::GPU, "Particle velocity")
TopologyModule::Triangle Triangle
DEF_INSTANCE_IN(TriangleSet< TDataType >, TriangleSet, "")
DEF_VAR(Real, AdhesionIntensity, Real(30.0), "adhesion")
DArray< Coord > mBoundaryDir
DEF_VAR(uint, InterationNumber, 10, "")
Vector< PointType, 3 > Triangle
This is an implementation of AdditiveCCD based on peridyno.
Array< T, DeviceType::GPU > DArray