Container for the 3D coordinates of a generated conformer plus its associated energy value.
More...
#include <ConformerData.hpp>
Container for the 3D coordinates of a generated conformer plus its associated energy value.
ConformerData extends Math::Vector3DArray with an energy field that is filled by force field-based conformer generation steps.
◆ SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ConformerData instances.
◆ ConformerData() [1/2]
| CDPL::ConfGen::ConformerData::ConformerData |
( |
| ) |
|
|
inline |
Constructs an empty ConformerData instance with zero energy.
◆ ConformerData() [2/2]
| CDPL::ConfGen::ConformerData::ConformerData |
( |
const Math::Vector3DArray & |
coords, |
|
|
double |
energy = 0.0 |
|
) |
| |
|
inline |
Constructs the ConformerData instance with the given coordinates and energy.
- Parameters
-
| coords | The 3D coordinate vectors of the conformer. |
| energy | The energy value to assign. |
◆ setEnergy()
| void CDPL::ConfGen::ConformerData::setEnergy |
( |
double |
energy | ) |
|
|
inline |
Sets the energy value.
- Parameters
-
| energy | The new energy value. |
◆ getEnergy()
| double CDPL::ConfGen::ConformerData::getEnergy |
( |
| ) |
const |
|
inline |
Returns the energy value.
- Returns
- The currently stored energy value.
◆ swap()
Swaps the contents (coordinates and energy) of this instance with data.
- Parameters
-
| data | The other ConformerData instance. |
The documentation for this class was generated from the following file: