#include <indigox/classes/forcefield.hpp>
|
| enum | Type |
| | Enum for the different function types a bond term can have. More...
|
| |
◆ Type
Enum for the different function types a bond term can have.
Though other values are provided, currently only the harmonic and quartic function types are technically supported.
| Enumerator |
|---|
| Empty | An empty bond type with no parameters.
|
| Harmonic | A harmonic bond type taking the form .
|
| Quartic | A quartic bond type taking the form .
|
| Morse | |
| Cubic | |
| FENE | |
◆ FFBond() [1/3]
◆ FFBond() [2/3]
◆ FFBond() [3/3]
◆ ~ FFBond()
◆ 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.
◆ GetIdealLength()
| double GetIdealLength |
( |
| ) |
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()
| FFBond GetLinkedType |
( |
| ) |
const |
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 FFBond & |
bnd | ) |
const |
|
inline |
◆ operator<()
| bool operator< |
( |
const FFBond & |
bnd | ) |
const |
◆ operator<=()
| bool operator<= |
( |
const FFBond & |
bnd | ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
| bool operator== |
( |
const FFBond & |
bnd | ) |
const |
◆ operator>()
| bool operator> |
( |
const FFBond & |
bnd | ) |
const |
◆ operator>=()
| bool operator>= |
( |
const FFBond & |
bnd | ) |
const |
|
inline |
◆ cereal::access
| friend class cereal::access |
|
friend |
Friendship allows serialisation.
◆ Forcefield
Friendship allows bond types to be added to a forcefield.
◆ operator<<
| std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const FFBond & |
bnd |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: