walberla::mesa_pd::data::ShapeStorage Struct Reference

#include <ShapeStorage.h>

Public Member Functions

template<typename ShapeT , typename... Args>
size_t create (Args &&... args)
 
template<typename ReturnType , typename func >
ReturnType singleDispatch (ParticleStorage &ps, size_t idx, func &f)
 
template<typename ReturnType , typename func >
ReturnType doubleDispatch (ParticleStorage &ps, size_t idx, size_t idy, func &f)
 

Public Attributes

std::vector< std::unique_ptr< BaseShape > > shapes {}
 

Member Function Documentation

◆ create()

template<typename ShapeT , typename... Args>
size_t walberla::mesa_pd::data::ShapeStorage::create ( Args &&...  args)

◆ doubleDispatch()

template<typename ReturnType , typename func >
ReturnType walberla::mesa_pd::data::ShapeStorage::doubleDispatch ( ParticleStorage ps,
size_t  idx,
size_t  idy,
func &  f 
)

◆ singleDispatch()

template<typename ReturnType , typename func >
ReturnType walberla::mesa_pd::data::ShapeStorage::singleDispatch ( ParticleStorage ps,
size_t  idx,
func &  f 
)

Member Data Documentation

◆ shapes

std::vector<std::unique_ptr<BaseShape> > walberla::mesa_pd::data::ShapeStorage::shapes {}

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