BIE::Integration Class Reference

Abstract helper class to perform two dimensional quadrature of a model over a cell. More...

#include <Integration.h>

Inheritance diagram for BIE::Integration:
Collaboration diagram for BIE::Integration:

List of all members.

Public Member Functions

 Integration ()
 Constructor: takes model, current parameter state for model and a cell as input.
virtual ~Integration ()
 Virtual destructor to force dynamic binding.
void Setup ()
 Setup any specific structures needed for quadrature (to be overloaded as necessary).
virtual double NormValue (Model *m, Tile *t, SampleDistribution *d)=0
 Return value for model normalization.
virtual vector< double > Value (Model *m, Tile *t, SampleDistribution *d)=0
 Return value of model.
virtual double NormValue (LikelihoodComputation *p_likelihoodCompuation, Model *p_model, Tile *p_tile, SampleDistribution *p_dist)
 Newer MPI fine-grained method for the model normalization.
virtual vector< double > Value (LikelihoodComputation *p_likelihoodCompuation, Model *p_model, Tile *p_tile, SampleDistribution *p_dist)
 Newer MPI fine-grained method for the model value.
virtual double NormValue (Model *m, Tile *t, SampleDistribution *d, int irank, int nrank)=0
 Return value for model normalization.
virtual vector< double > Value (Model *m, Tile *t, SampleDistribution *d, int irank, int nrank, MPI_Comm &comm)=0
 Return value of model.

Protected Attributes

vector< double > absError
 The desired value of the absolute error.
vector< double > relativeError
 The desired value of the relative error.

Friends

class boost::serialization::access


Detailed Description

Abstract helper class to perform two dimensional quadrature of a model over a cell.

Since the integration needed to compute the model is very likely to be rather different than the one to compute the model _over_ the cell, I have not attempted an abstraction.


The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen