sc::IntCoor(3)
π sc::IntCoor(3) β MPQC's internal-coordinate icon π
okay so this is the sc::IntCoor(3) page from MPQC, and it's about the IntCoor abstract class. Translation: it describes an internal coordinate of a molecule. That's the vibe. periodt. β¨
πΈ NAME
sc::IntCoor β the IntCoor abstract class describes an internal coordinate of a molecule. No cap. π
β¨ SYNOPSIS
#include <coor.h>
- Inherits
sc::SavableState. - Inherited by
sc::SimpleCo, andsc::SumIntCoor.
π Public Member Functions
IntCoor (StateIn &)β signature only in the original; it's just here doing its constructor thing. π«ΆIntCoor (const IntCoor &)β the copy-constructor cameo, again with no extra description in the original. πIntCoor (const char *label=0)β this constructor takes a string containing a label for the internal coordinate. Label moment. β¨IntCoor (const Ref< KeyVal > &)β the KeyVal constructor.void save_data_state (StateOut &)β save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.virtual const char * label () constβ returns the string containing the label for the internal coordinate.virtual double value () constβ returns the value of the coordinate in atomic units or radians.virtual void set_value (double)β sets the value of the coordinate in atomic units or radians.virtual double preferred_value () constβ returns the value of the coordinate in more familiar units.virtual const char * ctype () const =0β returns a string representation of the type of coordinate this is.virtual void print (std::ostream &o=ExEnv::out0()) constβ print information about the coordinate.virtual void print_details (const Ref< Molecule > &, std::ostream &=ExEnv::out0()) constβ signature only in the original, bestie. It's giving "mysterious." π¦virtual double force_constant (Ref< Molecule > &)=0β returns the value of the force constant associated with this coordinate.virtual void update_value (const Ref< Molecule > &)=0β recalculate the value of the coordinate.virtual void bmat (const Ref< Molecule > &, RefSCVector &bmat, double coef=1.0)=0β fill in a row the the B matrix. (Yes, "the the" is in the original β preserved with love. π)virtual int equivalent (Ref< IntCoor > &)=0β test to see if this internal coordinate is equivalent to that one.
π‘οΈ Protected Attributes
char * label_double value_
π§ Static Protected Attributes
static double bohr_convstatic double radian_conv
π Additional Inherited Members
The original has this heading but no extra details printed under it. It's just here, existing. iykyk. π
π₯ Detailed Description
The IntCoor abstract class describes an internal coordinate of a molecule. That's the whole assignment. Iconic. π¦
π Constructor & Destructor Documentation
sc::IntCoor::IntCoor (const char * label = 0)
This constructor takes a string containing a label for the internal coordinate. The string is copied. Literally copied. β¨
sc::IntCoor::IntCoor (const Ref< KeyVal > &)
The KeyVal constructor.
labelβ a label for the coordinate using only to identify the coordinate to the user in printouts. The default is no label.valueβ a value for the coordinate. In the way that coordinates are usually used, the default is to compute a value from the cartesian coordinates in aMoleculeobject.unitβ the unit in which the value is given. This can bebohr,anstrom,radian, anddegree. The default isbohrfor lengths andradianfor angles.
π Member Function Documentation
virtual int sc::IntCoor::equivalent (Ref< IntCoor > &) [pure virtual]
Test to see if this internal coordinate is equivalent to that one. The definition of equivalence is left up to the individual coordinates. Very "you do you."
Implemented in sc::SumIntCoor, and sc::SimpleCo.
void sc::IntCoor::save_data_state (StateOut &) [virtual]
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. This must be implemented by the derived class if the class has data.
Reimplemented from sc::SavableState.
Reimplemented in sc::SumIntCoor, and sc::SimpleCo.
π Author
Generated automatically by Doxygen for MPQC from the source code.
π Cute sign-off: Version 2.3.1 Β· Sun Oct 4 2020 Β· generated from the MPQC source, mwah π«Ά
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms