6#include "Topology/DiscreteElements.h" 
    9    template<
typename TDataType>
 
   15        typedef typename TDataType::Real 
Real;
 
   16        typedef typename TDataType::Coord 
Coord;
 
   17        typedef typename ::dyno::TAlignedBox3D<Real> 
AABB;
 
 
#define DECLARE_TCLASS(name, T1)
 
#define IMPLEMENT_TCLASS(name, T1)
 
DEF_ARRAY_OUT(TContactPair< Real >, Contacts, DeviceType::GPU, "")
 
CollistionDetectionBoundingBox()
 
DEF_VAR(Coord, UpperBound, Coord(1000), "An upper bound for the bounding box")
 
DArray< int > mBoundaryContactCounter
 
~CollistionDetectionBoundingBox() override
 
DEF_VAR(Coord, LowerBound, Coord(-100, 0, -100), "A lower bound for the bounding box")
 
::dyno::TAlignedBox3D< Real > AABB
 
DEF_INSTANCE_IN(DiscreteElements< TDataType >, DiscreteElements, "")
 
This is an implementation of AdditiveCCD based on peridyno.
 
Array< T, DeviceType::GPU > DArray