#include <Pspm.h>
Public Member Functions | |
PspmPar (Decimal maxEnrg=0, Decimal initEnergy=0, umatrix B=boost::numeric::ublas::identity_matrix< Decimal >(3), umatrix K=boost::numeric::ublas::identity_matrix< Decimal >(3)) | |
Default constructor. | |
PspmPar (const PspmPar &p) | |
Copy constructor. | |
PspmPar & | operator= (const PspmPar &rhs) |
Assignment operator. | |
Decimal | getMaxEnergy () |
Gets . | |
Decimal | getInitEnergy () |
Gets . | |
umatrix | getDampMat () |
Gets . | |
umatrix | getStiffMat () |
Gets. | |
void | setMaxEnergy (Decimal maxEnrg) |
Sets. | |
void | setInitEnergy (Decimal maxEnrg) |
Sets. | |
void | setDampMat (umatrix &dampMat) |
Sets. | |
void | setStiffMat (umatrix &stiffMat) |
Sets. | |
string | getObjectName () const |
Gets the name. |
PspmPar::PspmPar | ( | Decimal | maxEnrg = 0 , |
|
Decimal | initEnergy = 0 , |
|||
umatrix | B = boost::numeric::ublas::identity_matrix<Decimal>(3) , |
|||
umatrix | K = boost::numeric::ublas::identity_matrix<Decimal>(3) | |||
) |
Default constructor.
[in] | maxEnrg | Maximum energy. |
[in] | initEnergy | Initial energy. |
[in] | B | Matrix of damping. |
[in] | K | Matrix of stiffness. |
PspmPar::PspmPar | ( | const PspmPar & | p | ) |
Copy constructor.
Decimal PspmPar::getMaxEnergy | ( | ) |
Gets .
Decimal PspmPar::getInitEnergy | ( | ) |
Gets .
umatrix PspmPar::getDampMat | ( | ) |
Gets .
umatrix PspmPar::getStiffMat | ( | ) |
Gets.
void PspmPar::setMaxEnergy | ( | Decimal | maxEnrg | ) |
Sets.
[in] | K | . |
void PspmPar::setInitEnergy | ( | Decimal | maxEnrg | ) |
Sets.
[in] | K | . |
void PspmPar::setDampMat | ( | umatrix & | dampMat | ) |
Sets.
[in] | K | . |
void PspmPar::setStiffMat | ( | umatrix & | stiffMat | ) |
Sets.
[in] | K | . |
string PspmPar::getObjectName | ( | ) | const [inline, virtual] |