Stores one atom type's CHARMM Lennard-Jones parameters. More...
#include <CharmmParameters.h>
Public Member Functions | |
| VdwParameters (void) | |
| Constructs zero-valued Lennard-Jones parameters. | |
| VdwParameters (const double eps, const double rm2) | |
| Constructs Lennard-Jones parameters. | |
Public Attributes | |
| double | epsilon |
| double | rmin_2 |
Friends | |
| std::ostream & | operator<< (std::ostream &output, const VdwParameters &vdw) |
| Writes the well depth and half-distance plus a newline. | |
Stores one atom type's CHARMM Lennard-Jones parameters.
The parser stores values exactly as represented in a NONBONDED record. It performs no physical-range or sign validation.
|
inline |
Constructs zero-valued Lennard-Jones parameters.
epsilon == 0.0 and rmin_2 == 0.0.
|
inline |
Constructs Lennard-Jones parameters.
| [in] | eps | Well-depth value in kcal mol^-1 as written in the CHARMM parameter record. |
| [in] | rm2 | Half of the minimum-energy pair distance in angstroms. |
|
friend |
Writes the well depth and half-distance plus a newline.
| [in,out] | output | Stream that receives the text. |
| [in] | vdw | Lennard-Jones parameters to write. |
output after the write. | double VdwParameters::epsilon |
Well-depth value in kcal mol^-1 as parsed.
| double VdwParameters::rmin_2 |
Half of the minimum-energy pair distance in angstroms.