afl::Integrator_4 Class Reference

#include <integrator_4.h>

Inheritance diagram for afl::Integrator_4:

afl::Integrator afl::MonteCarloIntegrator_4 List of all members.

Public Member Functions

 Integrator_4 (const Field *field, const Parameters &params)
 Integrator_4 (const Field *field=NULL)
virtual ~Integrator_4 ()
virtual Value integral (const Simplex &s) const
virtual void toXML (std::ostream &doc) const
virtual Integratorclone ()
virtual const std::string & getMethod () const

Detailed Description

Class Integrator_4 provides integrals for 4D fields using the trapezoid method


Constructor & Destructor Documentation

afl::Integrator_4::Integrator_4 const Field field,
const Parameters params
 

constructor

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

afl::Integrator_4::Integrator_4 const Field field = NULL  ) 
 

constructor

Parameters:
field the field to approximate integrals in
Exceptions:
ddf::InvalidArgumentException 

virtual afl::Integrator_4::~Integrator_4  )  [virtual]
 

Destructor


Member Function Documentation

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

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

Implements afl::Integrator.

Reimplemented in afl::MonteCarloIntegrator_4.

virtual const std::string& afl::Integrator_4::getMethod  )  const [virtual]
 

Returns:
the name of the method this integrator implements

Implements afl::Integrator.

Reimplemented in afl::MonteCarloIntegrator_4.

virtual Value afl::Integrator_4::integral const Simplex s  )  const [virtual]
 

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

Implements afl::Integrator.

Reimplemented in afl::MonteCarloIntegrator_4.

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

represents the integrator for an FRL document

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

Implements afl::Integrator.

Reimplemented in afl::MonteCarloIntegrator_4.


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