https://github.com/InteractiveComputerGraphics/SPlisHSPlasH
Raw File
Tip revision: 619a911372dca5f48c562d39c13b9f83eda6e10a authored by Jan Bender on 19 January 2022, 09:38:43 UTC
- fixed readme
Tip revision: 619a911
BoundarySimulator.h
#ifndef __BoundarySimulator_h__
#define __BoundarySimulator_h__

#include "SPlisHSPlasH/Common.h"

namespace SPH
{
	class BoundarySimulator 
	{
	public:
		BoundarySimulator() {}
		virtual ~BoundarySimulator() {}
		virtual void init() {}
		/** This function is called after the simulation scene is loaded and all
		* parameters are initialized. While reading a scene file several parameters
		* can change. The deferred init function should initialize all values which
		* depend on these parameters.
		*/
		virtual void deferredInit() {}
		virtual void timeStep() {}
		virtual void initBoundaryData() {}
		virtual void reset() {}

		void updateBoundaryForces();		
	};
}
 
#endif
back to top