core 1.8.1
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (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

◆ boxCellCount()

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

Definition at line 58 of file grid_redistribute.hpp.

Referenced by peclet::core::decomp::redistributeGridFields().

◆ forBox()

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

Definition at line 64 of file grid_redistribute.hpp.

Referenced by peclet::core::decomp::redistributeGridFields().