Public Member Functions | Public Attributes

chomp::multiwork::mwSubDataPack< dim, coord > Class Template Reference

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...

#include <mwsubdiv.h>

List of all members.

Public Member Functions

 mwSubDataPack ()
 The default constructor.
 mwSubDataPack (int _num, const tCubeFix< dim, coord > &_q, int _level, bool _full)
 A nice constructor.

Public Attributes

int num
 The number of the data pack.
tCubeFix< dim, coord > q
 The cube sent to a worker.
int level
 The subdivision level of the cube.
bool full
 Is this a full cube (or just a probe)?

Detailed Description

template<int dim, class coord>
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.

Definition at line 519 of file mwsubdiv.h.


Constructor & Destructor Documentation

template<int dim, class coord >
chomp::multiwork::mwSubDataPack< dim, coord >::mwSubDataPack (  )  [inline]

The default constructor.

Definition at line 523 of file mwsubdiv.h.

{}

template<int dim, class coord >
chomp::multiwork::mwSubDataPack< dim, coord >::mwSubDataPack ( int  _num,
const tCubeFix< dim, coord > &  _q,
int  _level,
bool  _full 
) [inline]

A nice constructor.

Definition at line 526 of file mwsubdiv.h.

                                       :
                num (_num), q (_q), level (_level), full (_full) {}


Member Data Documentation

template<int dim, class coord >
bool chomp::multiwork::mwSubDataPack< dim, coord >::full

Is this a full cube (or just a probe)?

Definition at line 543 of file mwsubdiv.h.

template<int dim, class coord >
int chomp::multiwork::mwSubDataPack< dim, coord >::level

The subdivision level of the cube.

Definition at line 540 of file mwsubdiv.h.

template<int dim, class coord >
int chomp::multiwork::mwSubDataPack< dim, coord >::num

The number of the data pack.

Definition at line 534 of file mwsubdiv.h.

template<int dim, class coord >
tCubeFix<dim,coord> chomp::multiwork::mwSubDataPack< dim, coord >::q

The cube sent to a worker.

Definition at line 537 of file mwsubdiv.h.


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