PeriDyno 1.0.0
Loading...
Searching...
No Matches
MakeParticleSystem.h
Go to the documentation of this file.
1#pragma once
2#include "ParticleSystem.h"
3
4namespace dyno
5{
10 template<typename TDataType>
11 class MakeParticleSystem : public ParticleSystem<TDataType>
12 {
14 public:
15 typedef typename TDataType::Real Real;
16 typedef typename TDataType::Coord Coord;
17
19 virtual ~MakeParticleSystem();
20
21 DEF_VAR(Coord, InitialVelocity, Coord(0.0f), "Initial Particle Velocity");
22
24 protected:
25 void resetStates() override;
26 };
27
29}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
#define IMPLEMENT_TCLASS(name, T1)
Definition Object.h:103
DEF_VAR(Coord, InitialVelocity, Coord(0.0f), "Initial Particle Velocity")
DEF_INSTANCE_IN(PointSet< TDataType >, Points, "")
A PointSet stores the coordinates for a set of independent points.
Definition PointSet.h:8
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25