Dune Core Modules (2.3.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
 
const GlobalCoordinateoperator[] (const int i) const
 deprecated way of obtaining the i-th corner More...
 
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().

◆ operator[]()

template<int mydim, int cdim, class GridImp >
const GlobalCoordinate & Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::operator[] ( const int  i) const
inline

deprecated way of obtaining the i-th corner

Deprecated:
Use corner( int i) instead. This method will be removed after Dune 2.3.

References Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::corners().


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 12, 23:30, 2024)