|
dune-vtk 2.12
|
Loading...
Searching...
No Matches
gridcreatorinterface.hh
Go to the documentation of this file.
STL namespace.
Definition writer.hh:16
std::shared_ptr< T > stackobject_to_shared_ptr(T &t)
static Communication< MPICommunicator > getCommunication()
Base class for grid creators in a CRTP style.
Definition gridcreatorinterface.hh:23
void insertElementsImpl(std::vector< std::uint8_t > const &, std::vector< std::int64_t > const &, std::vector< std::int64_t > const &)
Definition gridcreatorinterface.hh:112
GridCreatorInterface(Args &&... args)
Constructor. Construct a new GridFactory from the passed arguments.
Definition gridcreatorinterface.hh:43
GridFactory< Grid > & factory()
Return the associated GridFactory.
Definition gridcreatorinterface.hh:75
typename Grid::template Codim< 0 >::Entity::Geometry::GlobalCoordinate GlobalCoordinate
Definition gridcreatorinterface.hh:26
Derived & asDerived()
Definition gridcreatorinterface.hh:94
std::unique_ptr< Grid > createGrid() const
Construct the actual grid using the GridFactory.
Definition gridcreatorinterface.hh:69
void insertPiecesImpl(std::vector< std::string > const &)
Definition gridcreatorinterface.hh:119
const Derived & asDerived() const
Definition gridcreatorinterface.hh:99
std::shared_ptr< GridFactory< Grid > > factory_
Definition gridcreatorinterface.hh:125
auto comm() const
Return the mpi collective communicator.
Definition gridcreatorinterface.hh:87
void insertPieces(std::vector< std::string > const &pieces)
Insert part of a grid stored in file into factory.
Definition gridcreatorinterface.hh:63
GridCreatorInterface(std::shared_ptr< GridFactory< Grid > > factory)
Constructor. Store the shared_ptr to the GridFactory.
Definition gridcreatorinterface.hh:36
GridCreatorInterface(GridFactory< Grid > &factory)
Constructor. Stores a reference to the passed GridFactory.
Definition gridcreatorinterface.hh:31
GridFactory< Grid > const & factory() const
Return the associated (const) GridFactory.
Definition gridcreatorinterface.hh:81
void insertVerticesImpl(std::vector< GlobalCoordinate > const &, std::vector< std::uint64_t > const &)
Definition gridcreatorinterface.hh:106
void insertVertices(std::vector< GlobalCoordinate > const &points, std::vector< std::uint64_t > const &point_ids)
Insert all points as vertices into the factory.
Definition gridcreatorinterface.hh:48
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.
Definition gridcreatorinterface.hh:55
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8