|
dune-mmesh 1.4.1-git
|
Loading...
Searching...
No Matches
interface/gridfactory.hh
Go to the documentation of this file.
void insert(const T &v)
std::ptrdiff_t index() const
#define DUNE_THROW(E,...)
static auto makePoint(const Dune::FieldVector< ctype, 2 > &v)
Convert FieldVector to CGAL Point 2.
Definition pointfieldvector.hh:63
const EntityType & entity() const
Provides a DUNE grid interface class for the interface of a MMesh interface grid .
Definition mmesh/interface/grid.hh:90
typename MMesh::HostGridType HostGridType
the underlying hostgrid
Definition mmesh/interface/grid.hh:115
FieldType ctype
The type used to store coordinates, inherited from the MMesh.
Definition mmesh/interface/grid.hh:124
specialization of the GridFactory for MMesh InterfaceGrid
Definition interface/gridfactory.hh:21
FieldVector< ctype, dimensionworld > WorldVector
type of vector for world coordinates
Definition interface/gridfactory.hh:42
unsigned int insertionIndex(const typename Codim< dimension >::Entity &entity) const
return insertion index of vertex entity
Definition interface/gridfactory.hh:172
auto getGrid()
Definition interface/gridfactory.hh:194
std::unordered_map< std::vector< std::size_t >, std::size_t, HashUIntVector > BoundarySegments
Definition interface/gridfactory.hh:49
virtual void insertBoundarySegment(const std::vector< unsigned int > &vertices)
insert a boundary segment into the macro grid
Definition interface/gridfactory.hh:97
std::map< std::vector< std::size_t >, unsigned int > InsertionIndexMap
Definition interface/gridfactory.hh:50
GridFactory()
Definition interface/gridfactory.hh:69
Grid::GridPtrType createGrid()
finalize grid creation and hand over the grid
Definition interface/gridfactory.hh:187
void insertElement(const GeometryType &type, const std::vector< unsigned int > &vertices)
insert an element into the macro grid
Definition interface/gridfactory.hh:78
void insertVertex(const WorldVector &pos)
Insert a vertex into the macro grid.
Definition interface/gridfactory.hh:124
unsigned int insertionIndex(const typename Codim< 0 >::Entity &entity) const
return insertion index of entity
Definition interface/gridfactory.hh:152
FieldMatrix< ctype, dimensionworld, dimensionworld > WorldMatrix
type of matrix from world coordinates to world coordinates
Definition interface/gridfactory.hh:44
GridFactory(const std::shared_ptr< MMesh > mMesh)
Definition interface/gridfactory.hh:66
std::map< std::size_t, std::size_t > VertexIdMap
Definition interface/gridfactory.hh:52
Dune::BoundarySegment< dimension, dimensionworld > BoundarySegment
Definition interface/gridfactory.hh:46
MMeshImp MMesh
type of corresponding mmesh
Definition interface/gridfactory.hh:34
void insertBoundarySegment(const std::vector< unsigned int > &vertices, const std::shared_ptr< BoundarySegment > &boundarySegment)
Definition interface/gridfactory.hh:111
MMeshInterfaceGrid< MMeshImp > Grid
type of interface grid
Definition interface/gridfactory.hh:26
Grid::ctype ctype
type of (scalar) coordinates
Definition interface/gridfactory.hh:29
Grid::HostGridType HostGrid
Definition interface/gridfactory.hh:30
void addVertexHandle(const VertexHandle &vh)
Add existing vertex handle from the macro grid to the interface grid.
Definition interface/gridfactory.hh:141
HostGrid::Vertex_handle VertexHandle
Definition interface/gridfactory.hh:31
Grid::template Codim< codim >::Entity Entity
Definition interface/gridfactory.hh:56
T begin(T... args)
T end(T... args)
T make_pair(T... args)
T push_back(T... args)
T sort(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8