Dune Core Modules (2.11.0)

Dune::Gmsh4::GridCreatorInterface< G, Derived > Class Template Reference

Base class for grid creators in a CRTP style. More...

#include <dune/gmsh4/gridcreatorinterface.hh>

Public Member Functions

 GridCreatorInterface (GridFactory< Grid > &factory)
 Constructor. Stores a reference to the passed GridFactory.
 
template<class NodeAttributes >
void insertVertices (std::size_t numNodes, std::pair< std::size_t, std::size_t > nodeTagRange, std::vector< NodeAttributes > const &entityBlocks)
 Insert all points as vertices into the factory.
 
template<class ElementAttributes , class BoundaryEntities >
void insertElements (std::size_t numElements, std::pair< std::size_t, std::size_t > elementTagRange, std::vector< ElementAttributes > const &entityBlocks, BoundaryEntities const &boundaryEntities)
 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.
 
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 G, class Derived>
class Dune::Gmsh4::GridCreatorInterface< G, Derived >

Base class for grid creators in a CRTP style.

Construct a grid from data read from Gmsh files.

Template Parameters
GridViewModel of Dune::GridView
DerivedImplementation of a concrete GridCreator.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Feb 14, 23:39, 2026)