The Original CHomP Software
Public Member Functions | Public Attributes | List of all members
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>

Public Member Functions

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

Public Attributes

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

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 518 of file mwsubdiv.h.

Constructor & Destructor Documentation

◆ mwSubDataPack() [1/2]

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

The default constructor.

Definition at line 522 of file mwsubdiv.h.

522{}

◆ mwSubDataPack() [2/2]

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 525 of file mwsubdiv.h.

526 :
527 num (_num), q (_q), level (_level), full (_full) {}
int level
The subdivision level of the cube.
Definition: mwsubdiv.h:539
bool full
Is this a full cube (or just a probe)?
Definition: mwsubdiv.h:542
tCubeFix< dim, coord > q
The cube sent to a worker.
Definition: mwsubdiv.h:536
int num
The number of the data pack.
Definition: mwsubdiv.h:533

Member Data Documentation

◆ full

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

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

Definition at line 542 of file mwsubdiv.h.

◆ level

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

The subdivision level of the cube.

Definition at line 539 of file mwsubdiv.h.

◆ num

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

The number of the data pack.

Definition at line 533 of file mwsubdiv.h.

◆ q

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

The cube sent to a worker.

Definition at line 536 of file mwsubdiv.h.


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