dune-geometry  2.5.1
Classes | Namespaces | Enumerations | Functions
type.hh File Reference

A unique label for each type of element that can occur in a grid. More...

#include <cassert>
#include <string>
#include <dune/common/exceptions.hh>
#include <dune/common/typetraits.hh>
#include <dune/common/unused.hh>

Go to the source code of this file.

Classes

struct  Dune::Impl::Point
 
struct  Dune::Impl::Prism< BaseTopology >
 
struct  Dune::Impl::Pyramid< BaseTopology >
 
struct  Dune::Impl::IsSimplex< Topology >
 
struct  Dune::Impl::IsCube< Topology >
 
struct  Dune::Impl::SimplexTopology< dim >
 
struct  Dune::Impl::SimplexTopology< 0 >
 
struct  Dune::Impl::CubeTopology< dim >
 
struct  Dune::Impl::CubeTopology< 0 >
 
struct  Dune::Impl::PyramidTopology< dim >
 
struct  Dune::Impl::PrismTopology< dim >
 
struct  Dune::Impl::IfTopology< Operation, dim, Topology >
 
struct  Dune::Impl::IfTopology< Operation, 0, Topology >
 
class  Dune::GeometryType
 Unique label for each type of entities that can occur in DUNE grids. More...
 

Namespaces

 Dune
 
 Dune::Impl
 

Enumerations

enum  Dune::Impl::TopologyConstruction { Dune::Impl::pyramidConstruction = 0, Dune::Impl::prismConstruction = 1 }
 

Functions

static unsigned int Dune::Impl::numTopologies (int dim) noexcept
 obtain the number of topologies of a given dimension More...
 
static bool Dune::Impl::isPyramid (unsigned int topologyId, int dim, int codim=0) noexcept
 check whether a pyramid construction was used to create a given codimension More...
 
static bool Dune::Impl::isPrism (unsigned int topologyId, int dim, int codim=0) noexcept
 check whether a prism construction was used to create a given codimension More...
 
static bool Dune::Impl::isTopology (TopologyConstruction construction, unsigned int topologyId, int dim, int codim=0) noexcept
 check whether a specific topology construction was used to create a given codimension More...
 
static unsigned int Dune::Impl::baseTopologyId (unsigned int topologyId, int dim, int codim=1) noexcept
 obtain the base topology of a given codimension More...
 
std::ostream & Dune::operator<< (std::ostream &s, const GeometryType &a)
 Prints the type to an output stream. More...
 
std::ostream & Dune::operator<< (std::ostream &s, GeometryType::BasicType type)
 Prints a GeometryType::BasicType to an output stream. More...
 

Detailed Description

A unique label for each type of element that can occur in a grid.