feat: beaching of particles
This commit is contained in:
1 parent
e674dde67b
commit
0bde78ee7d
4 files changed
+92
-22
No files matched your search
@@ -14,9 +14,11 @@ class LGlyphLayer : public Layer {
|
||||
private:
|
||||
vtkSmartPointer<vtkPoints> points;
|
||||
vtkSmartPointer<vtkPolyData> data;
|
||||
vtkSmartPointer<vtkIntArray> particlesBeached;
|
||||
std::unique_ptr<AdvectionKernel> advector;
|
||||
std::shared_ptr<UVGrid> uvGrid;
|
||||
int lastT = 1000;
|
||||
int beachedAtNumberOfTimes = 20;
|
||||
|
||||
public:
|
||||
/** Constructor.
|
||||
|
||||