.TH "sc::IntCoor" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::IntCoor \- The \fBIntCoor\fP abstract class describes an internal coordinate of a molecule\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::SavableState\fP\&. .PP Inherited by \fBsc::SimpleCo\fP, and \fBsc::SumIntCoor\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBIntCoor\fP (\fBStateIn\fP &)" .br .ti -1c .RI "\fBIntCoor\fP (const \fBIntCoor\fP &)" .br .ti -1c .RI "\fBIntCoor\fP (const char *\fBlabel\fP=0)" .br .RI "This constructor takes a string containing a label for the internal coordinate\&. " .ti -1c .RI "\fBIntCoor\fP (const \fBRef\fP< \fBKeyVal\fP > &)" .br .RI "The \fBKeyVal\fP constructor\&. " .ti -1c .RI "void \fBsave_data_state\fP (\fBStateOut\fP &)" .br .RI "Save the base classes (with save_data_state) and the members in the same order that the \fBStateIn\fP CTOR initializes them\&. " .ti -1c .RI "virtual const char * \fBlabel\fP () const" .br .RI "Returns the string containing the label for the internal coordinate\&. " .ti -1c .RI "virtual double \fBvalue\fP () const" .br .RI "Returns the value of the coordinate in atomic units or radians\&. " .ti -1c .RI "virtual void \fBset_value\fP (double)" .br .RI "Sets the value of the coordinate in atomic units or radians\&. " .ti -1c .RI "virtual double \fBpreferred_value\fP () const" .br .RI "Returns the value of the coordinate in more familiar units\&. " .ti -1c .RI "virtual const char * \fBctype\fP () const =0" .br .RI "Returns a string representation of the type of coordinate this is\&. " .ti -1c .RI "virtual void \fBprint\fP (std::ostream &o=\fBExEnv::out0\fP()) const" .br .RI "Print information about the coordinate\&. " .ti -1c .RI "virtual void \fBprint_details\fP (const \fBRef\fP< \fBMolecule\fP > &, std::ostream &=\fBExEnv::out0\fP()) const" .br .ti -1c .RI "virtual double \fBforce_constant\fP (\fBRef\fP< \fBMolecule\fP > &)=0" .br .RI "Returns the value of the force constant associated with this coordinate\&. " .ti -1c .RI "virtual void \fBupdate_value\fP (const \fBRef\fP< \fBMolecule\fP > &)=0" .br .RI "Recalculate the value of the coordinate\&. " .ti -1c .RI "virtual void \fBbmat\fP (const \fBRef\fP< \fBMolecule\fP > &, \fBRefSCVector\fP &bmat, double coef=1\&.0)=0" .br .RI "Fill in a row the the B matrix\&. " .ti -1c .RI "virtual int \fBequivalent\fP (\fBRef\fP< \fBIntCoor\fP > &)=0" .br .RI "Test to see if this internal coordinate is equivalent to that one\&. " .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "char * \fBlabel_\fP" .br .ti -1c .RI "double \fBvalue_\fP" .br .in -1c .SS "Static Protected Attributes" .in +1c .ti -1c .RI "static double \fBbohr_conv\fP" .br .ti -1c .RI "static double \fBradian_conv\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBIntCoor\fP abstract class describes an internal coordinate of a molecule\&. .SH "Constructor & Destructor Documentation" .PP .SS "sc::IntCoor::IntCoor (const char * label = \fC0\fP)" .PP This constructor takes a string containing a label for the internal coordinate\&. The string is copied\&. .SS "sc::IntCoor::IntCoor (const \fBRef\fP< \fBKeyVal\fP > &)" .PP The \fBKeyVal\fP constructor\&. .IP "\fB\fClabel\fP\fP" 1c A label for the coordinate using only to identify the coordinate to the user in printouts\&. The default is no label\&. .PP .IP "\fB\fCvalue\fP\fP" 1c 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 \fBMolecule\fP object\&. .PP .IP "\fB\fCunit\fP\fP" 1c 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\&. .PP .PP .SH "Member Function Documentation" .PP .SS "virtual int sc::IntCoor::equivalent (\fBRef\fP< \fBIntCoor\fP > &)\fC [pure virtual]\fP" .PP Test to see if this internal coordinate is equivalent to that one\&. The definition of equivalence is left up to the individual coordinates\&. .PP Implemented in \fBsc::SimpleCo\fP, and \fBsc::SumIntCoor\fP\&. .SS "void sc::IntCoor::save_data_state (\fBStateOut\fP &)\fC [virtual]\fP" .PP Save the base classes (with save_data_state) and the members in the same order that the \fBStateIn\fP CTOR initializes them\&. This must be implemented by the derived class if the class has data\&. .PP Reimplemented from \fBsc::SavableState\fP\&. .PP Reimplemented in \fBsc::SimpleCo\fP, and \fBsc::SumIntCoor\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.