ESyS-Particle  4.0.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
ABCDamping< ParticleType > Class Template Reference

#include <ABCDamping.h>

Inheritance diagram for ABCDamping< ParticleType >:
Inheritance graph
[legend]
Collaboration diagram for ABCDamping< ParticleType >:
Collaboration graph
[legend]

List of all members.

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 *)

Static Public Member Functions

static ScalarFieldFunction getScalarFieldFunction (const string &)
static CheckedScalarFieldFunction getCheckedScalarFieldFunction (const string &)
static VectorFieldFunction getVectorFieldFunction (const string &)

Protected Attributes

Vec3 m_pos
Vec3 m_normal
double m_c1

Detailed Description

template<class ParticleType>
class ABCDamping< ParticleType >

Damping for absorbing boundary conditions - damping increases exponentially towards a given plane (boundary)


Constructor & Destructor Documentation

template<class ParticleType >
ABCDamping< ParticleType >::ABCDamping ( ParticleType *  P,
ABCDampingIGP param 
)

Construct a damping "interaction" for a particle

Parameters:
Pthe particle
paramthe parameters

References CDamping< ParticleType >::m_p, and CDamping< ParticleType >::m_visc.


Member Function Documentation

template<class T >
ABCDamping< T >::CheckedScalarFieldFunction ABCDamping< T >::getCheckedScalarFieldFunction ( const string &  name) [static]

Get the particle member function which returns a checked scalar field of a given name.

Parameters:
namethe name of the field

Reimplemented from CDamping< ParticleType >.

template<class T >
ABCDamping< T >::VectorFieldFunction ABCDamping< T >::getVectorFieldFunction ( const string &  name) [static]

Get the particle member function which returns a vector field of a given name.

Parameters:
namethe name of the field

Reimplemented from CDamping< ParticleType >.


The documentation for this class was generated from the following files: