MSpin-JCoupling
2.1
|
Representation of a conformer. More...
#include <frame.h>
Public Member Functions | |
Frame (Molecule *molecule) | |
Frame (const Frame &frame) | |
Frame & | operator= (const Frame &frame) |
const std::vector< Bond > & | Bonds () const |
std::vector< Bond > & | Bonds () |
const std::vector< Coordinate > & | XYZ () const |
std::vector< Coordinate > & | XYZ () |
D2Array< double > | InertiaTensor () const |
D2Array< double > | GyrationTensor () const |
void | SetDihedral (size_t i, size_t j, size_t k, size_t l, float dihedral) |
void | RotateBond (size_t i, size_t j, float angle, bool clockwise) |
Energy & | KineticEnergy () |
const Energy & | KineticEnergy () const |
const Energy & | PotentialEnergy () const |
Energy & | PotentialEnergy () |
Energy | TotalEnergy () const |
float | Distance (int i, int j) const |
float | Angle (int i, int j, int l) const |
float | Dihedral (int i, int j, int k, int l) const |
Coordinate | MassCenter () const |
Coordinate | Centroid () const |
std::vector< std::vector< size_t > > | Rings (size_t size=0) const |
Coordinate | Vector (int i, int j) const |
const Molecule * | ParentMolecule () const |
Molecule * | ParentMolecule () |
const std::vector< D2Array< double > > & | ChemicalShieldingTensors () const |
std::vector< D2Array< double > > & | ChemicalShieldingTensors () |
const std::vector< D2Array< double > > & | EFGTensors () const |
std::vector< D2Array< double > > & | EFGTensors () |
void | SetTitle (const std::string &string) |
const std::string & | Title () const |
const std::string & | FileName () const |
void | SetFileName (const std::string &filename) |
void | Reparent (Molecule *mol) |
Representation of a conformer.
float magnes::Frame::Angle | ( | int | i, |
int | j, | ||
int | l | ||
) | const |
const std::vector<Bond>& magnes::Frame::Bonds | ( | ) | const |
std::vector<Bond>& magnes::Frame::Bonds | ( | ) |
Coordinate magnes::Frame::Centroid | ( | ) | const |
const std::vector< D2Array<double> >& magnes::Frame::ChemicalShieldingTensors | ( | ) | const |
return a const vector with the chemical shift tensors
std::vector< D2Array<double> >& magnes::Frame::ChemicalShieldingTensors | ( | ) |
return a vector with the chemical shift tensors
float magnes::Frame::Dihedral | ( | int | i, |
int | j, | ||
int | k, | ||
int | l | ||
) | const |
float magnes::Frame::Distance | ( | int | i, |
int | j | ||
) | const |
const std::vector< D2Array<double> >& magnes::Frame::EFGTensors | ( | ) | const |
return a const vector with the chemical shift tensors
std::vector< D2Array<double> >& magnes::Frame::EFGTensors | ( | ) |
return a vector with the chemical shift tensors
const std::string& magnes::Frame::FileName | ( | ) | const |
return the filename corresponding to the frame
D2Array<double> magnes::Frame::GyrationTensor | ( | ) | const |
D2Array<double> magnes::Frame::InertiaTensor | ( | ) | const |
Energy& magnes::Frame::KineticEnergy | ( | ) |
const Energy& magnes::Frame::KineticEnergy | ( | ) | const |
Coordinate magnes::Frame::MassCenter | ( | ) | const |
|
inline |
|
inline |
References magnes::operator<<().
const Energy& magnes::Frame::PotentialEnergy | ( | ) | const |
Energy& magnes::Frame::PotentialEnergy | ( | ) |
void magnes::Frame::Reparent | ( | Molecule * | mol | ) |
Reparent the frame
std::vector< std::vector<size_t> > magnes::Frame::Rings | ( | size_t | size = 0 | ) | const |
size | or all rings if 0 |
void magnes::Frame::RotateBond | ( | size_t | i, |
size_t | j, | ||
float | angle, | ||
bool | clockwise | ||
) |
rotate bond between atoms i and j
void magnes::Frame::SetDihedral | ( | size_t | i, |
size_t | j, | ||
size_t | k, | ||
size_t | l, | ||
float | dihedral | ||
) |
set the dihedral angle in radians
void magnes::Frame::SetFileName | ( | const std::string & | filename | ) |
set the filename for the frame
void magnes::Frame::SetTitle | ( | const std::string & | string | ) |
put a tile
const std::string& magnes::Frame::Title | ( | ) | const |
return the title of the frame
Energy magnes::Frame::TotalEnergy | ( | ) | const |
Coordinate magnes::Frame::Vector | ( | int | i, |
int | j | ||
) | const |
const std::vector<Coordinate>& magnes::Frame::XYZ | ( | ) | const |
std::vector<Coordinate>& magnes::Frame::XYZ | ( | ) |