xc
Public Member Functions | Protected Member Functions | List of all members

Rayleigh damping factors. More...

#include <RayleighDampingFactors.h>

Inheritance diagram for XC::RayleighDampingFactors:
XC::MovableObject XC::DistributedBase

Public Member Functions

 RayleighDampingFactors (void)
 Constructor.
 
 RayleighDampingFactors (const double &alphaM, const double &betaK, const double &betaK0, const double &betaKc)
 Constructor. More...
 
 RayleighDampingFactors (const Vector &)
 constructor
 
const double & getAlphaM (void) const
 return the damping factor applied to elements or nodes mass matrix
 
void setAlphaM (const double &d)
 set the damping factor applied to elements or nodes mass matrix
 
const double & getBetaK (void) const
 return the damping factor applied to elements current stiffness matrix
 
void setBetaK (const double &d)
 set the damping factor applied to elements current stiffness matrix
 
const double & getBetaK0 (void) const
 return the damping factor applied to elements initial stiffness matrix
 
void setBetaK0 (const double &d)
 set the damping factor applied to elements initial stiffness matrix
 
const double & getBetaKc (void) const
 return the damping factor applied to elements committed stiffness matrix
 
void setBetaKc (const double &d)
 set the damping factor applied to elements committed stiffness matrix
 
bool nullValues (void) const
 Returns true if all Rayleigh factors are zero.
 
bool nullKValues (void) const
 Returns true if all Rayleigh stiffness factors are zero.
 
int updateParameter (int parameterID, Information &info)
 Update the value of a parameter.
 
int sendSelf (CommParameters &)
 Sends object through the channel being passed as parameter.
 
int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
void Print (std::ostream &s, int flag=0) const
 Print Rayleigh factors values.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual DbTagDatagetDbTagData (void) const
 Returns a vector to store class dbTags.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Protected Member Functions

int sendData (CommParameters &)
 Send object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives object members through the channel being passed as parameter.
 

Detailed Description

Rayleigh damping factors.

Objects of this class are used to assign damping to all previously-defined elements and nodes. When using rayleigh damping in XC, the damping matrix for an element or node, D is specified as a combination of stiffness and mass-proportional damping matrices: D = alphaM * M + betaK * Kcurrent + betaKinit * Kinit + betaKcomm * KlastCommit References:

Constructor & Destructor Documentation

§ RayleighDampingFactors()

XC::RayleighDampingFactors::RayleighDampingFactors ( const double &  aM,
const double &  bK,
const double &  bK0,
const double &  bKc 
)

Constructor.

Parameters
aMfactor applied to elements or nodes mass matrix.
bKfactor applied to elements current stiffness matrix.
bK0factor applied to elements initial stiffness matrix.
bKcfactor applied to elements committed stiffness matrix.

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