xc
|
Rayleigh damping factors. More...
#include <RayleighDampingFactors.h>
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. | |
![]() | |
MovableObject (int classTag, int dbTag) | |
Constructor. More... | |
MovableObject (int classTag) | |
Constructor. More... | |
MovableObject (const MovableObject &) | |
Copy constructor. Doesn't copy the dbTag. | |
MovableObject & | operator= (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 ¶m) |
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 . | |
![]() | |
DistributedBase (void) | |
Constructor. | |
virtual DbTagData & | getDbTagData (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. | |
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:
XC::RayleighDampingFactors::RayleighDampingFactors | ( | const double & | aM, |
const double & | bK, | ||
const double & | bK0, | ||
const double & | bKc | ||
) |
Constructor.
aM | factor applied to elements or nodes mass matrix. |
bK | factor applied to elements current stiffness matrix. |
bK0 | factor applied to elements initial stiffness matrix. |
bKc | factor applied to elements committed stiffness matrix. |