remove set to zero for fluid force

This commit is contained in:
hamidrezanorouzi 2023-03-15 06:52:15 +03:30
parent 347a4fee7a
commit c6ddf00d7b
2 changed files with 5 additions and 6 deletions

View File

@ -56,9 +56,8 @@ pFlow::sphereFluidParticles::sphereFluidParticles(
bool pFlow::sphereFluidParticles::beforeIteration()
{
sphereParticles::beforeIteration();
zeroFluidForce_H();
zeroFluidTorque_H();
return sphereParticles::beforeIteration();
return true;
}

View File

@ -18,8 +18,8 @@ Licence:
-----------------------------------------------------------------------------*/
#ifndef __Timers_hpp__
#define __Timers_hpp__
#ifndef __Timerss_hpp__
#define __Timerss_hpp__
#include "Timer.hpp"
@ -34,7 +34,7 @@ class Timers
{
protected:
List<Timer*> timers_;
List<pFlow::Timer*> timers_;
int32 level_ = 0;