dune-vtk  0.2
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::Vtk::ParallelGridCreator< Grid > Struct Template Reference

#include <dune/vtk/gridcreators/parallelgridcreator.hh>

Inheritance diagram for Dune::Vtk::ParallelGridCreator< Grid >:
Inheritance graph

Public Types

using Self = ParallelGridCreator
 
using Super = DerivedGridCreator< ContinuousGridCreator< Grid >, Self >
 
using GlobalCoordinate = typename Super::GlobalCoordinate
 
using VertexId = VertexId_t< GridFactory< Grid > >
 
using Super = GridCreatorInterface< typename GridCreator::Grid, Derived >
 
using Grid = typename GridCreator::Grid
 
using Derived = ParallelGridCreator< Grid >
 

Public Member Functions

void insertVerticesImpl (std::vector< GlobalCoordinate > const &points, std::vector< std::uint64_t > const &point_ids)
 
void insertPiecesImpl (std::vector< std::string > const &pieces)
 
void insertVerticesImpl (std::vector< GlobalCoordinate > const &points, std::vector< std::uint64_t > const &point_ids)
 
void insertElementsImpl (std::vector< std::uint8_t > const &types, std::vector< std::int64_t > const &offsets, std::vector< std::int64_t > const &connectivity)
 
void insertVertices (std::vector< GlobalCoordinate > const &points, std::vector< std::uint64_t > const &point_ids)
 Insert all points as vertices into the factory. More...
 
void insertElements (std::vector< std::uint8_t > const &types, std::vector< std::int64_t > const &offsets, std::vector< std::int64_t > const &connectivity)
 Create elements based on type and connectivity description. More...
 
void insertPieces (std::vector< std::string > const &pieces)
 Insert part of a grid stored in file into factory. More...
 
std::unique_ptr< GridcreateGrid () const
 Construct the actual grid using the GridFactory. More...
 
GridFactory< Grid > & factory ()
 Return the associated GridFactory. More...
 
GridFactory< Grid > const & factory () const
 Return the associated (const) GridFactory. More...
 
auto comm () const
 Return the mpi collective communicator. More...
 

Protected Member Functions

DerivedasDerived ()
 
const DerivedasDerived () const
 

Protected Attributes

std::shared_ptr< GridFactory< Grid > > factory_
 

Member Typedef Documentation

◆ Derived

◆ GlobalCoordinate

◆ Grid

using Dune::Vtk::DerivedGridCreator< ContinuousGridCreator< Grid > , ParallelGridCreator< Grid > >::Grid = typename GridCreator::Grid
inherited

◆ Self

template<class Grid >
using Dune::Vtk::ParallelGridCreator< Grid >::Self = ParallelGridCreator

◆ Super [1/2]

◆ Super [2/2]

template<class Grid >
using Dune::Vtk::DerivedGridCreator< GridCreator, Derived >::Super = GridCreatorInterface<typename GridCreator::Grid, Derived>

◆ VertexId

template<class Grid >
using Dune::Vtk::ParallelGridCreator< Grid >::VertexId = VertexId_t<GridFactory<Grid> >

Member Function Documentation

◆ asDerived() [1/2]

Derived& Dune::Vtk::GridCreatorInterface< GridCreator::Grid , ParallelGridCreator< Grid > >::asDerived ( )
inlineprotectedinherited

◆ asDerived() [2/2]

const Derived& Dune::Vtk::GridCreatorInterface< GridCreator::Grid , ParallelGridCreator< Grid > >::asDerived ( ) const
inlineprotectedinherited

◆ comm()

auto Dune::Vtk::GridCreatorInterface< GridCreator::Grid , ParallelGridCreator< Grid > >::comm ( ) const
inlineinherited

Return the mpi collective communicator.

◆ createGrid()

std::unique_ptr<Grid> Dune::Vtk::GridCreatorInterface< GridCreator::Grid , ParallelGridCreator< Grid > >::createGrid ( ) const
inlineinherited

Construct the actual grid using the GridFactory.

◆ factory() [1/2]

GridFactory<Grid>& Dune::Vtk::GridCreatorInterface< GridCreator::Grid , ParallelGridCreator< Grid > >::factory ( )
inlineinherited

Return the associated GridFactory.

◆ factory() [2/2]

GridFactory<Grid> const& Dune::Vtk::GridCreatorInterface< GridCreator::Grid , ParallelGridCreator< Grid > >::factory ( ) const
inlineinherited

Return the associated (const) GridFactory.

◆ insertElements()

void Dune::Vtk::GridCreatorInterface< GridCreator::Grid , ParallelGridCreator< Grid > >::insertElements ( std::vector< std::uint8_t > const &  types,
std::vector< std::int64_t > const &  offsets,
std::vector< std::int64_t > const &  connectivity 
)
inlineinherited

Create elements based on type and connectivity description.

◆ insertElementsImpl()

void Dune::Vtk::DerivedGridCreator< ContinuousGridCreator< Grid > , ParallelGridCreator< Grid > >::insertElementsImpl ( std::vector< std::uint8_t > const &  types,
std::vector< std::int64_t > const &  offsets,
std::vector< std::int64_t > const &  connectivity 
)
inlineinherited

◆ insertPieces()

void Dune::Vtk::GridCreatorInterface< GridCreator::Grid , ParallelGridCreator< Grid > >::insertPieces ( std::vector< std::string > const &  pieces)
inlineinherited

Insert part of a grid stored in file into factory.

◆ insertPiecesImpl()

template<class Grid >
void Dune::Vtk::ParallelGridCreator< Grid >::insertPiecesImpl ( std::vector< std::string > const &  pieces)
inline

◆ insertVertices()

void Dune::Vtk::GridCreatorInterface< GridCreator::Grid , ParallelGridCreator< Grid > >::insertVertices ( std::vector< GlobalCoordinate > const &  points,
std::vector< std::uint64_t > const &  point_ids 
)
inlineinherited

Insert all points as vertices into the factory.

◆ insertVerticesImpl() [1/2]

void Dune::Vtk::DerivedGridCreator< ContinuousGridCreator< Grid > , ParallelGridCreator< Grid > >::insertVerticesImpl ( std::vector< GlobalCoordinate > const &  points,
std::vector< std::uint64_t > const &  point_ids 
)
inlineinherited

◆ insertVerticesImpl() [2/2]

template<class Grid >
void Dune::Vtk::ParallelGridCreator< Grid >::insertVerticesImpl ( std::vector< GlobalCoordinate > const &  points,
std::vector< std::uint64_t > const &  point_ids 
)
inline

Member Data Documentation

◆ factory_

std::shared_ptr<GridFactory<Grid> > Dune::Vtk::GridCreatorInterface< GridCreator::Grid , ParallelGridCreator< Grid > >::factory_
protectedinherited

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