Dune Core Modules (2.3.1)
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
uggridfactory.hh
Go to the documentation of this file.
Base class for grid boundary segments of arbitrary geometry.
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:25
Provide a generic factory class for unstructured grids.
Definition: gridfactory.hh:74
static const int dimension
dimension of the grid
Definition: gridfactory.hh:78
virtual void insertVertex(const FieldVector< ctype, dimworld > &pos)
Insert a vertex into the coarse grid.
virtual unsigned int insertionIndex(const typename Codim< 0 >::Entity &entity) const
Return the number of the element in the order of insertion into the factory.
Definition: uggridfactory.hh:232
virtual void insertElement(const GeometryType &type, const std::vector< unsigned int > &vertices)
Insert an element into the coarse grid.
virtual unsigned int insertionIndex(const typename Codim< dimension >::Entity &entity) const
Return the number of the vertex in the order of insertion into the factory.
Definition: uggridfactory.hh:242
virtual UGGrid< dimworld > * createGrid()
Finalize grid creation and hand over the grid.
GridFactory(UGGrid< dimworld > *grid)
Constructor for a given grid object.
void insertBoundarySegment(const std::vector< unsigned int > &vertices)
Method to insert a boundary segment into a coarse grid.
void insertBoundarySegment(const std::vector< unsigned int > &vertices, const shared_ptr< BoundarySegment< dimworld > > &boundarySegment)
Method to insert an arbitrarily shaped boundary segment into a coarse grid.
Provide a generic factory class for unstructured grids.
Definition: gridfactory.hh:263
Front-end for the grid manager of the finite element toolbox UG.
Definition: uggrid.hh:204
Simple fixed size array class. This replaces std::array, if that is not available.
Definition: array.hh:40
Provide a generic factory class for unstructured grids.
Implements a vector constructed from a given type representing a field and a compile-time given size.
#define dune_static_assert(COND, MSG)
Helper template so that compilation fails if condition is not true.
Definition: static_assert.hh:79
Base class for classes implementing geometries of boundary segments.
Definition: boundarysegment.hh:30
The UGGrid class.
