#include <linalg3.h>
Public Member Functions | |
| Matrix33 () | |
| Matrix33 (double e1, double e2, double e3, double e4, double e5, double e6, double e7, double e8, double e9) | |
| Matrix33 (double e[9]) | |
| void | set (const double e1, const double e2, const double e3, const double e4, const double e5, const double e6, const double e7, const double e8, const double e9) |
| void | set (const double e[]) |
| void | setcol (Vector3 &a, Vector3 &b, Vector3 &c) |
| void | setcol (double a[], double b[], double c[]) |
| void | setcol (Matrix33 ma, Matrix33 mb, Matrix33 mc) |
| void | copytoarray (double e[]) const |
| const double * | operator[] (int i) const |
| double * | operator[] (int i) |
| Matrix33 | operator+ (double n) const |
| Matrix33 | operator- (double n) const |
| Matrix33 | operator- () const |
| Matrix33 | operator* (double n) const |
| Matrix33 | operator/ (double n) const |
| Matrix33 | operator+ (Matrix33 h) const |
| Matrix33 | operator- (Matrix33 h) const |
| Matrix33 & | operator+= (const Matrix33 &h) |
| double | trace () const |
| void | operator*= (double n) |
| void | operator/= (double n) |
| Vector3 | operator* (const Vector3 &a) const |
| void | multiply (const Vector3 &a, Vector3 &b) const |
| Matrix33 | operator* (const Matrix33 &m) const |
| Matrix33 & | addnvv (double n, Vector3 &a, Vector3 &b) |
| Matrix33 | adj () const |
| Matrix33 | tran () const |
| Matrix33 | inv () const |
| Matrix33 | reorient () const |
| double | det () const |
| Vector3 | height () const |
| void | clear () |
| void | eye () |
Public Attributes | |
| double | element [3][3] |
Friends | |
| LOStream & | operator<< (LOStream &os, const Matrix33 &m) |
| LIStream & | operator>> (LIStream &is, Matrix33 &m) |
Definition at line 146 of file linalg3.h.
| Matrix33::Matrix33 | ( | double | e1, | |
| double | e2, | |||
| double | e3, | |||
| double | e4, | |||
| double | e5, | |||
| double | e6, | |||
| double | e7, | |||
| double | e8, | |||
| double | e9 | |||
| ) | [inline] |
| Matrix33::Matrix33 | ( | double | e[9] | ) | [inline] |
Definition at line 334 of file linalg3.h.
References element, Vector3::x, Vector3::y, and Vector3::z.
Referenced by MDFrame::CE_Real(), MEAMFrame::dscrfor(), MEAMFrame::kraMEAM(), and SWFrame::stillinger_weber().
| Matrix33 Matrix33::adj | ( | ) | const [inline] |
| void Matrix33::clear | ( | ) | [inline] |
Definition at line 445 of file linalg3.h.
References element.
Referenced by VaspBox::calgh(), MDFrame::CE_Real(), MDFrame::CE_Rec(), MDFrame::initvars(), Matrix33(), MDFrame::PME_Rec(), MEAMFrame::rhoMEAM(), and SWFrame::stillinger_weber().
| void Matrix33::copytoarray | ( | double | e[] | ) | const [inline] |
| double Matrix33::det | ( | ) | const [inline] |
| void Matrix33::eye | ( | ) | [inline] |
Definition at line 451 of file linalg3.h.
References element.
Referenced by MDFrame::NPH_VVerlet_Explicit_1(), UnitCell::set(), and UnitCell::UnitCell().
| Vector3 Matrix33::height | ( | ) | const [inline] |
| Matrix33 Matrix33::inv | ( | ) | const [inline] |
Definition at line 369 of file linalg3.h.
References adj(), element, and tran().
Referenced by XGeo::drawBox(), MDFrame::Ewald_init(), XGeo::getlineendpoints(), XGeo::getxline(), height(), LJBONDFrame::makelipids(), MDFrame::NPH_Gear6(), MDFrame::NPH_VVerlet_Explicit_1(), MDFrame::NPT_Gear6(), MDFrame::NPTC_Gear6(), MDFrame::NVE_Gear6(), MDFrame::NVT_Gear6(), MDFrame::NVTC_Gear6(), UnitCell::operator*(), MDFrame::VVerlet_Get_s2(), and RODSFrame::zero_com_rotation().
Definition at line 313 of file linalg3.h.
References element, Vector3::x, Vector3::y, and Vector3::z.
Definition at line 305 of file linalg3.h.
References element, Vector3::x, Vector3::y, and Vector3::z.
| Matrix33 Matrix33::operator* | ( | double | n | ) | const [inline] |
| void Matrix33::operator*= | ( | double | n | ) | [inline] |
| Matrix33 Matrix33::operator+ | ( | double | n | ) | const [inline] |
| Matrix33 Matrix33::operator- | ( | ) | const [inline] |
| Matrix33 Matrix33::operator- | ( | double | n | ) | const [inline] |
| Matrix33 Matrix33::operator/ | ( | double | n | ) | const [inline] |
| void Matrix33::operator/= | ( | double | n | ) | [inline] |
| double* Matrix33::operator[] | ( | int | i | ) | [inline] |
| const double* Matrix33::operator[] | ( | int | i | ) | const [inline] |
| Matrix33 Matrix33::reorient | ( | ) | const [inline] |
Definition at line 381 of file linalg3.h.
References element, Vector3::norm(), set(), and Vector3::set().
| void Matrix33::set | ( | const double | e[] | ) | [inline] |
| void Matrix33::set | ( | const double | e1, | |
| const double | e2, | |||
| const double | e3, | |||
| const double | e4, | |||
| const double | e5, | |||
| const double | e6, | |||
| const double | e7, | |||
| const double | e8, | |||
| const double | e9 | |||
| ) | [inline] |
Definition at line 162 of file linalg3.h.
References element.
Referenced by MEAMFrame::MEAM(), MDFrame::NPH_VVerlet_Explicit_1(), reorient(), and Converter::writepdb().
| void Matrix33::setcol | ( | double | a[], | |
| double | b[], | |||
| double | c[] | |||
| ) | [inline] |
Definition at line 172 of file linalg3.h.
References element.
Referenced by XGeo::drawBox(), and XGeo::getxline().
| double Matrix33::trace | ( | ) | const [inline] |
| Matrix33 Matrix33::tran | ( | ) | const [inline] |
Definition at line 361 of file linalg3.h.
References element.
Referenced by inv(), MDFrame::NPH_Gear6(), MDFrame::NPH_VVerlet_Explicit_1(), MDFrame::NPT_Gear6(), and MDFrame::NPTC_Gear6().
| LOStream& operator<< | ( | LOStream & | os, | |
| const Matrix33 & | m | |||
| ) | [friend] |
| LIStream& operator>> | ( | LIStream & | is, | |
| Matrix33 & | m | |||
| ) | [friend] |
| double Matrix33::element[3][3] |
Definition at line 149 of file linalg3.h.
Referenced by addnvv(), adj(), clear(), copytoarray(), det(), eye(), inv(), Matrix33(), multiply(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator/(), operator/=(), operator[](), reorient(), set(), setcol(), trace(), and tran().
1.5.7.1