PeriDyno
1.0.0
Loading...
Searching...
No Matches
D:
Peridyno
peridyno
src
Dynamics
Cuda
ParticleSystem
MakeGhostParticles.h
Go to the documentation of this file.
1
#pragma once
2
#include "
GhostParticles.h
"
3
#include "
Collision/Attribute.h
"
4
5
6
7
namespace
dyno
8
{
9
template
<
typename
TDataType>
10
class
MakeGhostParticles
:
public
GhostParticles
<TDataType>
11
{
12
DECLARE_TCLASS
(
MakeGhostParticles
, TDataType)
13
public
:
14
typedef
typename
TDataType::Real
Real
;
15
typedef
typename
TDataType::Coord
Coord
;
16
17
MakeGhostParticles
();
18
~MakeGhostParticles
()
override
;
19
20
DEF_INSTANCE_IN
(
PointSet<TDataType>
, Points,
""
);
21
22
DEF_VAR
(
bool
, ReverseNormal,
true
,
""
);
23
24
25
protected
:
26
void
resetStates
()
override
;
27
28
29
};
30
31
32
IMPLEMENT_TCLASS
(
MakeGhostParticles
, TDataType)
33
}
Attribute.h
GhostParticles.h
DECLARE_TCLASS
#define DECLARE_TCLASS(name, T1)
Definition
Object.h:87
IMPLEMENT_TCLASS
#define IMPLEMENT_TCLASS(name, T1)
Definition
Object.h:103
dyno::GhostParticles::GhostParticles
GhostParticles()
Definition
GhostParticles.cpp:10
dyno::MakeGhostParticles
Definition
MakeGhostParticles.h:11
dyno::MakeGhostParticles::~MakeGhostParticles
~MakeGhostParticles() override
dyno::MakeGhostParticles::MakeGhostParticles
MakeGhostParticles()
dyno::MakeGhostParticles::resetStates
void resetStates() override
dyno::MakeGhostParticles::DEF_INSTANCE_IN
DEF_INSTANCE_IN(PointSet< TDataType >, Points, "")
dyno::MakeGhostParticles::DEF_VAR
DEF_VAR(bool, ReverseNormal, true, "")
dyno::MakeGhostParticles::Real
TDataType::Real Real
Definition
MakeGhostParticles.h:14
dyno::MakeGhostParticles::Coord
TDataType::Coord Coord
Definition
MakeGhostParticles.h:15
dyno::PointSet
A PointSet stores the coordinates for a set of independent points.
Definition
PointSet.h:8
dyno
This is an implementation of AdditiveCCD based on peridyno.
Definition
Array.h:25
Generated by
1.13.2