Stores one CHARMM proper-dihedral Fourier term. More...
#include <CharmmParameters.h>
Public Member Functions | |
| DihedralValues (void) | |
| Constructs a zero-valued proper-dihedral term. | |
| DihedralValues (const double kChi, const int n, const double delta) | |
| Constructs a proper-dihedral Fourier term. | |
| DihedralValues (const DihedralValues &other)=default | |
| Copies a proper-dihedral term. | |
Public Attributes | |
| double | kChi |
| double | delta |
| int | n |
Friends | |
| std::ostream & | operator<< (std::ostream &output, const DihedralValues &dv) |
| Writes the amplitude, phase, and multiplicity plus a newline. | |
Stores one CHARMM proper-dihedral Fourier term.
The represented potential is kChi * (1 + cos(n * phi - delta)). The parser accepts any representable integer multiplicity, but the packed CUDA continuation encoding assumes a positive terminal multiplicity.
|
inline |
Constructs a zero-valued proper-dihedral term.
kChi == 0.0, delta == 0.0, and n == 0.
|
inline |
Constructs a proper-dihedral Fourier term.
| [in] | kChi | Fourier amplitude in kcal mol^-1. |
| [in] | n | Dimensionless integer multiplicity. |
| [in] | delta | Phase offset in degrees. |
|
default |
Copies a proper-dihedral term.
| [in] | other | Value to copy. |
|
friend |
Writes the amplitude, phase, and multiplicity plus a newline.
| [in,out] | output | Stream that receives the text. |
| [in] | dv | Proper-dihedral term to write. |
output after the write. | double DihedralValues::delta |
Phase offset in degrees.
| double DihedralValues::kChi |
Fourier amplitude in kcal mol^-1.
| int DihedralValues::n |
Dimensionless integer multiplicity.