ESyS-Particle  2.3
CLocalDampingIGP Class Reference

Interaction group parameters for CLocalDampingGroup. More...

#include <LocalDampingIGP.h>

Inheritance diagram for CLocalDampingIGP:
Collaboration diagram for CLocalDampingIGP:

Public Member Functions

 CLocalDampingIGP ()
 
 CLocalDampingIGP (const string &type, const string &name, double viscosity, double dt)
 
virtual void packInto (CVarMPIBuffer *) const
 
void setType (const string &type)
 
void setVisc (double v)
 
double getVisc () const
 
void setTimeStep (double t)
 
void setTimeStepSize (double t)
 
double getTimeStep () const
 
virtual std::string getTypeString () const
 
- Public Member Functions inherited from AIGParam
 AIGParam (const std::string &name="")
 
virtual ~AIGParam ()
 
void setName (const std::string &name)
 
const std::string & getName () const
 
const std::string & Name () const
 

Protected Attributes

string m_type
 
double m_visc
 damping coefficient More...
 
double m_dt
 time step More...
 

Detailed Description

Interaction group parameters for CLocalDampingGroup.

Constructor & Destructor Documentation

CLocalDampingIGP::CLocalDampingIGP ( )
CLocalDampingIGP::CLocalDampingIGP ( const string &  type,
const string &  name,
double  viscosity,
double  dt 
)

Member Function Documentation

double CLocalDampingIGP::getTimeStep ( ) const
inline

References m_dt.

Referenced by CLocalDamping< T >::CLocalDamping(), and CRotLocalDamping< T >::CRotLocalDamping().

Here is the caller graph for this function:

virtual std::string CLocalDampingIGP::getTypeString ( ) const
inlinevirtual

Implements AIGParam.

References m_type.

Referenced by CLatticeMaster::addDamping().

Here is the caller graph for this function:

double CLocalDampingIGP::getVisc ( ) const
inline

References m_visc.

Referenced by CLocalDamping< T >::CLocalDamping(), and CRotLocalDamping< T >::CRotLocalDamping().

Here is the caller graph for this function:

void CLocalDampingIGP::packInto ( CVarMPIBuffer B) const
virtual

Pack the parameters for a LocalDampingGroup into a MPI-buffer

Parameters
Bthe buffer

Reimplemented from AIGParam.

References CVarMPIBuffer::append(), m_dt, m_type, m_visc, and AIGParam::packInto().

Here is the call graph for this function:

void CLocalDampingIGP::setTimeStep ( double  t)
inline

Referenced by extractLocalDampingIGP(), and setTimeStepSize().

Here is the caller graph for this function:

void CLocalDampingIGP::setTimeStepSize ( double  t)
inline

References setTimeStep().

Referenced by esys::lsm::LsmMpiPy::createLocalDamping(), and esys::lsm::LsmMpiPy::createRotLocalDamping().

Here is the call graph for this function:

Here is the caller graph for this function:

void CLocalDampingIGP::setType ( const string &  type)
inline

Referenced by extractLocalDampingIGP().

Here is the caller graph for this function:

void CLocalDampingIGP::setVisc ( double  v)
inline

Referenced by extractLocalDampingIGP().

Here is the caller graph for this function:

Member Data Documentation

double CLocalDampingIGP::m_dt
protected

time step

Referenced by getTimeStep(), and packInto().

string CLocalDampingIGP::m_type
protected

Referenced by getTypeString(), and packInto().

double CLocalDampingIGP::m_visc
protected

damping coefficient

Referenced by getVisc(), and packInto().


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