walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T > Class Template Reference

Detailed Description

template<typename MeshType, typename T>
class walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T >

Adapts a face data source for the MESAPD mesh output to the generic face data source class.

Template Parameters
MeshType
Toutput type

#include <DataSourceAdapters.h>

+ Inheritance diagram for walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T >:

Public Types

typedef mesh::DistributedVTKMeshWriter< MeshType >::template FaceDataSource< T >::Faces Faces
 

Public Member Functions

 FaceDataSourceAdapter (const shared_ptr< FaceDataSource< MeshType, T >> &faceDataSource, const ParticleIdxFacePropertyManager< MeshType > &faceToParticleIdxManager, shared_ptr< walberla::mesa_pd::data::ParticleStorage > ps)
 
virtual void getData (const MeshType &mesh, const Faces &faces, std::vector< T > &data)
 
virtual uint_t numComponents ()
 

Protected Attributes

shared_ptr< FaceDataSource< MeshType, T > > faceDataSource_
 
const ParticleIdxFacePropertyManager< MeshType > & faceToParticleIdxManager_
 
const shared_ptr< walberla::mesa_pd::data::ParticleStorageps_
 

Member Typedef Documentation

◆ Faces

template<typename MeshType , typename T >
typedef mesh::DistributedVTKMeshWriter<MeshType>::template FaceDataSource<T>::Faces walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T >::Faces

Constructor & Destructor Documentation

◆ FaceDataSourceAdapter()

template<typename MeshType , typename T >
walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T >::FaceDataSourceAdapter ( const shared_ptr< FaceDataSource< MeshType, T >> &  faceDataSource,
const ParticleIdxFacePropertyManager< MeshType > &  faceToParticleIdxManager,
shared_ptr< walberla::mesa_pd::data::ParticleStorage ps 
)
inline

Member Function Documentation

◆ getData()

template<typename MeshType , typename T >
virtual void walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T >::getData ( const MeshType mesh,
const Faces faces,
std::vector< T > &  data 
)
inlinevirtual

◆ numComponents()

template<typename MeshType , typename T >
virtual uint_t walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T >::numComponents ( )
inlinevirtual

Member Data Documentation

◆ faceDataSource_

template<typename MeshType , typename T >
shared_ptr<FaceDataSource<MeshType, T> > walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T >::faceDataSource_
protected

◆ faceToParticleIdxManager_

template<typename MeshType , typename T >
const ParticleIdxFacePropertyManager<MeshType>& walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T >::faceToParticleIdxManager_
protected

◆ ps_

template<typename MeshType , typename T >
const shared_ptr<walberla::mesa_pd::data::ParticleStorage> walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T >::ps_
protected

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