SPHinXsys
alpha version
|
check whether particle velocity within a given bound More...
#include <general_dynamics.h>
Inherits SPH::ParticleDynamicsReduce< bool, ReduceOR >, and SPH::DataDelegateSimple< SPHBody, BaseParticles, BaseMaterial >.
Public Member Functions | |
VelocityBoundCheck (SPHBody &sph_body, Real velocity_bound) | |
Public Member Functions inherited from SPH::ParticleDynamicsReduce< bool, ReduceOR > | |
ParticleDynamicsReduce (SPHBody &sph_body) | |
bool | InitialReference () |
std::string | QuantityName () |
virtual bool | exec (Real dt=0.0) override |
virtual bool | parallel_exec (Real dt=0.0) override |
Public Member Functions inherited from SPH::ParticleDynamics< bool > | |
ParticleDynamics (SPHBody &sph_body) | |
SPHBody * | getSPHBody () |
Public Member Functions inherited from SPH::DataDelegateSimple< SPHBody, BaseParticles, BaseMaterial > | |
DataDelegateSimple (SPHBody &sph_body) | |
SPHBody * | getBody () |
BaseParticles * | getParticles () |
BaseMaterial * | getMaterial () |
Protected Member Functions | |
bool | ReduceFunction (size_t index_i, Real dt=0.0) override |
Protected Member Functions inherited from SPH::ParticleDynamicsReduce< bool, ReduceOR > | |
virtual void | SetupReduce () |
virtual bool | OutputResult (bool reduced_value) |
Protected Member Functions inherited from SPH::ParticleDynamics< bool > | |
void | setBodyUpdated () |
virtual void | setupDynamics (Real dt=0.0) |
Protected Attributes | |
StdLargeVec< Vecd > & | vel_ |
Real | velocity_bound_ |
Protected Attributes inherited from SPH::ParticleDynamicsReduce< bool, ReduceOR > | |
ReduceOR | reduce_operation_ |
std::string | quantity_name_ |
bool | initial_reference_ |
ReduceFunctor< bool > | functor_reduce_function_ |
Protected Attributes inherited from SPH::ParticleDynamics< bool > | |
SPHBody * | sph_body_ |
SPHAdaptation * | sph_adaptation_ |
BaseParticles * | base_particles_ |
Protected Attributes inherited from SPH::DataDelegateSimple< SPHBody, BaseParticles, BaseMaterial > | |
SPHBody * | body_ |
BaseParticles * | particles_ |
BaseMaterial * | material_ |
StdLargeVec< size_t > & | sorted_id_ |
StdLargeVec< size_t > & | unsorted_id_ |
Additional Inherited Members | |
Static Public Attributes inherited from SPH::GlobalStaticVariables | |
static Real | physical_time_ = 0.0 |
check whether particle velocity within a given bound