Gyselalib++
 
Loading...
Searching...
No Matches
connectivity_details::CollectAllInterfacesOnDim< StartPatch, Grid1D, InterfaceTypeSeq > Struct Template Reference

A class which collects all grids along a given dimension in both directions. More...

Public Types

using BackwardTypeSeq = typename CollectInterfacesAlongDim< Edge< StartPatch, Grid1D, FRONT >, InterfaceTypeSeq, BackInsert >::type
 The type sequence describing all grids found by iterating along this dimension in the backwards direction.
 
using type = ddc::type_seq_merge_t< BackwardTypeSeq, typename CollectInterfacesAlongDim< Edge< StartPatch, Grid1D, BACK >, InterfaceTypeSeq, FrontInsert, BackwardTypeSeq >::type >
 The type found by the class.
 

Detailed Description

template<class StartPatch, class Grid1D, class InterfaceTypeSeq>
struct connectivity_details::CollectAllInterfacesOnDim< StartPatch, Grid1D, InterfaceTypeSeq >

A class which collects all grids along a given dimension in both directions.

Template Parameters
StartPatchThe patch from which the collection should begin.
Grid1DThe first grid to be included (this describes the dimension along which grids are collected).
InterfaceTypeSeqA DDC type sequence containing all the possible Interfaces.

Member Typedef Documentation

◆ BackwardTypeSeq

template<class StartPatch , class Grid1D , class InterfaceTypeSeq >
using connectivity_details::CollectAllInterfacesOnDim< StartPatch, Grid1D, InterfaceTypeSeq >::BackwardTypeSeq = typename CollectInterfacesAlongDim< Edge<StartPatch, Grid1D, FRONT>, InterfaceTypeSeq, BackInsert>::type

The type sequence describing all grids found by iterating along this dimension in the backwards direction.

This is found by working backward from front (start) of grid inserting each new grid at the start of the sequence.

◆ type

template<class StartPatch , class Grid1D , class InterfaceTypeSeq >
using connectivity_details::CollectAllInterfacesOnDim< StartPatch, Grid1D, InterfaceTypeSeq >::type = ddc::type_seq_merge_t< BackwardTypeSeq, typename CollectInterfacesAlongDim< Edge<StartPatch, Grid1D, BACK>, InterfaceTypeSeq, FrontInsert, BackwardTypeSeq>::type>

The type found by the class.


The documentation for this struct was generated from the following file: