PeriDyno 1.0.0
Loading...
Searching...
No Matches
SemiAnalyticalSFINode.h
Go to the documentation of this file.
1#pragma once
2#include "ParticleSystem/ParticleFluid.h"
3
4#include "Topology/TriangleSet.h"
5
6
7namespace dyno
8{
9 template <typename T> class ParticleSystem;
17
18 template<typename TDataType>
19 class SemiAnalyticalSFINode : public ParticleFluid<TDataType>
20 {
22 public:
23 typedef typename TDataType::Real Real;
24 typedef typename TDataType::Coord Coord;
26
28 ~SemiAnalyticalSFINode() override;
29
30 public:
31 DEF_INSTANCE_IN(TriangleSet<TDataType>, TriangleSet, "Boundary triangular surface");
32
33 public:
34 DEF_VAR(Bool, Fast, false, "");
35 DEF_VAR(Bool, SyncBoundary, false, "");
36
37 protected:
38 void resetStates() override;
39
40 void preUpdateStates() override;
41 void postUpdateStates() override;
42
43 bool validateInputs() override;
44 };
45}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
This class represents the base class for more advanced particle-based nodes.
DEF_INSTANCE_IN(TriangleSet< TDataType >, TriangleSet, "Boundary triangular surface")
DEF_VAR(Bool, SyncBoundary, false, "")
TopologyModule::Triangle Triangle
DEF_VAR(Bool, Fast, false, "")
Vector< PointType, 3 > Triangle
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25