PeriDyno 1.0.0
Loading...
Searching...
No Matches
TopologyModule.h
Go to the documentation of this file.
1
16#pragma once
17#include "Vector.h"
18#include "Module.h"
19
20namespace dyno
21{
22 typedef int PointType;
23
24class TopologyModule : public OBase
25{
27
28public:
37
40
43
46
48
51
53
54public:
56 ~TopologyModule() override;
57
58 virtual int getDOF() { return 0; }
59
60 inline void tagAsChanged() { m_topologyChanged = true; }
61 inline void tagAsUnchanged() { m_topologyChanged = false; }
62 inline bool isTopologyChanged() { return m_topologyChanged; }
63
64 //std::string getModuleType() override { return "TopologyModule"; }
65
66 void update();
67
68protected:
69
70 virtual void updateTopology() {};
71
72private:
74};
75}
#define DECLARE_CLASS(name)
Definition Object.h:65
VectorND< PointType, 2 > Edge
VectorND< PointType, 2 > Tri2Quad
VectorND< PointType, 2 > Edg2Hex
VectorND< PointType, 4 > Tet2Tri
VectorND< PointType, 2 > Edg2Quad
VectorND< PointType, 4 > Quad2Edg
VectorND< PointType, 4 > Quad
VectorND< PointType, 2 > Tri2Tet
VectorND< PointType, 4 > Tetrahedron
Vector< PointType, 3 > Triangle
virtual void updateTopology()
VectorND< PointType, 5 > Pyramid
VectorND< PointType, 6 > Pentahedron
VectorND< PointType, 8 > Hexahedron
VectorND< PointType, 2 > Edg2Tri
VectorND< PointType, 3 > Tri2Edg
VectorND< PointType, 2 > Quad2Hex
VectorND< PointType, 2 > Edg2Poly
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
int PointType