#include <MultiMatrix.h>

Public Member Functions | |
| MechanicalMatrix (double m, double b, double k) | |
| MechanicalMatrix (const defaulttype::Vec< 3, double > &f) | |
| double | getMFact () const |
| double | getBFact () const |
| double | getKFact () const |
| MechanicalMatrix | operator+ (const MechanicalMatrix &m2) const |
| MechanicalMatrix | operator- (const MechanicalMatrix &m2) const |
| MechanicalMatrix | operator- () const |
| MechanicalMatrix | operator* (double f) const |
| MechanicalMatrix | operator/ (double f) const |
Static Public Attributes | |
| static const MechanicalMatrix | M |
| static const MechanicalMatrix | B |
| static const MechanicalMatrix | K |
Protected Types | |
| enum | { MFACT = 0, BFACT = 1, KFACT = 2 } |
Protected Attributes | |
| defaulttype::Vec< 3, double > | factors |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const MechanicalMatrix &m) |
Definition at line 46 of file MultiMatrix.h.
anonymous enum [protected] |
| sofa::core::componentmodel::behavior::MechanicalMatrix::MechanicalMatrix | ( | double | m, | |
| double | b, | |||
| double | k | |||
| ) | [inline] |
Definition at line 52 of file MultiMatrix.h.
Referenced by operator*(), operator+(), operator-(), and operator/().
| sofa::core::componentmodel::behavior::MechanicalMatrix::MechanicalMatrix | ( | const defaulttype::Vec< 3, double > & | f | ) | [inline, explicit] |
Definition at line 53 of file MultiMatrix.h.
| double sofa::core::componentmodel::behavior::MechanicalMatrix::getBFact | ( | ) | const [inline] |
Definition at line 60 of file MultiMatrix.h.
References BFACT, and factors.
Referenced by sofa::core::componentmodel::behavior::MultiMatrix< Parent >::operator=().
| double sofa::core::componentmodel::behavior::MechanicalMatrix::getKFact | ( | ) | const [inline] |
Definition at line 61 of file MultiMatrix.h.
References factors, and KFACT.
Referenced by sofa::core::componentmodel::behavior::MultiMatrix< Parent >::operator=().
| double sofa::core::componentmodel::behavior::MechanicalMatrix::getMFact | ( | ) | const [inline] |
Definition at line 59 of file MultiMatrix.h.
References factors, and MFACT.
Referenced by sofa::core::componentmodel::behavior::MultiMatrix< Parent >::operator=().
| MechanicalMatrix sofa::core::componentmodel::behavior::MechanicalMatrix::operator* | ( | double | f | ) | const [inline] |
| MechanicalMatrix sofa::core::componentmodel::behavior::MechanicalMatrix::operator+ | ( | const MechanicalMatrix & | m2 | ) | const [inline] |
| MechanicalMatrix sofa::core::componentmodel::behavior::MechanicalMatrix::operator- | ( | ) | const [inline] |
| MechanicalMatrix sofa::core::componentmodel::behavior::MechanicalMatrix::operator- | ( | const MechanicalMatrix & | m2 | ) | const [inline] |
| MechanicalMatrix sofa::core::componentmodel::behavior::MechanicalMatrix::operator/ | ( | double | f | ) | const [inline] |
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const MechanicalMatrix & | m | |||
| ) | [friend] |
Definition at line 69 of file MultiMatrix.h.
Definition at line 56 of file MultiMatrix.h.
defaulttype::Vec<3,double> sofa::core::componentmodel::behavior::MechanicalMatrix::factors [protected] |
Definition at line 50 of file MultiMatrix.h.
Referenced by getBFact(), getKFact(), getMFact(), operator*(), operator+(), operator-(), and operator/().
Definition at line 57 of file MultiMatrix.h.
Referenced by sofa::component::odesolver::StaticSolver::solve(), and sofa::component::odesolver::EulerImplicitSolver::solve().
Definition at line 55 of file MultiMatrix.h.
Referenced by sofa::component::odesolver::EulerImplicitSolver::solve().
1.5.7.1