Adapts a face data source for the MESAPD mesh output to the generic face data source class.
MeshType | |
T | output type |
#include <DataSourceAdapters.h>
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::ParticleStorage > | ps_ |
typedef mesh::DistributedVTKMeshWriter<MeshType>::template FaceDataSource<T>::Faces walberla::mesa_pd::internal::FaceDataSourceAdapter< MeshType, T >::Faces |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
|
protected |
|
protected |