sc::IntCoor(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

πŸŽ€ 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, and sc::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 (with save_data_state) and the members in the same order that the StateIn CTOR 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_conv
  • static 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 a Molecule object.
  • unit β€” the unit in which the value is given. This can be bohr, anstrom, radian, and degree. The default is bohr for lengths and radian for 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