ESyS-Particle  2.3.4
CESphereBodyIGP Class Reference

Interaction group parameters for CESphereBodyInteractionGroups. More...

#include <ESphereBodyInteractionGroup.h>

Inheritance diagram for CESphereBodyIGP:
Collaboration diagram for CESphereBodyIGP:

Public Member Functions

 CESphereBodyIGP (const std::string &, const std::string &, double)
 
virtual void packInto (CVarMPIBuffer *) const
 
std::string getSphereBodyName () const
 
- Public Member Functions inherited from CElasticIGP
 CElasticIGP ()
 
 CElasticIGP (const std::string &, double, bool scaling=true)
 
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
 

Protected Attributes

std::string m_spherename
 

Friends

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

Additional Inherited Members

- Public Attributes inherited from CElasticIGP
double m_k
 
bool m_scaling
 

Detailed Description

Interaction group parameters for CESphereBodyInteractionGroups.

Constructor & Destructor Documentation

◆ CESphereBodyIGP()

CESphereBodyIGP::CESphereBodyIGP ( const std::string &  name,
const std::string &  spherename,
double  k 
)

Elastic sphere body interaction group constructor

Parameters
namethe name of the sphere body interaction
spherenamethe name of the sphere body
kthe spring constant for the elastic interactions

References m_spherename.

Member Function Documentation

◆ getSphereBodyName()

std::string CESphereBodyIGP::getSphereBodyName ( ) const
inline

References m_spherename.

Referenced by TSubLattice< T >::addESphereBodyIG(), and CLatticeMaster::addSphereBodyIG().

Here is the caller graph for this function:

◆ packInto()

void CESphereBodyIGP::packInto ( CVarMPIBuffer B) const
virtual

Reimplemented from CElasticIGP.

References CVarMPIBuffer::append(), console, m_spherename, CElasticIGP::packInto(), and Console::XDebug().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  ost,
const CESphereBodyIGP I 
)
friend

Member Data Documentation

◆ m_spherename

std::string CESphereBodyIGP::m_spherename
protected

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