afl::Integrator Class Reference

#include <integrator.h>

Inheritance diagram for afl::Integrator:

afl::Integrator_1 afl::Integrator_2 afl::Integrator_3 afl::Integrator_4 afl::MonteCarloIntegrator_1 afl::MonteCarloIntegrator_2 afl::MonteCarloIntegrator_3 afl::MonteCarloIntegrator_4 List of all members.

Public Member Functions

virtual ~Integrator ()
virtual Value integral (const Simplex &s) const =0
virtual void toXML (std::ostream &doc) const =0
virtual Integratorclone ()=0
virtual void setField (const Field *field)
virtual const std::string & getMethod () const =0
void setParentField (const Field *parent)

Protected Member Functions

 Integrator (const Field *field, const Parameters &params)

Protected Attributes

const Field_field

Detailed Description

class Integrator Approximates the integral of a field


Constructor & Destructor Documentation

virtual afl::Integrator::~Integrator  )  [virtual]
 

Destructor

afl::Integrator::Integrator const Field field,
const Parameters params
[protected]
 

constructor

Parameters:
field the field to approximate integrals in
params the parameters needed for this integrator


Member Function Documentation

virtual Integrator* afl::Integrator::clone  )  [pure virtual]
 

Returns:
a true copy of the object. The object becomes the responsibility of the calling function

Implemented in afl::Integrator_1, afl::Integrator_2, afl::Integrator_3, afl::Integrator_4, afl::MonteCarloIntegrator_1, afl::MonteCarloIntegrator_2, afl::MonteCarloIntegrator_3, and afl::MonteCarloIntegrator_4.

virtual const std::string& afl::Integrator::getMethod  )  const [pure virtual]
 

Returns:
the name of the method this integrator implements

Implemented in afl::Integrator_1, afl::Integrator_2, afl::Integrator_3, afl::Integrator_4, afl::MonteCarloIntegrator_1, afl::MonteCarloIntegrator_2, afl::MonteCarloIntegrator_3, and afl::MonteCarloIntegrator_4.

virtual Value afl::Integrator::integral const Simplex s  )  const [pure virtual]
 

Parameters:
s the simplex to integrate over
Returns:
the integral over s

Implemented in afl::Integrator_1, afl::Integrator_2, afl::Integrator_3, afl::Integrator_4, afl::MonteCarloIntegrator_1, afl::MonteCarloIntegrator_2, afl::MonteCarloIntegrator_3, and afl::MonteCarloIntegrator_4.

virtual void afl::Integrator::setField const Field field  )  [virtual]
 

sets the field this derivator would operate on

Parameters:
field the field

void afl::Integrator::setParentField const Field parent  )  [inline]
 

sets the parent field of this interpolation

Parameters:
parent the field that this integrator should operator on

virtual void afl::Integrator::toXML std::ostream &  doc  )  const [pure virtual]
 

represents the integrator for an FRL document

Parameters:
doc the output stream that the xml will be appended to

Implemented in afl::Integrator_1, afl::Integrator_2, afl::Integrator_3, afl::Integrator_4, afl::MonteCarloIntegrator_1, afl::MonteCarloIntegrator_2, afl::MonteCarloIntegrator_3, and afl::MonteCarloIntegrator_4.


Member Data Documentation

const Field* afl::Integrator::_field [protected]
 

the field this derivator acts on.


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 07:17:51 2006 for afl by  doxygen 1.4.6