afl::Integrator_3 Class Reference

#include <integrator_3.h>

Inheritance diagram for afl::Integrator_3:

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

Public Member Functions

 Integrator_3 (const Field *field, const Parameters &params)
virtual ~Integrator_3 ()
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_3 provides integrals for 3D fields using the trapezoid method


Constructor & Destructor Documentation

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

constructor

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

virtual afl::Integrator_3::~Integrator_3  )  [virtual]
 

Destructor


Member Function Documentation

virtual Integrator* afl::Integrator_3::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_3.

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

Returns:
the name of the method this integrator implements

Implements afl::Integrator.

Reimplemented in afl::MonteCarloIntegrator_3.

virtual Value afl::Integrator_3::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_3.

virtual void afl::Integrator_3::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_3.


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