waLBerla 7.2
Loading...
Searching...
No Matches
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

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  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.
 
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)