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