waLBerla 7.2
Loading...
Searching...
No Matches
NonuniformCommData.impl.h File Reference

Detailed Description

#include "blockforest/all.h"
#include "lbm_generated/communication/NonuniformCommData.h"
#include "stencil/Directions.h"

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  walberla::lbm_generated
 
namespace  walberla::lbm_generated::util
 

Macros

#define IDX_FLAG(d)   (1 << d)
 

Functions

void walberla::lbm_generated::util::forEachSubdirection (const Vector3< cell_idx_t > mainDirection, const std::function< void(Vector3< cell_idx_t >) > &func)
 Iterates all sub-directions of a given direction vector and runs a callback on each of them.
 
bool walberla::lbm_generated::util::forEachSubdirectionCancel (const Vector3< cell_idx_t > mainDirection, const std::function< bool(Vector3< cell_idx_t >) > &func)
 Iterates all sub-directions of a given direction vector and runs a callback on each of them.
 
void walberla::lbm_generated::util::getSubdirections (const Vector3< cell_idx_t > mainDirection, std::vector< Vector3< cell_idx_t > > subdirs)
 
template<typename Stencil_T >
void walberla::lbm_generated::util::forEachOrthogonalDirection (Vector3< cell_idx_t > d, std::function< void(Vector3< cell_idx_t >) > func)
 Iterates all directions orthogonal to d that are part of the given stencil, and executes a function on each of them.
 

Macro Definition Documentation

◆ IDX_FLAG

#define IDX_FLAG ( d)    (1 << d)