ESyS-Particle  2.3.4
esys::lsm::ABCDampingPrmsPy Class Reference

wrapper for ABCDampingIGP More...

#include <InteractionParamsPy.h>

Inheritance diagram for esys::lsm::ABCDampingPrmsPy:
Collaboration diagram for esys::lsm::ABCDampingPrmsPy:

Public Member Functions

 ABCDampingPrmsPy (const std::string &type, const std::string &name, double viscosity, int maxIterations, const Vec3 &vref, const Vec3 &pos, const Vec3 &normal, double c1)
 
- Public Member Functions inherited from ABCDampingIGP
 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
 

Additional Inherited Members

- Protected Attributes inherited from ABCDampingIGP
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

wrapper for ABCDampingIGP

Constructor & Destructor Documentation

◆ ABCDampingPrmsPy()

esys::lsm::ABCDampingPrmsPy::ABCDampingPrmsPy ( const std::string &  type,
const std::string &  name,
double  viscosity,
int  maxIterations,
const Vec3 vref,
const Vec3 pos,
const Vec3 normal,
double  c1 
)

constructor for ABCDampingPrmsPy

Parameters
name
viscositythe damping constant
dtthe time step
maxIterationthe max. nr of iterations

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