7#include "Topology/DiscreteElements.h"
16 template<
typename TDataType>
22 typedef typename TDataType::Real
Real;
23 typedef typename TDataType::Coord
Coord;
24 typedef typename ::dyno::TAlignedBox3D<Real>
AABB;
25 typedef typename ::dyno::TOrientedBox3D<Real>
Box3D;
38 DEF_VAR(
Real, GridSizeLimit,
Real(0.01),
"Indicate the size of the smallest element");
#define DECLARE_TCLASS(name, T1)
particle attribute 0x00000000: [31-30]material; [29]motion; [28]Dynamic; [27-8]undefined yet,...
DEF_VAR(Real, DHead, 0.0f, "D head")
DArray< AABB > mQueriedAABB
DEF_ARRAY_OUT(TContactPair< Real >, Contacts, DeviceType::GPU, "")
DArray< AABB > mQueryAABB
DEF_INSTANCE_IN(DiscreteElements< TDataType >, DiscreteElements, "")
~NeighborElementQuery() override
DEF_ARRAY_IN(CollisionMask, CollisionMask, DeviceType::GPU, "")
std::shared_ptr< CollisionDetectionBroadPhase< TDataType > > mBroadPhaseCD
std::shared_ptr< DiscreteElements< TDataType > > mDiscreteElements
DEF_ARRAY_IN(Attribute, Attribute, DeviceType::GPU, "")
DEF_VAR(bool, SelfCollision, true, "")
::dyno::TAlignedBox3D< Real > AABB
::dyno::TOrientedBox3D< Real > Box3D
DEF_VAR(Real, GridSizeLimit, Real(0.01), "Indicate the size of the smallest element")
A positive value indicating the size of the smallest element, its value will also influence the level...
This is an implementation of AdditiveCCD based on peridyno.
Array< T, DeviceType::GPU > DArray