ESyS-Particle  2.3.4
CSoftBWallIGP Class Reference

Interaction group parameters for CSoftBWallInteractionGroups. More...

#include <SoftBWallInteractionGroup.h>

Inheritance diagram for CSoftBWallIGP:
Collaboration diagram for CSoftBWallIGP:

Public Member Functions

 CSoftBWallIGP (const std::string &, const std::string &, double, double, int, int, bool)
 
virtual void packInto (CVarMPIBuffer *) const
 
double getNormalK () const
 
double getShearK () const
 
bool getScaling () const
 
- Public Member Functions inherited from CBWallIGP
 CBWallIGP (const std::string &, const std::string &, double, int, int)
 
int getTag () const
 
int getMask () const
 
- Public Member Functions inherited from CEWallIGP
 CEWallIGP (const std::string &, const std::string &, double)
 
std::string getWallName () const
 
 CEWallIGP (const std::string &, const std::string &, double)
 
std::string getWallName () 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

double m_shearK
 
bool m_scaling
 
- Protected Attributes inherited from CBWallIGP
int m_tag
 
int m_mask
 
- Protected Attributes inherited from CEWallIGP
std::string m_wallname
 

Friends

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

Additional Inherited Members

- Public Attributes inherited from CElasticIGP
double m_k
 
bool m_scaling
 

Detailed Description

Interaction group parameters for CSoftBWallInteractionGroups.

Constructor & Destructor Documentation

◆ CSoftBWallIGP()

CSoftBWallIGP::CSoftBWallIGP ( const std::string &  name,
const std::string &  wallname,
double  normalK,
double  shearK,
int  tag,
int  mask,
bool  scaling 
)

Constructor for bonded wall interaction group with direction dependend elasticity

Parameters
namethe name of the interaction
wallnamethe name of the wall
kxthe spring constant for the elastic interactions in x-direction
kythe spring constant for the elastic interactions in y-direction
kzthe spring constant for the elastic interactions in z-direction
tagthe tag of the particles to which the wall is bonded (if build via bond and not via distance)
maskthe tag mask
scalingtoggles scaling of elastic stiffnesses

References m_scaling, and m_shearK.

Member Function Documentation

◆ getNormalK()

double CSoftBWallIGP::getNormalK ( ) const
inline

References CElasticIGP::m_k.

Referenced by CLatticeMaster::addWallIG(), and CSoftBWallInteractionGroup< T >::CSoftBWallInteractionGroup().

Here is the caller graph for this function:

◆ getScaling()

bool CSoftBWallIGP::getScaling ( ) const
inline

References m_scaling.

Referenced by CLatticeMaster::addWallIG(), and CSoftBWallInteractionGroup< T >::CSoftBWallInteractionGroup().

Here is the caller graph for this function:

◆ getShearK()

double CSoftBWallIGP::getShearK ( ) const
inline

References m_shearK.

Referenced by CLatticeMaster::addWallIG(), and CSoftBWallInteractionGroup< T >::CSoftBWallInteractionGroup().

Here is the caller graph for this function:

◆ packInto()

void CSoftBWallIGP::packInto ( CVarMPIBuffer B) const
virtual

Reimplemented from CBWallIGP.

References CVarMPIBuffer::append(), console, m_scaling, m_shearK, CBWallIGP::packInto(), and Console::XDebug().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

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

Member Data Documentation

◆ m_scaling

bool CSoftBWallIGP::m_scaling
protected

◆ m_shearK

double CSoftBWallIGP::m_shearK
protected

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