ESyS-Particle
4.0.1
|
#include <ABCDamping.h>
Public Types | |
typedef ABCDampingIGP | ParameterType |
typedef double(ABCDamping::* | ScalarFieldFunction )() const |
typedef pair< bool, double > (ABCDamping::* | CheckedScalarFieldFunction )() const |
typedef Vec3(ABCDamping::* | VectorFieldFunction )() const |
![]() |
Public Member Functions | |
ABCDamping (ParticleType *, ABCDampingIGP *) | |
![]() | |
CDamping (ParticleType *, const Vec3 &, double, double, int) | |
CDamping (ParticleType *, const CDampingIGP &) | |
CDamping (ParticleType *, CDampingIGP *) | |
void | setLimit (double limit) |
void | setTimeStepSize (double dt) |
virtual void | calcForces () |
virtual bool | hasTag (int, int) const |
virtual Vec3 | getPosFirst () const |
virtual Vec3 | getPosSecond () const |
virtual Vec3 | getPos () const |
vector< int > | getAllID () const |
esys::lsm::quintuple< Vec3, double, Vec3, double, Vec3 > | getRaw2Data () const |
double | getDissipatedEnergy () const |
Vec3 | getForce () const |
Static Public Member Functions | |
static ScalarFieldFunction | getScalarFieldFunction (const string &) |
static CheckedScalarFieldFunction | getCheckedScalarFieldFunction (const string &) |
static VectorFieldFunction | getVectorFieldFunction (const string &) |
![]() | |
static void | zeroFlops () |
static int | Flops () |
Protected Attributes | |
Vec3 | m_pos |
Vec3 | m_normal |
double | m_c1 |
![]() | |
ParticleType * | m_p |
the particle | |
Vec3 | m_vref |
reference velocity | |
double | m_visc |
artificial viscosity | |
double | m_dt |
time step | |
int | m_maxiter |
iteration limit | |
double | m_E_diss |
dissipated energy | |
Vec3 | m_force |
current force |
Additional Inherited Members | |
![]() | |
static double | s_limit2 |
square error limit for iteration | |
static int | s_flops |
Damping for absorbing boundary conditions - damping increases exponentially towards a given plane (boundary)
ABCDamping< ParticleType >::ABCDamping | ( | ParticleType * | P, |
ABCDampingIGP * | param | ||
) |
Construct a damping "interaction" for a particle
P | the particle |
param | the parameters |
References CDamping< ParticleType >::m_p, and CDamping< ParticleType >::m_visc.
|
static |
Get the particle member function which returns a checked scalar field of a given name.
name | the name of the field |
Reimplemented from CDamping< ParticleType >.
|
static |
Get the particle member function which returns a vector field of a given name.
name | the name of the field |
Reimplemented from CDamping< ParticleType >.