version 3.10-dev
Dumux::SingleGeometryEntitySet< GeoType > Class Template Reference

An interface for a geometric entity set with a single geometry.

#include <dumux/geometry/geometricentityset.hh>

Inheritance diagram for Dumux::SingleGeometryEntitySet< GeoType >:

Public Types

using Entity = Detail::GeometricEntity::EntityWrapper< GeoType >
 
using ctype = typename Entity::Geometry::ctype
 the coordinate type More...
 

Public Member Functions

constexpr auto size () const
 the number of entities in this set More...
 
decltype(auto) begin () const
 begin iterator to enable range-based for iteration More...
 
decltype(auto) end () const
 end iterator to enable range-based for iteration More...
 
std::size_t index (const Entity &e) const
 get an entities index More...
 
const Entityentity (std::size_t index) const
 get an entity from an index More...
 

Static Public Attributes

static constexpr int dimensionworld
 The world dimension of the entity set. More...
 

Member Typedef Documentation

◆ ctype

using Dumux::FixedSizeGeometriesEntitySet< GeoType, N >::ctype = typename Entity::Geometry::ctype
inherited

◆ Entity

using Dumux::FixedSizeGeometriesEntitySet< GeoType, N >::Entity = Detail::GeometricEntity::EntityWrapper<GeoType>
inherited

Member Function Documentation

◆ begin()

decltype(auto) Dumux::FixedSizeGeometriesEntitySet< GeoType, N >::begin ( ) const
inlineinherited

◆ end()

decltype(auto) Dumux::FixedSizeGeometriesEntitySet< GeoType, N >::end ( ) const
inlineinherited

◆ entity()

const Entity & Dumux::FixedSizeGeometriesEntitySet< GeoType, N >::entity ( std::size_t  index) const
inlineinherited

◆ index()

std::size_t Dumux::FixedSizeGeometriesEntitySet< GeoType, N >::index ( const Entity e) const
inlineinherited

◆ size()

constexpr auto Dumux::FixedSizeGeometriesEntitySet< GeoType, N >::size ( ) const
inlineconstexprinherited

Member Data Documentation

◆ dimensionworld

constexpr int Dumux::FixedSizeGeometriesEntitySet< GeoType, N >::dimensionworld
staticconstexprinherited

The documentation for this class was generated from the following file: