Chombo + EB  3.0
Classes | Macros | Functions
RegionGatherI.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GatherBuffer
 

Macros

#define _REGIONGATHERI_H_
 

Functions

template<>
void regionGather< Real > (const LayoutData< Real > &a_local, const RegionGather &a_copier, LayoutData< Vector< GatherObject< Real > > > &a_gatherObjects)
 
template<class T >
void regionGather (const LayoutData< T > &a_local, const RegionGather &a_copier, LayoutData< Vector< GatherObject< T > > > &a_gatherObjects)
 Function performs a distance cut-off gather operation. More...
 

Macro Definition Documentation

◆ _REGIONGATHERI_H_

#define _REGIONGATHERI_H_

Function Documentation

◆ regionGather< Real >()

template<>
void regionGather< Real > ( const LayoutData< Real > &  a_local,
const RegionGather a_copier,
LayoutData< Vector< GatherObject< Real > > > &  a_gatherObjects 
)

◆ regionGather()

template<class T >
void regionGather ( const LayoutData< T > &  a_local,
const RegionGather a_copier,
LayoutData< Vector< GatherObject< T > > > &  a_gatherObjects 
)

Function performs a distance cut-off gather operation.

the input a_local contains a value of T for every Box in the BoxLayout.

the output a_gatherObjects contains all the T objects within the constraints established by the RegionGather object, and the center seperation of their respective Boxes.

References LayoutIterator::begin(), LayoutData< T >::boxLayout(), CH_TIME, LayoutData< T >::dataIterator(), BoxLayout::define(), RegionGather::Message::destIndex, RegionGather::Message::distance, gather(), RegionGather::m_local, RegionGather::m_messages, GatherObject< T >::m_offset, GatherObject< T >::m_value, GatherBuffer::message, LayoutIterator::ok(), Vector< T >::push_back(), Vector< T >::resize(), and Vector< T >::size().