core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::decomp::detail Namespace Reference

Functions

template<int Dim>
bool intersectBox (const Block< Dim > &a, const Block< Dim > &b, IVec< Dim > &origin, IVec< Dim > &size)
 
template<int Dim>
Index localFlat (const IVec< Dim > &gcell, const Block< Dim > &blk, int g)
 
Index boxCellCount (const IVec< 3 > &size)
 
template<class F >
void forBox (const IVec< 3 > &origin, const IVec< 3 > &size, F &&f)
 

Function Documentation

◆ intersectBox()

template<int Dim>
bool peclet::core::decomp::detail::intersectBox ( const Block< Dim > &  a,
const Block< Dim > &  b,
IVec< Dim > &  origin,
IVec< Dim > &  size 
)
inline

◆ localFlat()

template<int Dim>
Index peclet::core::decomp::detail::localFlat ( const IVec< Dim > &  gcell,
const Block< Dim > &  blk,
int  g 
)
inline

Definition at line 49 of file grid_redistribute.hpp.

◆ boxCellCount()

Index peclet::core::decomp::detail::boxCellCount ( const IVec< 3 > &  size)
inline

Definition at line 58 of file grid_redistribute.hpp.

◆ forBox()

template<class F >
void peclet::core::decomp::detail::forBox ( const IVec< 3 > &  origin,
const IVec< 3 > &  size,
F &&  f 
)
inline

Definition at line 62 of file grid_redistribute.hpp.