Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

EnergyProcessor Class Reference
[Miscellaneous]

Processor for energy calculations. More...

#include <energyProcessor.h>

Inheritance diagram for EnergyProcessor:

UnaryProcessor< AtomContainer > UnaryFunctor< AtomContainer, Processor::Result > ComposedEnergyProcessor Pair6_12InteractionEnergyProcessor PairExpInteractionEnergyProcessor PCMCavFreeEnergyProcessor PierottiCavFreeEnergyProcessor ReissCavFreeEnergyProcessor UhligCavFreeEnergyProcessor List of all members.

Public Member Functions

Constructors and Destructors
 EnergyProcessor () throw ()
 Default constructor.
 EnergyProcessor (const EnergyProcessor &proc) throw ()
 Copy constructor.
virtual ~EnergyProcessor () throw ()
 Destructor.
Assignment
const EnergyProcessoroperator= (const EnergyProcessor &proc) throw ()
 Assignment operator.
virtual void clear () throw ()
 Clear method.
Processor related methods
virtual bool start () throw ()
 Start-function.
virtual Processor::Result operator() (AtomContainer &fragment) throw ()
 Operator-function.
Accessors
double getEnergy () const throw ()
 Return the computed energy.
Predicates
bool isValid () const throw ()
 Validity.
bool operator== (const EnergyProcessor &proc) const throw ()
 Equality operator.

Protected Attributes

const AtomContainerfragment_
double energy_
bool valid_

Detailed Description

Processor for energy calculations.

With this class we provide an interface to different (free) energy calculations.


Member Function Documentation

virtual void EnergyProcessor::clear  )  throw () [virtual]
 

Clear method.

Reimplemented in ComposedEnergyProcessor, Pair6_12InteractionEnergyProcessor, PairExpInteractionEnergyProcessor, PCMCavFreeEnergyProcessor, PierottiCavFreeEnergyProcessor, ReissCavFreeEnergyProcessor, and UhligCavFreeEnergyProcessor.

bool EnergyProcessor::isValid  )  const throw ()
 

Validity.

virtual Processor::Result EnergyProcessor::operator() AtomContainer fragment  )  throw () [virtual]
 

Operator-function.

This function only stores the AtomContainer.

Reimplemented from UnaryProcessor< AtomContainer >.

const EnergyProcessor& EnergyProcessor::operator= const EnergyProcessor proc  )  throw ()
 

Assignment operator.

bool EnergyProcessor::operator== const EnergyProcessor proc  )  const throw ()
 

Equality operator.

virtual bool EnergyProcessor::start  )  throw () [virtual]
 

Start-function.

Reimplemented from UnaryProcessor< AtomContainer >.