mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-08 03:07:03 +00:00
global damping is activated for velocity and rVelocity in both sphere and grain solvers
This commit is contained in:
@ -101,6 +101,16 @@ public:
|
||||
return acceleration_;
|
||||
}
|
||||
|
||||
inline
|
||||
real dampingFactor(const timeInfo& ti)const
|
||||
{
|
||||
if(velDamping_)
|
||||
{
|
||||
return velDamping_().dampingFactor(ti);
|
||||
}
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
/// In the time loop before iterate
|
||||
bool beforeIteration() override;
|
||||
|
||||
|
Reference in New Issue
Block a user