|
dune-vtk 2.12
|
Loading...
Searching...
No Matches
Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
Dune::Vtk::GridCreatorInterface< GridType, DerivedType > Class Template Reference
Base class for grid creators in a CRTP style. More...
#include <dune/vtk/gridcreatorinterface.hh>
Inheritance diagram for Dune::Vtk::GridCreatorInterface< GridType, DerivedType >:

Public Types | |
| using | Grid = GridType |
| using | GlobalCoordinate = typename Grid::template Codim< 0 >::Entity::Geometry::GlobalCoordinate |
| using | Derived = DerivedType |
Protected Member Functions | |
| Derived & | asDerived () |
| const Derived & | asDerived () const |
Protected Attributes | |
| std::shared_ptr< GridFactory< Grid > > | factory_ |
Detailed Description
template<class GridType, class DerivedType>
class Dune::Vtk::GridCreatorInterface< GridType, DerivedType >
class Dune::Vtk::GridCreatorInterface< GridType, DerivedType >
Base class for grid creators in a CRTP style.
Construct a grid from data read from VTK files.
- Template Parameters
-
GridType Model of Dune::Grid GlobalCoordType Type of the global coordinates. DerivedType Implementation of a concrete GridCreator.
Member Typedef Documentation
◆ Derived
| using Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::Derived = DerivedType |
◆ GlobalCoordinate
| using Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::GlobalCoordinate = typename Grid::template Codim<0>::Entity::Geometry::GlobalCoordinate |
◆ Grid
| using Dune::Vtk::GridCreatorInterface< GridType, DerivedType >::Grid = GridType |
Constructor & Destructor Documentation
◆ GridCreatorInterface() [1/3]
|
inline |
Constructor. Stores a reference to the passed GridFactory.
◆ GridCreatorInterface() [2/3]
|
inline |
Constructor. Store the shared_ptr to the GridFactory.
◆ GridCreatorInterface() [3/3]
template<class... Args, std::enable_if_t< std::is_constructible< GridFactory< Grid >, Args... >::value, int > = 0>
|
inline |
Constructor. Construct a new GridFactory from the passed arguments.
Member Function Documentation
◆ asDerived() [1/2]
|
inlineprotected |
◆ asDerived() [2/2]
|
inlineprotected |
◆ comm()
|
inline |
Return the mpi collective communicator.
◆ createGrid()
|
inline |
Construct the actual grid using the GridFactory.
◆ factory() [1/2]
|
inline |
Return the associated GridFactory.
◆ factory() [2/2]
|
inline |
Return the associated (const) GridFactory.
◆ insertElements()
|
inline |
Create elements based on type and connectivity description.
◆ insertElementsImpl()
|
inline |
◆ insertPieces()
|
inline |
Insert part of a grid stored in file into factory.
◆ insertPiecesImpl()
|
inline |
◆ insertVertices()
|
inline |
Insert all points as vertices into the factory.
◆ insertVerticesImpl()
|
inline |
Member Data Documentation
◆ factory_
|
protected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8