Dune Core Modules (2.4.1)

Dune::AlbertaGridGeometry< mydim, cdim, GridImp > Class Template Reference

geometry implementation for AlbertaGrid More...

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

Public Types

typedef Alberta::Real ctype
 type of coordinates
 

Public Member Functions

GeometryType type () const
 obtain the type of reference element
 
bool affine () const
 returns always true since we only have simplices
 
int corners () const
 number of corner the geometry
 
GlobalCoordinate corner (const int i) const
 obtain the i-th corner of this geometry
 
GlobalCoordinate center () const
 return center of geometry
 
GlobalCoordinate global (const LocalCoordinate &local) const
 map a point from the refence element to the geometry
 
 LocalCoordinate (const GlobalCoordinate &global) const
 map a point from the geometry to the reference element
 
ctype integrationElement () const
 integration element of the geometry mapping More...
 
ctype integrationElement (const LocalCoordinate &local) const
 integration element of the geometry mapping
 
ctype volume () const
 volume of geometry
 
const JacobianTransposedjacobianTransposed () const
 transposed of the geometry mapping's Jacobian More...
 
const JacobianTransposedjacobianTransposed (const LocalCoordinate &local) const
 transposed of the geometry mapping's Jacobian
 
const JacobianInverseTransposedjacobianInverseTransposed () const
 transposed inverse of the geometry mapping's Jacobian More...
 
const JacobianInverseTransposedjacobianInverseTransposed (const LocalCoordinate &local) const
 transposed inverse of the geometry mapping's Jacobian
 
void invalidate ()
 invalidate the geometry
 
template<class CoordReader >
void build (const CoordReader &coordReader)
 build the geometry from a coordinate reader
 

Detailed Description

template<int mydim, int cdim, class GridImp>
class Dune::AlbertaGridGeometry< mydim, cdim, GridImp >

geometry implementation for AlbertaGrid

Defines the geometry part of a mesh entity. Works for all dimensions, element types and dim of world. Provides reference element and mapping between local and global coordinates.

Template Parameters
mydimdimension of the element (0 <= dim <= 3)
cdimdimension of global coordinates
GridImpgrid implementation (always const AlbertaGrid< dim, dimworld >)

Member Function Documentation

◆ integrationElement()

template<int mydim, int cdim, class GridImp >
ctype Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::integrationElement ( ) const
inline

integration element of the geometry mapping

Note
This method is not part of the geometry interface. It is used internally only.

Referenced by Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::integrationElement(), and Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::volume().

◆ jacobianInverseTransposed()

template<int mydim, int cdim, class GridImp >
const AlbertaGridGeometry< mydim, cdim, GridImp >::JacobianInverseTransposed & Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianInverseTransposed
inline

transposed inverse of the geometry mapping's Jacobian

Note
This method is not part of the geometry interface. It is used internally only.

Referenced by Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianInverseTransposed().

◆ jacobianTransposed()

template<int mydim, int cdim, class GridImp >
const AlbertaGridGeometry< mydim, cdim, GridImp >::JacobianTransposed & Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianTransposed
inline

transposed of the geometry mapping's Jacobian

Note
This method is not part of the geometry interface. It is used internally only.

Referenced by Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::jacobianTransposed().


The documentation for this class was generated from the following files:
  • dune/grid/albertagrid/geometry.hh
  • dune/grid/albertagrid/geometry.cc
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)