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

3D Geometry More...

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

Inheritance diagram for Dune::MMeshGeometry< md, 3, 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 GridImp::ctype ctype
 
typedef FieldVector< ctype, coorddimFVector
 
typedef GridImp::LeafIntersection Intersection
 
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, 4 > 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 1.
 
 MMeshGeometry (const typename GridImp::template HostGridEntity< 3 > &hostEntity)
 Constructor from host geometry with codim 3.
 
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 = 3
 

Detailed Description

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

3D Geometry

Member Typedef Documentation

◆ BaseType

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

◆ ctype

template<int md, class GridImp >
typedef GridImp::ctype Dune::MMeshGeometry< md, 3, GridImp >::ctype

◆ FVector

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

◆ Intersection

template<int md, class GridImp >
typedef GridImp::LeafIntersection Dune::MMeshGeometry< md, 3, 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/7]

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

◆ MMeshGeometry() [2/7]

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

Constructor from host geometry with codim 0.

◆ MMeshGeometry() [3/7]

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

◆ MMeshGeometry() [4/7]

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

Constructor from host geometry with codim 1.

◆ MMeshGeometry() [5/7]

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

Constructor of local intersection geometry.

◆ MMeshGeometry() [6/7]

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

Constructor from host geometry with codim 1.

◆ MMeshGeometry() [7/7]

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

Constructor from host geometry with codim 3.

Member Function Documentation

◆ circumcenter()

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

Obtain the circumcenter.

Member Data Documentation

◆ coorddim

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

◆ mydim

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

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