#include <reactioncoordinate.h>
|
|
double | resolution = 0.0 |
| | Resolution used when binning (histograms etc.)
|
| |
|
double | minimum_value = 0.0 |
| | Minimum allowed value.
|
| |
|
double | maximum_value = 0.0 |
| | Maximum allowed value.
|
| |
|
std::string | name |
| | Meaningful, short name. Don't use spaces or weird characters.
|
| |
|
std::function< double()> | function = nullptr |
| | returns reaction coordinate Default 1.0; currently unused
|
| |
- Todo:
- Refactor so that each scheme is a derived class implementing a virtual energy function instead of the std::function object
◆ MoleculeProperty()
| Faunus::ReactionCoordinate::MoleculeProperty::MoleculeProperty |
( |
const json & |
j, |
|
|
const Space & |
spc |
|
) |
| |
- Warning
- For the lambda capture, always capture "Space&" and not unerlying objects like
particle or group. This is because the memory location of the latter may be modified after the lambda cration, thus leading to undefined dereferencing.
The documentation for this struct was generated from the following files: