PeriDyno 1.0.0
Loading...
Searching...
No Matches
RigidSandCoupling.h
Go to the documentation of this file.
1
16#pragma once
17
19
21
22namespace dyno
23{
27
28 template<typename TDataType>
29 class RigidSandCoupling : public Node
30 {
32 public:
33 typedef typename TDataType::Coord Coord;
34 typedef typename TDataType::Matrix Matrix;
35
38
39 public:
42
43 protected:
44 void resetStates() override;
45 void updateStates() override;
46 };
47
49}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
#define IMPLEMENT_TCLASS(name, T1)
Definition Object.h:103
This class implements the shallow sand equation to simulate dry granular flows. For more details,...
Implementation of a rigid body system containing a variety of rigid bodies with different shapes.
This class implements a coupling between a granular media and a rigid body system.
void resetStates() override
void updateStates() override
~RigidSandCoupling() override
DEF_NODE_PORT(RigidBodySystem< TDataType >, RigidBodySystem, "Rigid body system")
DEF_NODE_PORT(GranularMedia< TDataType >, GranularMedia, "Granular media")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25