PeriDyno 1.0.0
Loading...
Searching...
No Matches
CalculateBoundingBox.h
Go to the documentation of this file.
1#pragma once
2#include "CollisionData.h"
3
5
6#include "Topology/DiscreteElements.h"
7
8namespace dyno {
14 template<typename TDataType>
16 {
18
19 public:
20 typedef typename TDataType::Real Real;
21 typedef typename TDataType::Coord Coord;
22 typedef typename ::dyno::TAlignedBox3D<Real> AABB;
23
26
27 void compute() override;
28
29 public:
31
32 DEF_ARRAY_OUT(AABB, AABB, DeviceType::GPU, "");
33 };
34}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
DEF_ARRAY_OUT(AABB, AABB, DeviceType::GPU, "")
::dyno::TAlignedBox3D< Real > AABB
DEF_INSTANCE_IN(DiscreteElements< TDataType >, DiscreteElements, "")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25