ESyS-Particle  2.3.4
CElasticIGP Class Reference

Interaction group parameters for CElasticInteractionGroups. More...

#include <ElasticInteraction.h>

Inheritance diagram for CElasticIGP:
Collaboration diagram for CElasticIGP:

Public Member Functions

 CElasticIGP ()
 
 CElasticIGP (const std::string &, double, bool scaling=true)
 
virtual void packInto (CVarMPIBuffer *) const
 
void setSpringConst (double k)
 
double getSpringConst () 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
 

Public Attributes

double m_k
 
bool m_scaling
 

Friends

ostream & operator<< (ostream &, const CElasticIGP &)
 

Detailed Description

Interaction group parameters for CElasticInteractionGroups.

Constructor & Destructor Documentation

◆ CElasticIGP() [1/2]

CElasticIGP::CElasticIGP ( )

◆ CElasticIGP() [2/2]

CElasticIGP::CElasticIGP ( const std::string &  name,
double  kn,
bool  scaling = true 
)

Member Function Documentation

◆ getSpringConst()

◆ getTypeString()

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

Implements AIGParam.

Referenced by esys::lsm::LsmMpiPy::createElasticInteractGrpTag(), and esys::lsm::LsmMpiPy::createNRotElasticInteractGrp().

Here is the caller graph for this function:

◆ packInto()

void CElasticIGP::packInto ( CVarMPIBuffer B) const
virtual

Reimplemented from AIGParam.

Reimplemented in CVWallIGP, CSoftBWallIGP, CEWallIGP, CESphereBodyIGP, CBWallIGP, and CEWallIGP.

References CVarMPIBuffer::append(), m_k, and AIGParam::packInto().

Referenced by CEWallIGP::packInto(), and CESphereBodyIGP::packInto().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSpringConst()

void CElasticIGP::setSpringConst ( double  k)
inline

References m_k.

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  ost,
const CElasticIGP B 
)
friend

Member Data Documentation

◆ m_k

◆ m_scaling


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