sc::StreSimpleCo Class Reference

The StreSimpleCo class describes an stretch internal coordinate of a molecule. More...

#include <simple.h>

Inheritance diagram for sc::StreSimpleCo:

sc::SimpleCo sc::IntCoor sc::SavableState sc::DescribedClass sc::RefCount sc::Identity List of all members.

Public Member Functions

 StreSimpleCo (const StreSimpleCo &)
 StreSimpleCo (const char *, int, int)
 This constructor takes a string containing a label, and two integers which are the indices of the atoms we're measuring the distance between.
 StreSimpleCo (const Ref< KeyVal > &)
 The KeyVal constructor.
const char * ctype () const
 Always returns the string "STRE".
double bohr () const
 Returns the distance between the two atoms in atomic units.
double angstrom () const
 Returns the distance between the two atoms in angstrom units.
double preferred_value () const
 Returns the distance between the two atoms in angstrom units.

Detailed Description

The StreSimpleCo class describes an stretch internal coordinate of a molecule.

The input is described in the documentation of its parent class SimpleCo.

Designating the two atoms as $a$ and $b$ and their cartesian positions as $\bar{r}_a$ and $\bar{r}_b$, the value of the coordinate, $r$, is

\[ r = \| \bar{r}_a - \bar{r}_b \| \]


Constructor & Destructor Documentation

sc::StreSimpleCo::StreSimpleCo ( const char *  ,
int  ,
int   
)

This constructor takes a string containing a label, and two integers which are the indices of the atoms we're measuring the distance between.

Atom numbering begins at atom 1, not atom 0.

sc::StreSimpleCo::StreSimpleCo ( const Ref< KeyVal > &   ) 

The KeyVal constructor.

This calls the SimpleCo keyval constructor with an integer argument of 2.


The documentation for this class was generated from the following file:
Generated at Mon Dec 3 23:23:48 2007 for MPQC 2.3.1 using the documentation package Doxygen 1.5.2.