|
dune-mmesh 1.4.1-git
|
Loading...
Searching...
No Matches
implicitgridfactory.hh
Go to the documentation of this file.
Helpers for conversion from CGAL::Point_x to DUNE::FieldVector.
#define DUNE_THROW(E,...)
const EntityType & entity() const
specialization of the implicit GridFactory for MMesh
Definition implicitgridfactory.hh:35
static const bool supportsBoundaryIds
are boundary ids supported by this factory?
Definition implicitgridfactory.hh:79
Grid::IdType IdType
type of an id
Definition implicitgridfactory.hh:57
void insertElement(const GeometryType &type, const std::vector< unsigned int > &v, const size_t domainMarker)
Definition implicitgridfactory.hh:104
std::unordered_map< IdType, std::size_t > InterfaceSegments
type of the interface segment set
Definition implicitgridfactory.hh:64
std::unique_ptr< Grid > createGrid()
finalize grid creation and hand over the grid
Definition implicitgridfactory.hh:258
void insertVertex(const WorldVector &pos)
Insert a vertex into the macro grid.
Definition implicitgridfactory.hh:183
void insertInterface(const std::vector< unsigned int > &vertices, const std::size_t marker=1)
insert an interface into the macro grid
Definition implicitgridfactory.hh:203
std::unordered_map< std::size_t, std::size_t > BoundaryIds
Definition implicitgridfactory.hh:61
void insertElement(const GeometryType &type, const std::vector< unsigned int > &v)
insert an element into the macro grid
Definition implicitgridfactory.hh:95
MMeshImplicitGridFactory()
Definition implicitgridfactory.hh:84
std::unordered_map< IdType, std::size_t > BoundarySegments
type of the boundary segment id map
Definition implicitgridfactory.hh:60
unsigned int insertionIndex(const typename Grid::LeafIntersection &intersection) const
return insertion index of boundary intersection
Definition implicitgridfactory.hh:235
const BoundaryIds & boundaryIds() const
returns the boundary segment index to boundary id map
Definition implicitgridfactory.hh:244
std::enable_if_t< d==2, bool > isElement(const std::vector< unsigned int > &v, Element_handle &fh) const
Returns if there is a face with the given vertices in the triangulation2.
Definition implicitgridfactory.hh:116
Dune::BoundarySegment< dimension, dimensionworld > BoundarySegment
type of a Dune boundary segment
Definition implicitgridfactory.hh:55
void insertInterfaceBoundarySegment(const std::vector< unsigned int > &vertices)
Definition implicitgridfactory.hh:161
unsigned int insertionIndex(const typename Codim< dimension >::Entity &entity) const
return insertion index of entity
Definition implicitgridfactory.hh:226
void insertBoundarySegment(const std::vector< unsigned int > &vertices, const std::shared_ptr< Dune::BoundarySegment< dimension, dimension > > &boundarySegment)
Definition implicitgridfactory.hh:153
static const int dimension
dimension of the grid
Definition implicitgridfactory.hh:45
void insertBoundarySegment(const std::vector< unsigned int > &vertices)
insert boundary segment
Definition implicitgridfactory.hh:138
const BoundarySegments & boundarySegments() const
returns the boundary segment to index map
Definition implicitgridfactory.hh:241
Grid::ctype ctype
type of (scalar) coordinates
Definition implicitgridfactory.hh:40
FieldMatrix< ctype, dimensionworld, dimensionworld > WorldMatrix
type of matrix from world coordinates to world coordinates
Definition implicitgridfactory.hh:52
unsigned int insertionIndex(const typename Codim< 0 >::Entity &entity) const
return index of inserted vertex within the macro grid
Definition implicitgridfactory.hh:218
Grid::HostGridType HostGrid
type of the hostgrid
Definition implicitgridfactory.hh:42
static const bool supportPeriodicity
the factory is not able to create periodic meshes
Definition implicitgridfactory.hh:81
std::enable_if_t< d==3, bool > isElement(const std::vector< unsigned int > &v, Element_handle &fh) const
Returns if there is a cell with the given vertices in the triangulation3.
Definition implicitgridfactory.hh:128
static const int dimensionworld
dimension of the world
Definition implicitgridfactory.hh:47
FieldVector< ctype, dimensionworld > WorldVector
type of vector for world coordinates
Definition implicitgridfactory.hh:50
void addBoundaryId(std::size_t boundarySegmentIndex, std::size_t boundaryId)
add a boundary id
Definition implicitgridfactory.hh:247
Definition implicitgridfactory.hh:67
Grid::template Codim< codim >::Entity Entity
Definition implicitgridfactory.hh:68
The MMesh class.
Some common helper methods.
T begin(T... args)
T end(T... args)
T find(T... args)
T insert(T... args)
T make_pair(T... args)
T push_back(T... args)
T size(T... args)
T sort(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8