Dune Core Modules (2.11.0)
Dune::Vtk::GridCreatorInterface< GridType, DerivedType > Class Template Reference
Base class for grid creators in a CRTP style. More...
#include <dune/vtk/gridcreatorinterface.hh>
Public Member Functions | |
| GridCreatorInterface (GridFactory< Grid > &factory) | |
| Constructor. Stores a reference to the passed GridFactory. | |
| GridCreatorInterface (std::shared_ptr< GridFactory< Grid > > factory) | |
| Constructor. Store the shared_ptr to the GridFactory. | |
| template<class... Args, std::enable_if_t< std::is_constructible< GridFactory< Grid >, Args... >::value, int > = 0> | |
| GridCreatorInterface (Args &&... args) | |
| Constructor. Construct a new GridFactory from the passed arguments. | |
| void | insertVertices (std::vector< GlobalCoordinate > const &points, std::vector< std::uint64_t > const &point_ids) |
| Insert all points as vertices into the factory. | |
| 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. | |
| void | insertPieces (std::vector< std::string > const &pieces) |
| Insert part of a grid stored in file into factory. | |
| std::unique_ptr< Grid > | createGrid () const |
| Construct the actual grid using the GridFactory. | |
| GridFactory< Grid > & | factory () |
| Return the associated GridFactory. | |
| GridFactory< Grid > const & | factory () const |
| Return the associated (const) GridFactory. | |
| auto | comm () const |
| Return the mpi collective communicator. | |
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.
The documentation for this class was generated from the following file:
- dune/vtk/gridcreatorinterface.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Feb 14, 23:39, 2026)