fix LGlyph dt tracking

This commit is contained in:
djaidjai committed 2024-05-16 12:48:28 +02:00
1 parent 4e18d957d1
commit f7c4b7883d
3 files changed
+14 -3

No files matched your search

@@ -17,7 +17,7 @@ private:
vtkSmartPointer<vtkIntArray> particlesBeached;
std::unique_ptr<AdvectionKernel> advector;
std::shared_ptr<UVGrid> uvGrid;
int lastT = 1000;
int dt = 3600;
int beachedAtNumberOfTimes = 20;
public:
@@ -39,6 +39,12 @@ public:
vtkSmartPointer<SpawnPointCallback> createSpawnPointCallback();
void addObservers(vtkSmartPointer<vtkRenderWindowInteractor> interactor) override;
/**
* Sets a custom DT value, needed for advect calls to the simulation logic.
*/
void setDt(int dt);
};
#endif
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.