#include <linalg3.h>
Public Member Functions | |
| Vector3 () | |
| double | operator[] (int i) const |
| double & | operator[] (int i) |
| Vector3 (double a, double b, double c) | |
| Vector3 (const double a[]) | |
| Vector3 | operator+ (const Vector3 &a) const |
| Vector3 | operator- (Vector3 &a) const |
| Vector3 | operator* (double b) const |
| Vector3 | operator/ (double b) const |
| void | add (Vector3 &a, Vector3 &b) |
| void | subtract (Vector3 &a, Vector3 &b) |
| void | addnv (double a, const Vector3 &b) |
| void | invert () |
| void | subint () |
| double | norm2 () const |
| double | norm () const |
| void | clear () |
| double | operator* (const Vector3 &a) const |
| void | operator+= (double b) |
| void | operator-= (double b) |
| void | operator*= (double b) |
| void | operator/= (double b) |
| void | operator+= (const Vector3 &a) |
| void | operator-= (const Vector3 &a) |
| void | operator*= (const Vector3 &a) |
| void | operator/= (const Vector3 &a) |
| void | set (const double a, const double b, const double c) |
| void | set (const double a[]) |
| void | add (const double a, const double b, const double c) |
| void | copytoarray (double a[]) const |
| Vector3 | sq () const |
| Vector3 | sqroot () const |
| Vector3 & | orth (Vector3 &a) |
| Vector3 & | proj (Vector3 &a) |
Public Attributes | |
| double | x |
| double | y |
| double | z |
Friends | |
| double | dot (Vector3 &a, Vector3 &b) |
| Vector3 | cross (Vector3 &a, Vector3 &b) |
| Vector3 | schmidt (Vector3 &a, Vector3 &b) |
| LOStream & | operator<< (LOStream &os, const Vector3 &a) |
| LIStream & | operator>> (LIStream &is, Vector3 &a) |
Definition at line 18 of file linalg3.h.
| Vector3::Vector3 | ( | const double | a[] | ) | [inline] |
| void Vector3::add | ( | const double | a, | |
| const double | b, | |||
| const double | c | |||
| ) | [inline] |
| void Vector3::addnv | ( | double | a, | |
| const Vector3 & | b | |||
| ) | [inline] |
| void Vector3::clear | ( | ) | [inline] |
Definition at line 44 of file linalg3.h.
Referenced by ALGLUEFrame::al_glue(), BKSFrame::bks_mod(), BMBFrame::born_meyer_buckingham(), MDFrame::CE_Real(), MDFrame::CE_Rec(), SIEDIPFrame::edip(), FSFrame::finnis_sinclair(), XGeo::getlineendpoints(), XGeo::getxline(), XGeo::getxpoint(), LJFrame::lennard_jones(), LJ2Frame::lennard_jones_2(), LJBONDFrame::lennard_jones_bond(), LJDIMERFrame::lennard_jones_dimer(), MDFrame::PME_Rec(), proj(), EAMFrame::rhoeam(), MEAMFrame::rhoMEAM(), RODSFrame::rods_potential(), UnitCell::set(), SWFrame::stillinger_weber(), SWFrame::stillinger_weber_energyonly(), TersoffFrame::tersoff(), and UnitCell::UnitCell().
| void Vector3::copytoarray | ( | double | a[] | ) | const [inline] |
| double Vector3::norm | ( | ) | const [inline] |
Definition at line 43 of file linalg3.h.
Referenced by MDFrame::calcrystalorder(), RODSFrame::connect_nodes(), MDFrame::DFS(), MDFrame::DFS1(), XGeo::drawBox(), XGeo::drawVectors(), Matrix33::height(), LJDIMERFrame::lennard_jones_dimer_constrained(), LJBONDFrame::makelipids(), Matrix33::reorient(), and Converter::writepdb().
| double Vector3::norm2 | ( | ) | const [inline] |
Definition at line 42 of file linalg3.h.
Referenced by ALGLUEFrame::al_glue(), BKSFrame::bks_mod(), BMBFrame::born_meyer_buckingham(), MDFrame::CE_Real(), MEAMFrame::dscreen(), MEAMFrame::dscrfor(), SIEDIPFrame::edip(), FSFrame::finnis_sinclair(), XGeo::getlineendpoints(), XGeo::getxline(), EAMFrame::kraeam(), MEAMFrame::kraMEAM(), LJFrame::lennard_jones(), LJ2Frame::lennard_jones_2(), LJBONDFrame::lennard_jones_bond(), LJDIMERFrame::lennard_jones_dimer(), orth(), proj(), EAMFrame::rhoeam(), MEAMFrame::rhoMEAM(), RODSFrame::rods_potential(), MEAMFrame::screen(), SWFrame::stillinger_weber(), SWFrame::stillinger_weber_energyonly(), TersoffFrame::tersoff(), and MDFrame::VVerlet_Get_Tinst().
| double Vector3::operator* | ( | const Vector3 & | a | ) | const [inline] |
| Vector3 Vector3::operator* | ( | double | b | ) | const [inline] |
| void Vector3::operator*= | ( | const Vector3 & | a | ) | [inline] |
| void Vector3::operator*= | ( | double | b | ) | [inline] |
| void Vector3::operator+= | ( | const Vector3 & | a | ) | [inline] |
| void Vector3::operator+= | ( | double | b | ) | [inline] |
| void Vector3::operator-= | ( | const Vector3 & | a | ) | [inline] |
| void Vector3::operator-= | ( | double | b | ) | [inline] |
| Vector3 Vector3::operator/ | ( | double | b | ) | const [inline] |
| void Vector3::operator/= | ( | const Vector3 & | a | ) | [inline] |
| void Vector3::operator/= | ( | double | b | ) | [inline] |
| double& Vector3::operator[] | ( | int | i | ) | [inline] |
| double Vector3::operator[] | ( | int | i | ) | const [inline] |
| void Vector3::set | ( | const double | a[] | ) | [inline] |
| void Vector3::set | ( | const double | a, | |
| const double | b, | |||
| const double | c | |||
| ) | [inline] |
Definition at line 69 of file linalg3.h.
Referenced by XGeo::drawBox(), XGeo::drawLines(), XGeo::drawPlanes(), XGeo::drawVectors(), XGeo::drawXlines(), XGeo::drawXpoints(), SIEDIPFrame::edip(), RODSFrame::final_structure(), Matrix33::height(), RODSFrame::init_structure(), LJBONDFrame::makelipids(), MEAMFrame::MEAM(), UnitCell::operator*(), Matrix33::reorient(), MEAMFrame::rhoMEAM(), and Converter::writepdb().
| Vector3 Vector3::sq | ( | ) | const [inline] |
| Vector3 Vector3::sqroot | ( | ) | const [inline] |
| void Vector3::subint | ( | ) | [inline] |
Definition at line 41 of file linalg3.h.
Referenced by ALGLUEFrame::al_glue(), BKSFrame::bks_mod(), BMBFrame::born_meyer_buckingham(), MDFrame::calcrystalorder(), MDFrame::CE_Real(), MDFrame::DFS(), MDFrame::DFS1(), MEAMFrame::dscreen(), MEAMFrame::dscrfor(), SIEDIPFrame::edip(), FSFrame::finnis_sinclair(), EAMFrame::kraeam(), MEAMFrame::kraMEAM(), LJFrame::lennard_jones(), LJ2Frame::lennard_jones_2(), LJBONDFrame::lennard_jones_bond(), LJDIMERFrame::lennard_jones_dimer(), LJDIMERFrame::lennard_jones_dimer_constrained(), RODSFrame::plot(), EAMFrame::rhoeam(), MEAMFrame::rhoMEAM(), MEAMFrame::screen(), SWFrame::stillinger_weber(), SWFrame::stillinger_weber_energyonly(), TersoffFrame::tersoff(), and Converter::writepdb().
Definition at line 38 of file linalg3.h.
Referenced by SWFrame::stillinger_weber(), SWFrame::stillinger_weber_energyonly(), and TersoffFrame::tersoff().
| LOStream& operator<< | ( | LOStream & | os, | |
| const Vector3 & | a | |||
| ) | [friend] |
| LIStream& operator>> | ( | LIStream & | is, | |
| Vector3 & | a | |||
| ) | [friend] |
| double Vector3::x |
Definition at line 21 of file linalg3.h.
Referenced by add(), addnv(), Matrix33::addnvv(), MDFrame::calcrystalorder(), MDFrame::CE_Rec(), clear(), copytoarray(), MEAMFrame::dscrfor(), SIEDIPFrame::edip(), invert(), MEAMFrame::MEAM(), Matrix33::multiply(), norm(), norm2(), UnitCell::operator*(), Matrix33::operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator[](), orth(), RODSFrame::plot(), MDFrame::PME_Rec(), proj(), UnitCell::set(), set(), sq(), sqroot(), SWFrame::stillinger_weber(), subint(), subtract(), UnitCell::UnitCell(), Vector3(), Converter::writepdb(), and RODSFrame::zero_com_rotation().
| double Vector3::y |
Definition at line 21 of file linalg3.h.
Referenced by add(), addnv(), Matrix33::addnvv(), MDFrame::calcrystalorder(), MDFrame::CE_Rec(), clear(), copytoarray(), MEAMFrame::dscrfor(), SIEDIPFrame::edip(), invert(), MEAMFrame::MEAM(), Matrix33::multiply(), norm(), norm2(), UnitCell::operator*(), Matrix33::operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), orth(), RODSFrame::plot(), MDFrame::PME_Rec(), proj(), UnitCell::set(), set(), sq(), sqroot(), SWFrame::stillinger_weber(), subint(), subtract(), UnitCell::UnitCell(), Vector3(), Converter::writepdb(), and RODSFrame::zero_com_rotation().
| double Vector3::z |
Definition at line 21 of file linalg3.h.
Referenced by add(), addnv(), Matrix33::addnvv(), MDFrame::calcrystalorder(), MDFrame::CE_Rec(), clear(), copytoarray(), MEAMFrame::dscrfor(), SIEDIPFrame::edip(), invert(), MEAMFrame::MEAM(), Matrix33::multiply(), norm(), norm2(), UnitCell::operator*(), Matrix33::operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), orth(), RODSFrame::plot(), MDFrame::PME_Rec(), proj(), UnitCell::set(), set(), sq(), sqroot(), SWFrame::stillinger_weber(), subint(), subtract(), UnitCell::UnitCell(), Vector3(), Converter::writepdb(), and RODSFrame::zero_com_rotation().
1.5.7.1