|
ESyS-Particle
4.0.1
|
Local rotational damping of the particle motion by a damping coefficient. More...
#include <RotLocalDamping.h>

Public Types | |
| typedef CLocalDampingIGP | ParameterType |
| typedef double(CRotLocalDamping::* | ScalarFieldFunction )() const |
|
typedef pair< bool, double > (CRotLocalDamping::* | CheckedScalarFieldFunction )() const |
| typedef Vec3(CRotLocalDamping::* | VectorFieldFunction )() const |
Public Member Functions | |
| CRotLocalDamping (T *, double, double) | |
| CRotLocalDamping (T *, const CLocalDampingIGP &) | |
| CRotLocalDamping (T *, CLocalDampingIGP *) | |
| virtual | ~CRotLocalDamping () |
| 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 &) |
Protected Attributes | |
| T * | m_p |
| the particle | |
| double | m_visc |
| damping coefficient | |
| double | m_dt |
| time step | |
| double | m_E_diss |
| dissipated energy | |
| Vec3 | m_force |
| current force | |
Local rotational damping of the particle motion by a damping coefficient.
| CRotLocalDamping< T >::CRotLocalDamping | ( | T * | P, |
| double | visc, | ||
| double | dt | ||
| ) |
Construct a local rotational damping "interaction" for a particle
| P | the particle |
| visc | the damping coefficient |
| dt | the time step |
| CRotLocalDamping< T >::CRotLocalDamping | ( | T * | P, |
| const CLocalDampingIGP & | param | ||
| ) |
Construct a local rotational damping "interaction" for a particle
| P | the particle |
| param | the parameters |
| CRotLocalDamping< T >::CRotLocalDamping | ( | T * | P, |
| CLocalDampingIGP * | param | ||
| ) |
Construct a local rotational damping "interaction" for a particle
| P | the particle |
| param | pointer to the parameters |
| CRotLocalDamping< T >::~CRotLocalDamping | ( | ) | [virtual] |
destructor
| void CRotLocalDamping< T >::calcForces | ( | ) | [virtual] |
Calculate the local damping moment.
| vector< int > CRotLocalDamping< T >::getAllID | ( | ) | const |
return a vector of all particle IDs
| CRotLocalDamping< T >::CheckedScalarFieldFunction CRotLocalDamping< T >::getCheckedScalarFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a checked scalar field of a given name.
| name | the name of the field |
| double CRotLocalDamping< T >::getDissipatedEnergy | ( | ) | const |
return the amount of energy dissipated during the last time step
| CRotLocalDamping< T >::ScalarFieldFunction CRotLocalDamping< T >::getScalarFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a scalar field of a given name.
| name | the name of the field |
| CRotLocalDamping< T >::VectorFieldFunction CRotLocalDamping< T >::getVectorFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a vector field of a given name.
| name | the name of the field |
| bool CRotLocalDamping< T >::hasTag | ( | int | tag, |
| int | mask | ||
| ) | const [virtual] |
check if any of the particles in the interaction fits tag & mask
| tag | the tag |
| mask | the mask |
1.7.6.1