Classes | Namespaces | Typedefs | Functions

mwsubdiv.h File Reference

This file contains the definition of the MultiWork subdivision framework. More...

#include <cmath>
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <exception>
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/system/timeused.h"
#include "chomp/system/arg.h"
#include "chomp/cubes/pointset.h"
#include "chomp/cubes/cube.h"
#include "chomp/multiwork/mw.h"

Go to the source code of this file.

Classes

class  chomp::multiwork::mwSubWorker< dim, coord >
 This class defines a worker for the multi-work subdivision framework. More...
class  chomp::multiwork::mwIniProbes< dim, coord >
 This is a helper class for producing an initial set of probes to test the interior of the requested area of parameters. More...
class  chomp::multiwork::mwBoxes< dim, coord >
 This is a helper class for iterating all the boxes which share a given vertex. More...
class  chomp::multiwork::mwCorners< dim, coord >
 This is a helper class for iterating all the corners of a given box. More...
class  chomp::multiwork::mwSubDataPack< dim, coord >
 This is a helper class which defines a single data pack used in the communication between coordinator and workers in the multi-work subdivision framework. More...
class  chomp::multiwork::mwSubCoordinator< dim, coord >
 This class defines a coordinator for the multi-work subdivision framework. More...

Namespaces

namespace  chomp
 

This namespace contains the entire CHomP library interface.


namespace  chomp::multiwork
 

This namespace contains an interface to the MultiWork module which allows one to easily distribute a computational task over multiple processes and run concurrent computations.


Typedefs

typedef int(* chomp::multiwork::fcompute )(const double *left, const double *right, int dim, int level)
 The type of a function which computes a value of interest for the given product of intervals.

Functions

template<class coord >
double chomp::multiwork::mwSubdivPoint (const double &left, const double &right, coord part, coord full)
 Returns a subdivision point corresponding to the given fraction of the provided interval.
template<int dim, class coord >
int chomp::multiwork::mwSubdivMain (int argc, char *argv[], const char *title, const char *helpinfo, int defaultPortNumber, int controlNumber, const double *paramLeft, const double *paramRight, int minSubdivLevel, fcompute compute)
 The main procedure for running the computations in the multiwork subdivision framework.

Detailed Description

This file contains the definition of the MultiWork subdivision framework.

Author:
Pawel Pilarczyk

Definition in file mwsubdiv.h.