dune-mmesh 1.4.1-git
Loading...
Searching...
No Matches
Dune::MMeshGeometry< md, 2, GridImp > Class Template Reference

2D Geometry More...

#include <dune/mmesh/grid/geometry.hh>

Inheritance diagram for Dune::MMeshGeometry< md, 2, GridImp >:
Inheritance graph

Public Types

enum  { dimension = GridImp::dimension }
 
enum  { dimensionworld = GridImp::dimensionworld }
 
enum  { coorddimension = coorddim }
 
enum  { mydimension = mydim }
 
typedef AffineGeometry< typename GridImp::ctype, mydim, coorddimBaseType
 
typedef FieldVector< typename GridImp::ctype, coorddimFVector
 
typedef GridImp::LeafIntersection Intersection
 
typedef ct ctype
 
typedef FieldVector< ctype, mydimensionLocalCoordinate
 
typedef FieldVector< ctype, coorddimensionGlobalCoordinate
 
typedef ctype Volume
 
typedef FieldMatrix< ctype, mydimension, coorddimensionJacobianTransposed
 
typedef FieldMatrix< ctype, coorddimension, mydimensionJacobianInverseTransposed
 
typedef FieldMatrix< ctype, coorddimension, mydimensionJacobian
 
typedef FieldMatrix< ctype, mydimension, coorddimensionJacobianInverse
 

Public Member Functions

 MMeshGeometry ()
 
 MMeshGeometry (const typename GridImp::template HostGridEntity< 0 > &hostEntity)
 Constructor from host geometry with codim 0.
 
 MMeshGeometry (const std::array< FVector, 3 > points)
 
 MMeshGeometry (const typename GridImp::template HostGridEntity< 1 > &hostEntity)
 Constructor from host geometry with codim 1.
 
 MMeshGeometry (int idx)
 Constructor of local intersection geometry.
 
 MMeshGeometry (const typename GridImp::template HostGridEntity< 2 > &hostEntity)
 Constructor from host geometry with codim 2.
 
const FVector circumcenter () const
 Obtain the circumcenter.
 
bool affine () const
 
Dune::GeometryType type () const
 
int corners () const
 
GlobalCoordinate corner (int i) const
 
GlobalCoordinate center () const
 
GlobalCoordinate global (const LocalCoordinate &local) const
 
LocalCoordinate local (const GlobalCoordinate &global) const
 
ctype integrationElement (const LocalCoordinate &local) const
 
Volume volume () const
 
const JacobianTransposedjacobianTransposed (const LocalCoordinate &local) const
 
const JacobianInverseTransposedjacobianInverseTransposed (const LocalCoordinate &local) const
 
Jacobian jacobian (const LocalCoordinate &local) const
 
JacobianInverse jacobianInverse (const LocalCoordinate &local) const
 

Static Public Attributes

static constexpr int mydim = md
 
static constexpr int coorddim = 2
 

Detailed Description

template<int md, class GridImp>
class Dune::MMeshGeometry< md, 2, GridImp >

2D Geometry

Member Typedef Documentation

◆ BaseType

template<int md, class GridImp >
typedef AffineGeometry<typename GridImp::ctype, mydim, coorddim> Dune::MMeshGeometry< md, 2, GridImp >::BaseType

◆ FVector

template<int md, class GridImp >
typedef FieldVector<typename GridImp::ctype, coorddim> Dune::MMeshGeometry< md, 2, GridImp >::FVector

◆ Intersection

template<int md, class GridImp >
typedef GridImp::LeafIntersection Dune::MMeshGeometry< md, 2, GridImp >::Intersection

Member Enumeration Documentation

◆ anonymous enum

template<int md, class GridImp >
anonymous enum
Enumerator
dimension 

◆ anonymous enum

template<int md, class GridImp >
anonymous enum
Enumerator
dimensionworld 

◆ anonymous enum

template<int md, class GridImp >
anonymous enum
Enumerator
coorddimension 

◆ anonymous enum

template<int md, class GridImp >
anonymous enum
Enumerator
mydimension 

Constructor & Destructor Documentation

◆ MMeshGeometry() [1/6]

template<int md, class GridImp >
Dune::MMeshGeometry< md, 2, GridImp >::MMeshGeometry ( )
inlineexplicit

◆ MMeshGeometry() [2/6]

template<int md, class GridImp >
Dune::MMeshGeometry< md, 2, GridImp >::MMeshGeometry ( const typename GridImp::template HostGridEntity< 0 > &  hostEntity)
inline

Constructor from host geometry with codim 0.

◆ MMeshGeometry() [3/6]

template<int md, class GridImp >
Dune::MMeshGeometry< md, 2, GridImp >::MMeshGeometry ( const std::array< FVector, 3 >  points)
inline

◆ MMeshGeometry() [4/6]

template<int md, class GridImp >
Dune::MMeshGeometry< md, 2, GridImp >::MMeshGeometry ( const typename GridImp::template HostGridEntity< 1 > &  hostEntity)
inline

Constructor from host geometry with codim 1.

◆ MMeshGeometry() [5/6]

template<int md, class GridImp >
Dune::MMeshGeometry< md, 2, GridImp >::MMeshGeometry ( int  idx)
inline

Constructor of local intersection geometry.

◆ MMeshGeometry() [6/6]

template<int md, class GridImp >
Dune::MMeshGeometry< md, 2, GridImp >::MMeshGeometry ( const typename GridImp::template HostGridEntity< 2 > &  hostEntity)
inline

Constructor from host geometry with codim 2.

Member Function Documentation

◆ circumcenter()

template<int md, class GridImp >
const FVector Dune::MMeshGeometry< md, 2, GridImp >::circumcenter ( ) const
inline

Obtain the circumcenter.

Member Data Documentation

◆ coorddim

template<int md, class GridImp >
constexpr int Dune::MMeshGeometry< md, 2, GridImp >::coorddim = 2
staticconstexpr

◆ mydim

template<int md, class GridImp >
constexpr int Dune::MMeshGeometry< md, 2, GridImp >::mydim = md
staticconstexpr

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