#include <indigox/classes/forcefield.hpp>
|
enum | Type |
| Enum for the different function types a dihedral term can have. More...
|
|
◆ Type
Enum for the different function types a dihedral term can have.
Though other values are provided, currently only the proper and improper function types are technically supported.
Enumerator |
---|
Empty | |
Proper | |
Improper | |
RyckaertBellemans | |
PeriodicImproper | |
Fourier | |
Restricted | |
◆ FFDihedral() [1/3]
◆ FFDihedral() [2/3]
◆ FFDihedral() [3/3]
◆ ~ FFDihedral()
◆ 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. |
◆ GetMultiplicity()
int32_t GetMultiplicity |
( |
| ) |
const |
Get the multiplicity.
- Returns
- the multiplicity.
- Exceptions
-
std::runtime_error | if the type does not allow a multiplicity. |
◆ GetPhaseShift()
double GetPhaseShift |
( |
| ) |
const |
Get the phase shift (in degrees).
- Returns
- the phase shift.
- Exceptions
-
std::runtime_error | if the type does not allow a phase shift. |
◆ GetType()
Get the potential energy function type.
- Returns
- the type of the potential energy function.
◆ operator bool()
◆ operator!=()
◆ operator<()
◆ operator<=()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
◆ operator>()
◆ operator>=()
◆ cereal::access
friend class cereal::access |
|
friend |
Friendship allows serialisation.
◆ Forcefield
Friendship allows dihedral types to be added to a forcefield.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const FFDihedral & |
dhd |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: