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

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

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

Public Types

using Self = ContinuousGridCreator
 
using Super = GridCreatorInterface< Grid, ContinuousGridCreator >
 
using GlobalCoordinate = typename Super::GlobalCoordinate
 
using Grid = Grid
 
using Derived = ContinuousGridCreator< Grid >
 

Public Member Functions

void insertVerticesImpl (std::vector< GlobalCoordinate > const &points, std::vector< std::uint64_t > const &)
 
void insertElementsImpl (std::vector< std::uint8_t > const &types, std::vector< std::int64_t > const &offsets, std::vector< std::int64_t > const &connectivity)
 
GridFactory< Grid > & factory ()
 Return the associated GridFactory. More...
 
GridFactory< Grid > const & factory () const
 Return the associated (const) GridFactory. More...
 
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 > const & factory () const
 Return the associated (const) GridFactory. More...
 
auto comm () const
 Return the mpi collective communicator. More...
 
void insertPiecesImpl (std::vector< std::string > const &)
 

Protected Member Functions

DerivedasDerived ()
 
const DerivedasDerived () const
 

Protected Attributes

std::shared_ptr< GridFactory< Grid > > factory_
 

Member Typedef Documentation

◆ Derived

◆ GlobalCoordinate

◆ Grid

◆ Self

◆ Super

Member Function Documentation

◆ asDerived() [1/2]

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

◆ asDerived() [2/2]

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

◆ comm()

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

Return the mpi collective communicator.

◆ createGrid()

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

Construct the actual grid using the GridFactory.

◆ factory() [1/3]

template<class Grid >
GridFactory<Grid>& Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::factory
inline

Return the associated GridFactory.

◆ factory() [2/3]

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

Return the associated (const) GridFactory.

◆ factory() [3/3]

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

Return the associated (const) GridFactory.

◆ insertElements()

void Dune::Vtk::GridCreatorInterface< Grid , ContinuousGridCreator< 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()

template<class Grid >
void Dune::Vtk::ContinuousGridCreator< Grid >::insertElementsImpl ( std::vector< std::uint8_t > const &  types,
std::vector< std::int64_t > const &  offsets,
std::vector< std::int64_t > const &  connectivity 
)
inline

◆ insertPieces()

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

Insert part of a grid stored in file into factory.

◆ insertPiecesImpl()

void Dune::Vtk::GridCreatorInterface< Grid , ContinuousGridCreator< Grid > >::insertPiecesImpl ( std::vector< std::string > const &  )
inlineinherited

◆ insertVertices()

void Dune::Vtk::GridCreatorInterface< Grid , ContinuousGridCreator< 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()

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

Member Data Documentation

◆ factory_

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

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