ESyS-Particle  2.3.2
esys::lsm::DampingPrmsPy Class Reference

wrapper for CDampingIGP More...

#include <InteractionParamsPy.h>

Inheritance diagram for esys::lsm::DampingPrmsPy:
Collaboration diagram for esys::lsm::DampingPrmsPy:

Public Member Functions

 DampingPrmsPy (const std::string &type, const std::string &name, double viscosity, int maxIterations)
- 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)
virtual void packInto (CVarMPIBuffer *) const
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 CDampingIGP
string m_type
Vec3 m_vref
 reference velocity
double m_visc
 artificial viscosity
double m_dt
 time step
int m_max_iter
 max nr. of iterations

Detailed Description

wrapper for CDampingIGP

Constructor & Destructor Documentation

esys::lsm::DampingPrmsPy::DampingPrmsPy ( const std::string &  type,
const std::string &  name,
double  viscosity,
int  maxIterations 
)

constructor for DampingPrmsPy

Parameters
typethe type of damping, "Damping" or "RotDamping"
name
viscositythe damping constant
dtthe time step
maxIterationthe maximum number of iterations

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