BALL::EnergyProcessor Class Reference
[Miscellaneous]

#include <BALL/ENERGY/energyProcessor.h>

Inheritance diagram for BALL::EnergyProcessor:
BALL::UnaryProcessor< AtomContainer > BALL::UnaryFunctor< AtomContainer, Processor::Result > BALL::ComposedEnergyProcessor BALL::Pair6_12InteractionEnergyProcessor BALL::PairExpInteractionEnergyProcessor BALL::PCMCavFreeEnergyProcessor BALL::PierottiCavFreeEnergyProcessor BALL::ReissCavFreeEnergyProcessor BALL::UhligCavFreeEnergyProcessor

List of all members.


Public Member Functions

Constructors and Destructors
 EnergyProcessor ()
 EnergyProcessor (const EnergyProcessor &proc)
virtual ~EnergyProcessor ()
Assignment
const EnergyProcessoroperator= (const EnergyProcessor &proc)
virtual void clear ()
Processor related methods
virtual bool start ()
virtual Processor::Result operator() (AtomContainer &fragment)
Accessors
double getEnergy () const
Predicates
bool isValid () const
bool operator== (const EnergyProcessor &proc) const

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.


Constructor & Destructor Documentation

BALL::EnergyProcessor::EnergyProcessor (  ) 

Default constructor

BALL::EnergyProcessor::EnergyProcessor ( const EnergyProcessor proc  ) 

Copy constructor

virtual BALL::EnergyProcessor::~EnergyProcessor (  )  [virtual]

Destructor


Member Function Documentation

double BALL::EnergyProcessor::getEnergy (  )  const

Return the computed energy

bool BALL::EnergyProcessor::isValid (  )  const

Validity.

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

Operator-function. This function only stores the AtomContainer.

Reimplemented from BALL::UnaryProcessor< AtomContainer >.

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

Assignment operator.

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

Equality operator.

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

Start-function.

Reimplemented from BALL::UnaryProcessor< AtomContainer >.


Member Data Documentation