#include <energyProcessor.h>
Public Member Functions |
|
Constructors and Destructors
|
|
EnergyProcessor () | |
Default constructor. |
|
EnergyProcessor (const EnergyProcessor &proc) | |
Copy constructor. |
|
virtual | ~EnergyProcessor () |
Destructor. |
|
Assignment
|
|
const EnergyProcessor & | operator= (const EnergyProcessor &proc) |
Assignment operator. |
|
virtual void | clear () |
Clear method. |
|
Processor related methods
|
|
virtual bool | start () |
Start-function. |
|
virtual Processor::Result | operator() (AtomContainer &fragment) |
Operator-function. |
|
Accessors
|
|
double | getEnergy () const |
Return the computed
energy. |
|
Predicates
|
|
bool | isValid () const |
Validity. |
|
bool | operator== (const EnergyProcessor &proc) const |
Equality operator. |
|
Protected Attributes |
|
const AtomContainer * | fragment_ |
double | energy_ |
bool | valid_ |
With this class we provide an interface to different (free) energy calculations.
virtual Processor::Result BALL::EnergyProcessor::operator() | ( | AtomContainer & | fragment | ) | [virtual] |
Operator-function.
This function only stores the AtomContainer.
Reimplemented from BALL::UnaryProcessor< AtomContainer >.