.TH "sc::BendSimpleCo" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::BendSimpleCo \- The \fBBendSimpleCo\fP class describes an bend internal coordinate of a molecule\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::SimpleCo\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBBendSimpleCo\fP (const \fBBendSimpleCo\fP &)" .br .ti -1c .RI "\fBBendSimpleCo\fP (const char *, int, int, int)" .br .RI "This constructor takes a string containing a label, and three integers a, b, and c which give the indices of the atoms involved in the angle abc\&. " .ti -1c .RI "\fBBendSimpleCo\fP (const \fBRef\fP< \fBKeyVal\fP > &)" .br .RI "The \fBKeyVal\fP constructor\&. " .ti -1c .RI "const char * \fBctype\fP () const" .br .RI "Always returns the string 'BEND'\&. " .ti -1c .RI "double \fBradians\fP () const" .br .RI "Returns the value of the angle abc in radians\&. " .ti -1c .RI "double \fBdegrees\fP () const" .br .RI "Returns the value of the angle abc in degrees\&. " .ti -1c .RI "double \fBpreferred_value\fP () const" .br .RI "Returns the value of the angle abc in degrees\&. " .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBBendSimpleCo\fP class describes an bend internal coordinate of a molecule\&. The input is described in the documentation of its parent class \fBSimpleCo\fP\&. .PP Designating the three atoms as $a$, $b$, and $c$ and their cartesian positions as $\bar{r}_a$, $\bar{r}_b$, and $\bar{r}_c$, the value of the coordinate, $\theta$, is given by .PP \[ \bar{u}_{ab} = \frac{\bar{r}_a - \bar{r}_b}{\| \bar{r}_a - \bar{r}_b \|}\] \[ \bar{u}_{cb} = \frac{\bar{r}_c - \bar{r}_b}{\| \bar{r}_c - \bar{r}_b \|}\] \[ \theta = \arccos ( \bar{u}_{ab} \cdot \bar{u}_{cb} ) \] .SH "Constructor & Destructor Documentation" .PP .SS "sc::BendSimpleCo::BendSimpleCo (const char *, int, int, int)" .PP This constructor takes a string containing a label, and three integers a, b, and c which give the indices of the atoms involved in the angle abc\&. Atom numbering begins at atom 1, not atom 0\&. .SS "sc::BendSimpleCo::BendSimpleCo (const \fBRef\fP< \fBKeyVal\fP > &)" .PP The \fBKeyVal\fP constructor\&. This calls the \fBSimpleCo\fP keyval constructor with an integer argument of 3\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.