|
ESyS-Particle
2.3.4
|
#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 Types inherited from CDamping< ParticleType > | |
| typedef CDampingIGP | ParameterType |
| typedef double(CDamping::* | ScalarFieldFunction) () const |
| typedef pair< bool, double >(CDamping::* | CheckedScalarFieldFunction) () const |
| typedef Vec3(CDamping::* | VectorFieldFunction) () const |
Public Member Functions | |
| ABCDamping (ParticleType *, ABCDampingIGP *) | |
| virtual | ~ABCDamping () |
Public Member Functions inherited from CDamping< ParticleType > | |
| CDamping (ParticleType *, const Vec3 &, double, double, int) | |
| CDamping (ParticleType *, const CDampingIGP &) | |
| CDamping (ParticleType *, CDampingIGP *) | |
| virtual | ~CDamping () |
| 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 Public Member Functions inherited from CDamping< ParticleType > | |
| 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 |
Protected Attributes inherited from CDamping< ParticleType > | |
| ParticleType * | m_p |
| the particle More... | |
| Vec3 | m_vref |
| reference velocity More... | |
| double | m_visc |
| artificial viscosity More... | |
| double | m_dt |
| time step More... | |
| int | m_maxiter |
| iteration limit More... | |
| double | m_E_diss |
| dissipated energy More... | |
| Vec3 | m_force |
| current force More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from CDamping< ParticleType > | |
| static double | s_limit2 |
| square error limit for iteration More... | |
| static int | s_flops |
Damping for absorbing boundary conditions - damping increases exponentially towards a given plane (boundary)
| typedef pair<bool,double>(ABCDamping::* ABCDamping< ParticleType >::CheckedScalarFieldFunction) () const |
| typedef ABCDampingIGP ABCDamping< ParticleType >::ParameterType |
| typedef double(ABCDamping::* ABCDamping< ParticleType >::ScalarFieldFunction) () const |
| typedef Vec3(ABCDamping::* ABCDamping< ParticleType >::VectorFieldFunction) () const |
| ABCDamping< ParticleType >::ABCDamping | ( | ParticleType * | P, |
| ABCDampingIGP * | param | ||
| ) |
Construct a damping "interaction" for a particle
| P | the particle |
| param | the parameters |
References ABCDampingIGP::getC1(), ABCDampingIGP::getNormal(), ABCDampingIGP::getPos(), CDamping< ParticleType >::m_p, and CDamping< ParticleType >::m_visc.

|
virtual |
|
static |
Get the particle member function which returns a checked scalar field of a given name.
| name | the name of the field |
References NULL.
|
static |
References NULL.
|
static |
Get the particle member function which returns a vector field of a given name.
| name | the name of the field |
References NULL.
|
protected |
|
protected |
|
protected |