ESyS-Particle  2.3.4
ABCDampingIGP Class Reference

#include <ABCDampingIGP.h>

Inheritance diagram for ABCDampingIGP:
Collaboration diagram for ABCDampingIGP:

Public Member Functions

 ABCDampingIGP ()
 
 ABCDampingIGP (const string &, const string &, double, double, int, const Vec3 &, const Vec3 &, const Vec3 &, double)
 
virtual void packInto (CVarMPIBuffer *) const
 
void setPos (const Vec3 &p)
 
Vec3 getPos ()
 
void setNormal (const Vec3 &n)
 
Vec3 getNormal ()
 
void setC1 (double d)
 
double getC1 ()
 
- Public Member Functions inherited from CDampingIGP
 CDampingIGP ()
 
 CDampingIGP (const string &type, const string &name, double viscosity, double dt, int maxIteractions, const Vec3 &refVelocity=Vec3::ZERO)
 
void setType (const string &type)
 
void setVRef (const Vec3 V)
 
Vec3 getVRef () const
 
void setVisc (double v)
 
double getVisc () const
 
void setTimeStep (double t)
 
void setTimeStepSize (double t)
 
double getTimeStep () const
 
void setMaxIter (int mi)
 
int getMaxIter () 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

Vec3 m_pos
 
Vec3 m_normal
 
double m_c1
 
- Protected Attributes inherited from CDampingIGP
string m_type
 
Vec3 m_vref
 reference velocity More...
 
double m_visc
 artificial viscosity More...
 
double m_dt
 time step More...
 
int m_max_iter
 max nr. of iterations More...
 

Detailed Description

Interaction group parameters for ABCDamping

Constructor & Destructor Documentation

◆ ABCDampingIGP() [1/2]

ABCDampingIGP::ABCDampingIGP ( )
inline

◆ ABCDampingIGP() [2/2]

ABCDampingIGP::ABCDampingIGP ( const string &  type,
const string &  name,
double  visc,
double  dt,
int  maxi,
const Vec3 vref,
const Vec3 pos,
const Vec3 normal,
double  c1 
)

References m_c1, m_normal, and m_pos.

Member Function Documentation

◆ getC1()

double ABCDampingIGP::getC1 ( )
inline

References m_c1.

Referenced by ABCDamping< ParticleType >::ABCDamping().

Here is the caller graph for this function:

◆ getNormal()

Vec3 ABCDampingIGP::getNormal ( )
inline

References m_normal.

Referenced by ABCDamping< ParticleType >::ABCDamping().

Here is the caller graph for this function:

◆ getPos()

Vec3 ABCDampingIGP::getPos ( )
inline

References m_pos.

Referenced by ABCDamping< ParticleType >::ABCDamping().

Here is the caller graph for this function:

◆ packInto()

void ABCDampingIGP::packInto ( CVarMPIBuffer B) const
virtual

Pack the parameters for a ABCDamping into a MPI-buffer

Parameters
Bthe buffer

Reimplemented from CDampingIGP.

References CVarMPIBuffer::append(), m_c1, m_normal, m_pos, and CDampingIGP::packInto().

Here is the call graph for this function:

◆ setC1()

void ABCDampingIGP::setC1 ( double  d)
inline

References m_c1.

Referenced by extractABCDampingIGP().

Here is the caller graph for this function:

◆ setNormal()

void ABCDampingIGP::setNormal ( const Vec3 n)
inline

References m_normal.

Referenced by extractABCDampingIGP().

Here is the caller graph for this function:

◆ setPos()

void ABCDampingIGP::setPos ( const Vec3 p)
inline

References m_pos.

Referenced by extractABCDampingIGP().

Here is the caller graph for this function:

Member Data Documentation

◆ m_c1

double ABCDampingIGP::m_c1
protected

Referenced by ABCDampingIGP(), getC1(), packInto(), and setC1().

◆ m_normal

Vec3 ABCDampingIGP::m_normal
protected

◆ m_pos

Vec3 ABCDampingIGP::m_pos
protected

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