|
| | GridCreatorInterface (GridFactory< Grid > &factory) |
| | Constructor. Stores a reference to the passed GridFactory. More...
|
| |
| | GridCreatorInterface (std::shared_ptr< GridFactory< Grid >> factory) |
| | Constructor. Store the shared_ptr to the GridFactory. More...
|
| |
| 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. 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< Grid > | createGrid () 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...
|
| |
| void | insertVerticesImpl (std::vector< GlobalCoordinate > const &, std::vector< std::uint64_t > const &) |
| |
| void | insertElementsImpl (std::vector< std::uint8_t > const &, std::vector< std::int64_t > const &, std::vector< std::int64_t > const &) |
| |
| void | insertPiecesImpl (std::vector< std::string > const &) |
| |
template<class GridType, class 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. |