Gather.h File Reference

Detailed Description

Collect field from all blocks.

Author
Martin Bauer marti.nosp@m.n.ba.nosp@m.uer@f.nosp@m.au.d.nosp@m.e

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::field
 

Functions

template<typename Field_T , typename ResultField_T >
void walberla::field::gather (ResultField_T &gatheredField, const shared_ptr< StructuredBlockStorage > &blocks, ConstBlockDataID fieldID, CellInterval boundingBox=CellInterval(), int targetRank=0, MPI_Comm comm=MPI_COMM_WORLD)
 Gathers (part of) a field on a single process. More...
 
template<typename Field_T , typename ResultField_T >
void walberla::field::gatherSlice (ResultField_T &gatheredField, const shared_ptr< StructuredBlockStorage > &blocks, ConstBlockDataID fieldID, int sliceDim, cell_idx_t sliceValue, int targetRank=0, MPI_Comm comm=MPI_COMM_WORLD)