walberla::field::internal::AddToStorage< GhostLayerField_T, BlockStorage_T, Enable > Struct Template Reference

#include <AddToStorage.h>

Public Types

using Value_T = typename GhostLayerField_T::value_type
 

Static Public Member Functions

static BlockDataID add (const shared_ptr< BlockStorage_T > &blocks, const std::string &identifier, const typename GhostLayerField_T::value_type &initValue, const Layout layout, const uint_t nrOfGhostLayers, const bool, const std::function< void(GhostLayerField_T *field, IBlock *const block) > &initFunction, const Set< SUID > &requiredSelectors, const Set< SUID > &incompatibleSelectors, const std::function< Vector3< uint_t >(const shared_ptr< StructuredBlockStorage > &, IBlock *const) > calculateSize=defaultSize, const shared_ptr< field::FieldAllocator< Value_T > > alloc=nullptr)
 

Member Typedef Documentation

◆ Value_T

template<typename GhostLayerField_T , typename BlockStorage_T , class Enable = void>
using walberla::field::internal::AddToStorage< GhostLayerField_T, BlockStorage_T, Enable >::Value_T = typename GhostLayerField_T::value_type

Member Function Documentation

◆ add()

template<typename GhostLayerField_T , typename BlockStorage_T , class Enable = void>
static BlockDataID walberla::field::internal::AddToStorage< GhostLayerField_T, BlockStorage_T, Enable >::add ( const shared_ptr< BlockStorage_T > &  blocks,
const std::string &  identifier,
const typename GhostLayerField_T::value_type &  initValue,
const Layout  layout,
const uint_t  nrOfGhostLayers,
const bool  ,
const std::function< void(GhostLayerField_T *field, IBlock *const block) > &  initFunction,
const Set< SUID > &  requiredSelectors,
const Set< SUID > &  incompatibleSelectors,
const std::function< Vector3< uint_t >(const shared_ptr< StructuredBlockStorage > &, IBlock *const) >  calculateSize = defaultSize,
const shared_ptr< field::FieldAllocator< Value_T > >  alloc = nullptr 
)
inlinestatic

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