Adapts a vertex data source for the MESAPD mesh output to the generic vertex data source class.
MeshType | |
T | output type |
#include <DataSourceAdapters.h>
Public Types | |
typedef mesh::DistributedVTKMeshWriter< MeshType >::template VertexDataSource< T >::Vertices | Vertices |
Public Member Functions | |
VertexDataSourceAdapter (const shared_ptr< VertexDataSource< MeshType, T >> &vertexDataSource, const ParticleIdxVertexPropertyManager< MeshType > &vertexToParticleIdxManager, const shared_ptr< walberla::mesa_pd::data::ParticleStorage > &ps) | |
virtual void | getData (const MeshType &mesh, const Vertices &vertices, std::vector< T > &data) |
virtual uint_t | numComponents () |
Protected Attributes | |
shared_ptr< VertexDataSource< MeshType, T > > | vertexDataSource_ |
const ParticleIdxVertexPropertyManager< MeshType > & | vertexToParticleIdxManager_ |
const shared_ptr< walberla::mesa_pd::data::ParticleStorage > | ps_ |
typedef mesh::DistributedVTKMeshWriter<MeshType>::template VertexDataSource<T>::Vertices walberla::mesa_pd::internal::VertexDataSourceAdapter< MeshType, T >::Vertices |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
|
protected |
|
protected |