.TH "sc::LinOPSimpleCo" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::LinOPSimpleCo \- The \fBLinOPSimpleCo\fP class describes an out-of-plane component of a linear 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 "\fBLinOPSimpleCo\fP (const \fBLinOPSimpleCo\fP &)" .br .ti -1c .RI "\fBLinOPSimpleCo\fP (const char *refr, int, int, int, const \fBSCVector3\fP &u)" .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 linear angle abc\&. " .ti -1c .RI "\fBLinOPSimpleCo\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 'LINIP'\&. " .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 \fBLinOPSimpleCo\fP class describes an out-of-plane component of a linear bend internal coordinate of a molecule\&. The input is described in the documentation of its parent class \fBSimpleCo\fP\&. A vector, $\bar{u}$, given as the keyword u, that is not colinear with either $\bar{r}_a - \bar{r}_b$ or $\bar{r}_b - \bar{r}_c$ must be provided, where $\bar{r}_a$, $\bar{r}_b$, and $\bar{r}_c$ are the positions of the first, second, and third atoms, respectively\&. .PP Usually, \fBLinOPSimpleCo\fP is used with a corresponding \fBLinIPSimpleCo\fP, which is given exactly the same u\&. .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_o$, 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}_b - \bar{r}_c}{\| \bar{r}_c - \bar{r}_b \|}\] \[ \bar{n} = \frac{\bar{u} \times \bar{u}_{ab}} {\| \bar{u} \times \bar{u}_{ab} \|}\] \[ \theta_o = \pi - \arccos ( \bar{u}_{ab} \cdot \bar{n} ) - \arccos ( \bar{u}_{cb} \cdot \bar{n} )\] .SH "Constructor & Destructor Documentation" .PP .SS "sc::LinOPSimpleCo::LinOPSimpleCo (const char * refr, int, int, int, const \fBSCVector3\fP & u)" .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 linear angle abc\&. The last argument, u, is a unit vector used to defined the direction perpendicular to the direction in which distortion is measured\&. Atom numbering begins at atom 1, not atom 0\&. .SS "sc::LinOPSimpleCo::LinOPSimpleCo (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\&.