dune-vtk 2.8
Loading...
Searching...
No Matches
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 = DerivedType
 

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

template<class GridType , class DerivedType >
using Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::Derived = DerivedType
inherited

◆ GlobalCoordinate

template<class Grid >
using Dune::Vtk::ParallelGridCreator< Grid >::GlobalCoordinate = typename Super::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]

template<class GridType , class DerivedType >
Derived & Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::asDerived ( )
inlineprotectedinherited

◆ asDerived() [2/2]

template<class GridType , class DerivedType >
const Derived & Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::asDerived ( ) const
inlineprotectedinherited

◆ comm()

template<class GridType , class DerivedType >
auto Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::comm ( ) const
inlineinherited

Return the mpi collective communicator.

◆ createGrid()

template<class GridType , class DerivedType >
std::unique_ptr< Grid > Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::createGrid ( ) const
inlineinherited

Construct the actual grid using the GridFactory.

◆ factory() [1/2]

template<class GridType , class DerivedType >
GridFactory< Grid > & Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::factory ( )
inlineinherited

Return the associated GridFactory.

◆ factory() [2/2]

template<class GridType , class DerivedType >
GridFactory< Grid > const & Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::factory ( ) const
inlineinherited

Return the associated (const) GridFactory.

◆ insertElements()

template<class GridType , class DerivedType >
void Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::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()

template<class GridType , class DerivedType >
void Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::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()

template<class GridType , class DerivedType >
void Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::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_

template<class GridType , class DerivedType >
std::shared_ptr<GridFactory<Grid> > Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::factory_
protectedinherited

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