#include <indigox/classes/forcefield.hpp>
|
enum | Type |
| Enum for the different function types a angle term can have. More...
|
|
◆ Type
Enum for the different function types a angle term can have.
Though other values are provided, currently only the harmonic and cosine-harmonic function types are technically supported.
Enumerator |
---|
Empty | |
Harmonic | |
CosineHarmonic | |
UreyBradley | |
Quartic | |
◆ FFAngle() [1/3]
◆ FFAngle() [2/3]
◆ FFAngle() [3/3]
◆ ~ FFAngle()
◆ GetForceConstant()
double GetForceConstant |
( |
| ) |
const |
Get the force constant.
- Returns
- the force constant.
- Exceptions
-
std::runtime_error | if the type does not allow a force constant. |
◆ GetForcefield()
◆ GetID()
Get the ID for this type.
- Returns
- the ID of this dihedral type.
◆ GetIdealAngle()
double GetIdealAngle |
( |
| ) |
const |
Get the ideal angle (in degrees).
- Returns
- the ideal angle.
- Exceptions
-
std::runtime_error | if the type does not allow an ideal angle. |
◆ GetLinkedType()
Get the linked type for this type.
A linked type is an equivalent type with a different functional type.
- Returns
- the linked type.
◆ GetType()
Get the potential energy function type.
- Returns
- the type of the potential energy function.
◆ operator bool()
◆ operator!=()
bool operator!= |
( |
const FFAngle & |
ang | ) |
const |
|
inline |
◆ operator<()
bool operator< |
( |
const FFAngle & |
ang | ) |
const |
◆ operator<=()
bool operator<= |
( |
const FFAngle & |
ang | ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool operator== |
( |
const FFAngle & |
ang | ) |
const |
◆ operator>()
bool operator> |
( |
const FFAngle & |
ang | ) |
const |
◆ operator>=()
bool operator>= |
( |
const FFAngle & |
ang | ) |
const |
|
inline |
◆ cereal::access
friend class cereal::access |
|
friend |
Friendship allows serialisation.
◆ Forcefield
Friendship allows angle types to be added to a forcefield.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const FFAngle & |
ang |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: