BIE::LikelihoodComputationMPI Class Reference

Override constructor and Likelihood to implement MPI. More...

#include <LikelihoodComputationMPI.h>

Inheritance diagram for BIE::LikelihoodComputationMPI:
Collaboration diagram for BIE::LikelihoodComputationMPI:

List of all members.

Public Member Functions

 LikelihoodComputationMPI (int M, int Ndim)
 Constructor.
 ~LikelihoodComputationMPI (void)
 Destructor.
double Likelihood (State &, int indx)
 Determine likelihood for current state.
double LikelihoodPrevious (State &, int indx)
 Determine likelihood for previous state.
void TileGranularity ()
 Request Tile level granularity; that is, each process computes the entire tile.
void IntegrationGranularity ()
 Request Tile level granularity; that is, each process gets a work queue of line-of-sight computations.
void Granularity (int)
 Set granularity type.
void SetSubdivisions (int)
 Set subdivisions.
virtual void normEvaluateList (Model *model, Tile *tile, const vector< double > &x, const vector< double > &y, SampleDistribution *sampleDistribution, vector< double > &evaluations)
 Compute the norm at a list of points Not really implemented in this module; added to conform to new interface.
virtual void modelEvaluateList (Model *model, Tile *tile, const vector< double > &x, const vector< double > &y, SampleDistribution *sampleDistribution, vector< vector< double > > &evaluations)
 Compute the model at a list of points Not really implemented in this module; added to conform to new interface.
virtual bool Serial ()
 Request serial or parallel evaluation.
void enslave_worker (void *)
 Manipulate slaves.
void free_workers (void)
 Release the processors locked by enslave_workers.

Static Public Attributes

Global parameters
Load balancing: -1 turns this off (until the counter wraps) 0 load balances on every step Rates global over all instances

static int NLOAD
 If 0, load balances on every step; If -1, no balancing.
static double beg
 Beginning fraction for this node.
static double end
 Ending fraction for this node.

Protected Member Functions

virtual bool Slaves ()
 Likelihood computation may be enslaved.

Friends

class boost::serialization::access


Detailed Description

Override constructor and Likelihood to implement MPI.

Compute likelihood in parallel using tile or line of sight partioning


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