#include <BoundaryHandlingCollection.h>
Classes | |
class | BlockSweep |
Public Types | |
using | FlagField = FlagField_T |
using | flag_t = typename FlagField_T::flag_t |
using | ConstFlagFieldBaseIterator = typename FlagField_T::const_base_iterator |
Public Member Functions | |
BoundaryHandlingCollection (const std::string &identifier, FlagField_T *const flagField, const Handlers &... boundaryHandlers) | |
bool | operator== (const BoundaryHandlingCollection &) const |
bool | operator!= (const BoundaryHandlingCollection &rhs) const |
const BoundaryHandlingCollectionUID & | getUID () const |
const FlagField_T * | getFlagField () const |
FlagField_T * | getFlagField () |
bool | isEmpty (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const |
bool | isEmpty (const ConstFlagFieldBaseIterator &it) const |
bool | consideredByAllHandlers (const uint_t numberOfGhostLayersToInclude=0) const |
bool | consideredByAllHandlers (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const |
bool | consideredByAllHandlers (const ConstFlagFieldBaseIterator &it) const |
bool | consideredByAllHandlers (const CellInterval &cells) const |
template<typename CellIterator > | |
bool | consideredByAllHandlers (const CellIterator &begin, const CellIterator &end) const |
template<typename BoundaryHandling_T > | |
const BoundaryHandling_T & | getBoundaryHandling (const BoundaryHandlingUID &uid) const |
You most likely have to call this function via "collection.template getBoundaryHandling< BoundaryHandling_T >(uid)". More... | |
template<typename BoundaryHandling_T > | |
BoundaryHandling_T & | getBoundaryHandling (const BoundaryHandlingUID &uid) |
You most likely have to call this function via "collection.template getBoundaryHandling< BoundaryHandling_T >(uid)". More... | |
uint_t | numberOfMatchingHandlers (const flag_t flag) const |
uint_t | numberOfMatchingHandlersForDomain (const flag_t flag) const |
uint_t | numberOfMatchingHandlersForBoundary (const flag_t flag) const |
bool | containsBoundaryCondition (const BoundaryUID &uid) const |
bool | containsBoundaryCondition (const FlagUID &flag) const |
bool | containsBoundaryCondition (const flag_t flag) const |
flag_t | getBoundaryMask (const BoundaryUID &uid) const |
BoundaryUID | getBoundaryUID (const FlagUID &flag) const |
BoundaryUID | getBoundaryUID (const flag_t flag) const |
shared_ptr< BoundaryConfiguration > | createBoundaryConfiguration (const BoundaryUID &uid, const Config::BlockHandle &config) const |
bool | checkConsistency (const uint_t numberOfGhostLayersToInclude=0) const |
bool | checkConsistency (const CellInterval &cells) const |
void | refresh (const uint_t numberOfGhostLayersToInclude=0) |
void | refresh (const CellInterval &cells) |
void | refreshOutermostLayer (cell_idx_t thickness=1) |
General Flag Handling | |
void | setFlag (const FlagUID &flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
void | setFlag (const flag_t flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
void | setFlag (const FlagUID &flag, const CellInterval &cells, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
void | setFlag (const flag_t flag, const CellInterval &cells, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
template<typename CellIterator > | |
void | setFlag (const FlagUID &flag, const CellIterator &begin, const CellIterator &end, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
template<typename CellIterator > | |
void | setFlag (const flag_t flag, const CellIterator &begin, const CellIterator &end, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
void | forceFlag (const FlagUID &flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
void | forceFlag (const flag_t flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
void | forceFlag (const FlagUID &flag, const CellInterval &cells, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
void | forceFlag (const flag_t flag, const CellInterval &cells, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
template<typename CellIterator > | |
void | forceFlag (const FlagUID &flag, const CellIterator &begin, const CellIterator &end, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
template<typename CellIterator > | |
void | forceFlag (const flag_t flag, const CellIterator &begin, const CellIterator &end, const BoundaryConfiguration ¶meter=BoundaryConfiguration::null()) |
void | removeFlag (const FlagUID &flag, const uint_t numberOfGhostLayersToInclude=0) |
void | removeFlag (const flag_t flag, const uint_t numberOfGhostLayersToInclude=0) |
void | removeFlag (const FlagUID &flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) |
void | removeFlag (const flag_t flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) |
void | removeFlag (const FlagUID &flag, const CellInterval &cells) |
void | removeFlag (const flag_t flag, const CellInterval &cells) |
template<typename CellIterator > | |
void | removeFlag (const FlagUID &flag, const CellIterator &begin, const CellIterator &end) |
template<typename CellIterator > | |
void | removeFlag (const flag_t flag, const CellIterator &begin, const CellIterator &end) |
Clear Cells | |
void | clear (const uint_t numberOfGhostLayersToInclude=0) |
void | clear (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) |
void | clear (const CellInterval &cells) |
template<typename CellIterator > | |
void | clear (const CellIterator &begin, const CellIterator &end) |
Private Member Functions | |
Get Boundary Handling (private helper functions) | |
template<typename BoundaryHandling_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
const std::enable_if<(N!=0), BoundaryHandling_T >::type & | getBoundaryHandling (const BoundaryHandlingUID &uid, const HandlersTuple &boundaryHandlers, typename std::enable_if< std::is_same< BoundaryHandling_T, typename std::tuple_element< N, HandlersTuple >::type >::value >::type *=0) const |
template<typename BoundaryHandling_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
const std::enable_if<(N==0), BoundaryHandling_T >::type & | getBoundaryHandling (const BoundaryHandlingUID &uid, const HandlersTuple &boundaryHandlers, typename std::enable_if< std::is_same< BoundaryHandling_T, typename std::tuple_element< N, HandlersTuple >::type >::value >::type *=0) const |
template<typename BoundaryHandling_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
const std::enable_if<(N!=0), BoundaryHandling_T >::type & | getBoundaryHandling (const BoundaryHandlingUID &uid, const HandlersTuple &boundaryHandlers, typename std::enable_if< std::is_same< typename std::is_same< BoundaryHandling_T, typename std::tuple_element< N, HandlersTuple >::type >::type, std::false_type >::value >::type *=0) const |
template<typename BoundaryHandling_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
const std::enable_if<(N==0), BoundaryHandling_T >::type & | getBoundaryHandling (const BoundaryHandlingUID &, const HandlersTuple &, typename std::enable_if< std::is_same< typename std::is_same< BoundaryHandling_T, typename std::tuple_element< N, HandlersTuple >::type >::type, std::false_type >::value >::type *=0) const |
template<typename BoundaryHandling_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
const std::enable_if<(N!=0), BoundaryHandling_T >::type & | getBoundaryHandling_TypeExists (const BoundaryHandlingUID &uid, const HandlersTuple &boundaryHandlers, typename std::enable_if< std::is_same< BoundaryHandling_T, typename std::tuple_element< N, HandlersTuple >::type >::value >::type *=0) const |
template<typename BoundaryHandling_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
const std::enable_if<(N==0), BoundaryHandling_T >::type & | getBoundaryHandling_TypeExists (const BoundaryHandlingUID &uid, const HandlersTuple &boundaryHandlers, typename std::enable_if< std::is_same< BoundaryHandling_T, typename std::tuple_element< N, HandlersTuple >::type >::value >::type *=0) const |
template<typename BoundaryHandling_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
const std::enable_if<(N!=0), BoundaryHandling_T >::type & | getBoundaryHandling_TypeExists (const BoundaryHandlingUID &uid, const HandlersTuple &boundaryHandlers, typename std::enable_if< std::is_same< typename std::is_same< BoundaryHandling_T, typename std::tuple_element< N, HandlersTuple >::type >::type, std::false_type >::value >::type *=0) const |
template<typename BoundaryHandling_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
const std::enable_if<(N==0), BoundaryHandling_T >::type & | getBoundaryHandling_TypeExists (const BoundaryHandlingUID &uid, const HandlersTuple &, typename std::enable_if< std::is_same< typename std::is_same< BoundaryHandling_T, typename std::tuple_element< N, HandlersTuple >::type >::type, std::false_type >::value >::type *=0) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | checkForUniqueBoundaryHandlingUIDs (const HandlersTuple &boundaryHandlers) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | checkForUniqueBoundaryHandlingUIDs (const HandlersTuple &) const |
std::vector< BoundaryUID > | getBoundaryUIDs () const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | getBoundaryUIDs (const HandlersTuple &boundaryHandlers, std::vector< BoundaryUID > &uids) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | getBoundaryUIDs (const HandlersTuple &, std::vector< BoundaryUID > &) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), bool >::type | checkForIdenticalFlagFields (const HandlersTuple &boundaryHandlers) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), bool >::type | checkForIdenticalFlagFields (const HandlersTuple &) const |
uint_t | numberOfMatchingBoundaryHandlers (const BoundaryHandlingUID &uid) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), uint_t >::type | numberOfMatchingBoundaryHandlers (const HandlersTuple &boundaryHandlers, const BoundaryHandlingUID &uid) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), uint_t >::type | numberOfMatchingBoundaryHandlers (const HandlersTuple &, const BoundaryHandlingUID &) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), uint_t >::type | numberOfMatchingHandlers (const HandlersTuple &boundaryHandlers, const flag_t flag) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), uint_t >::type | numberOfMatchingHandlers (const HandlersTuple &, const flag_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), uint_t >::type | numberOfMatchingHandlersForDomain (const HandlersTuple &boundaryHandlers, const flag_t flag) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), uint_t >::type | numberOfMatchingHandlersForDomain (const HandlersTuple &, const flag_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), uint_t >::type | numberOfMatchingHandlersForBoundary (const HandlersTuple &boundaryHandlers, const flag_t flag) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), uint_t >::type | numberOfMatchingHandlersForBoundary (const HandlersTuple &, const flag_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), bool >::type | containsBoundaryCondition (const HandlersTuple &boundaryHandlers, const BoundaryUID &uid) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), bool >::type | containsBoundaryCondition (const HandlersTuple &, const BoundaryUID &) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), bool >::type | containsBoundaryCondition (const HandlersTuple &boundaryHandlers, const flag_t flag) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), bool >::type | containsBoundaryCondition (const HandlersTuple &, const flag_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), flag_t >::type | getBoundaryMask (const HandlersTuple &boundaryHandlers, const BoundaryUID &uid) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), flag_t >::type | getBoundaryMask (const HandlersTuple &, const BoundaryUID &) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), BoundaryUID >::type | getBoundaryUID (const HandlersTuple &boundaryHandlers, const flag_t flag) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), BoundaryUID >::type | getBoundaryUID (const HandlersTuple &, const flag_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), shared_ptr< BoundaryConfiguration > >::type | createBoundaryConfiguration (const HandlersTuple &boundaryHandlers, const BoundaryUID &uid, const Config::BlockHandle &config) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), shared_ptr< BoundaryConfiguration > >::type | createBoundaryConfiguration (const HandlersTuple &, const BoundaryUID &, const Config::BlockHandle &) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), bool >::type | checkConsistency (const HandlersTuple &boundaryHandlers, const CellInterval &cells) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), bool >::type | checkConsistency (const HandlersTuple &, const CellInterval &) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | refresh (HandlersTuple &boundaryHandlers, const CellInterval &cells) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | refresh (const HandlersTuple &, const CellInterval &) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | refreshOutermostLayer (HandlersTuple &boundaryHandlers, cell_idx_t thickness) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | refreshOutermostLayer (const HandlersTuple &, cell_idx_t) const |
General Flag Handling (private helper functions) | |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | setFlag (HandlersTuple &boundaryHandlers, const flag_t flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const BoundaryConfiguration ¶meter) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | setFlag (const HandlersTuple &, const flag_t flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const BoundaryConfiguration &) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | setFlag (HandlersTuple &boundaryHandlers, const flag_t flag, const CellInterval &cells, const BoundaryConfiguration ¶meter) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | setFlag (const HandlersTuple &, const flag_t flag, const CellInterval &cells, const BoundaryConfiguration &) |
void | forceFlagHelper (const flag_t flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const BoundaryConfiguration ¶meter) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), flag_t >::type | flagsToRemove (HandlersTuple &boundaryHandlers, const flag_t flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), flag_t >::type | flagsToRemove (const HandlersTuple &, const flag_t, const cell_idx_t, const cell_idx_t, const cell_idx_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | removeFlag (HandlersTuple &boundaryHandlers, const flag_t flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | removeFlag (const HandlersTuple &, const flag_t flag, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) |
Clear Cells (private helper functions) | |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), flag_t >::type | clear (HandlersTuple &boundaryHandlers, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), flag_t >::type | clear (const HandlersTuple &, const cell_idx_t, const cell_idx_t, const cell_idx_t) const |
Boundary Treatment (private helper functions) | |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | execute (HandlersTuple &boundaryHandlers, const uint_t numberOfGhostLayersToInclude) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | execute (const HandlersTuple &, const uint_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | execute (HandlersTuple &boundaryHandlers, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | execute (const HandlersTuple &, const cell_idx_t, const cell_idx_t, const cell_idx_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | execute (HandlersTuple &boundaryHandlers, const CellInterval &cells) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | execute (const HandlersTuple &, const CellInterval &) const |
template<typename CellIterator , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | execute (HandlersTuple &boundaryHandlers, const CellIterator &begin, const CellIterator &end) |
template<typename CellIterator , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | execute (const HandlersTuple &, const CellIterator &, const CellIterator &) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | beforeBoundaryTreatment (HandlersTuple &boundaryHandlers) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | beforeBoundaryTreatment (const HandlersTuple &) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | afterBoundaryTreatment (HandlersTuple &boundaryHandlers) |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | afterBoundaryTreatment (const HandlersTuple &) const |
Boundary Treatment | |
void | operator() (const uint_t numberOfGhostLayersToInclude=0) |
void | operator() (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) |
void | operator() (const CellInterval &cells) |
template<typename CellIterator > | |
void | operator() (const CellIterator &begin, const CellIterator &end) |
void | beforeBoundaryTreatment () |
void | afterBoundaryTreatment () |
static BlockSweep | getBlockSweep (const BlockDataID handling, const uint_t numberOfGhostLayersToInclude=0) |
Pack / Unpack boundary handling collection | |
template<typename Buffer_T > | |
void | pack (Buffer_T &buffer, stencil::Direction direction, const uint_t numberOfLayers=1, const bool assumeIdenticalFlagMapping=true) const |
template<typename Buffer_T > | |
void | unpack (Buffer_T &buffer, stencil::Direction direction, const uint_t numberOfLayers=1, const bool assumeIdenticalFlagMapping=true) |
void | toStream (std::ostream &os) const |
std::string | toString () const |
CellInterval | getGhostLayerCellInterval (const uint_t numberOfGhostLayersToInclude) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), bool >::type | isEmpty (const HandlersTuple &boundaryHandlers, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), bool >::type | isEmpty (const HandlersTuple &, const cell_idx_t, const cell_idx_t, const cell_idx_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), bool >::type | isEmpty (const HandlersTuple &boundaryHandlers, const ConstFlagFieldBaseIterator &it) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), bool >::type | isEmpty (const HandlersTuple &, const ConstFlagFieldBaseIterator &) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), bool >::type | consideredByAllHandlers (const HandlersTuple &boundaryHandlers, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), bool >::type | consideredByAllHandlers (const HandlersTuple &, const cell_idx_t, const cell_idx_t, const cell_idx_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), bool >::type | consideredByAllHandlers (const HandlersTuple &boundaryHandlers, const ConstFlagFieldBaseIterator &it) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), bool >::type | consideredByAllHandlers (const HandlersTuple &, const ConstFlagFieldBaseIterator &) const |
Pack / Unpack boundary handling (private helper functions) | |
using | Tuple = std::tuple< Handlers... > |
const BoundaryHandlingCollectionUID | uid_ |
FlagField_T *const | flagField_ |
const CellInterval | outerBB_ |
Tuple | boundaryHandlers_ |
std::map< std::string, flag_t > | getFlagMapping () const |
template<typename Buffer_T > | |
std::vector< flag_t > | getNeighborFlagMapping (Buffer_T &buffer, const bool assumeIdenticalFlagMapping, bool &identicalFlagMapping) const |
void | translateMask (flag_t &mask, const std::vector< flag_t > &flagMapping) const |
CellInterval | getPackingInterval (stencil::Direction direction, const uint_t numberOfLayers) const |
CellInterval | getUnpackingInterval (stencil::Direction direction, const uint_t numberOfLayers) const |
template<typename Buffer_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | pack (const HandlersTuple &boundaryHandlers, Buffer_T &buffer, const flag_t mask, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const |
template<typename Buffer_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | pack (const HandlersTuple &, Buffer_T &, const flag_t, const cell_idx_t, const cell_idx_t, const cell_idx_t) const |
template<typename Buffer_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | unpack (HandlersTuple &boundaryHandlers, Buffer_T &buffer, const flag_t mask, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) |
template<typename Buffer_T , typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | unpack (const HandlersTuple &, Buffer_T &, const flag_t, const cell_idx_t, const cell_idx_t, const cell_idx_t) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N!=-1), void >::type | toStream (const HandlersTuple &boundaryHandlers, std::ostream &os) const |
template<typename HandlersTuple , int N = std::tuple_size<HandlersTuple>::value - 1> | |
std::enable_if<(N==-1), void >::type | toStream (const HandlersTuple &, std::ostream &) const |
using walberla::boundary::BoundaryHandlingCollection< FlagField_T, Handlers >::ConstFlagFieldBaseIterator = typename FlagField_T::const_base_iterator |
using walberla::boundary::BoundaryHandlingCollection< FlagField_T, Handlers >::flag_t = typename FlagField_T::flag_t |
using walberla::boundary::BoundaryHandlingCollection< FlagField_T, Handlers >::FlagField = FlagField_T |
|
private |
walberla::boundary::BoundaryHandlingCollection< FlagField_T, Handlers >::BoundaryHandlingCollection | ( | const std::string & | identifier, |
FlagField_T *const | flagField, | ||
const Handlers &... | boundaryHandlers | ||
) |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
inlinestatic |
|
inlineprivate |
|
inline |
You most likely have to call this function via "collection.template getBoundaryHandling< BoundaryHandling_T >(uid)".
|
inline |
You most likely have to call this function via "collection.template getBoundaryHandling< BoundaryHandling_T >(uid)".
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
private |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void walberla::boundary::BoundaryHandlingCollection< FlagField_T, Handlers >::pack | ( | Buffer_T & | buffer, |
stencil::Direction | direction, | ||
const uint_t | numberOfLayers = 1 , |
||
const bool | assumeIdenticalFlagMapping = true |
||
) | const |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
void walberla::boundary::BoundaryHandlingCollection< FlagField_T, Handlers >::unpack | ( | Buffer_T & | buffer, |
stencil::Direction | direction, | ||
const uint_t | numberOfLayers = 1 , |
||
const bool | assumeIdenticalFlagMapping = true |
||
) |
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |