Dune Core Modules (2.3.1)
geometry.hh
Go to the documentation of this file.
143 typedef JacobianInverseTransposed Jacobian DUNE_DEPRECATED_MSG ( "type Geometry::Jacobian is deprecated, use Geometry::JacobianInverseTransposed instead." );
306 static const bool storeReference = FacadeOptions::StoreGeometryReference< mydim, cdim, GridImp, GeometryImp >::v;
308 typename conditional< storeReference, const Implementation &, Implementation >::type realGeometry;
374 GeometryImp<mydim,cdim,GridImp>& asImp () {return static_cast<GeometryImp<mydim,cdim,GridImp>&>(*this);}
375 const GeometryImp<mydim,cdim,GridImp>& asImp () const {return static_cast<const GeometryImp<mydim,cdim,GridImp>&>(*this);}
432 GeometryImp<mydim,cdim,GridImp>& asImp () {return static_cast<GeometryImp<mydim,cdim,GridImp>&>(*this);}
433 const GeometryImp<mydim,cdim,GridImp>& asImp () const {return static_cast<const GeometryImp<mydim,cdim,GridImp>&>(*this);}
Default implementation for class Geometry.
Definition: geometry.hh:322
ctype volume() const
return volume of the geometry
Definition: geometry.hh:340
GlobalCoordinate center() const
return center of the geometry
Definition: geometry.hh:359
FieldMatrix< ctype, mydim, cdim > JacobianTransposed
type of jacobian transposed
Definition: geometry.hh:337
FieldMatrix< ctype, cdim, mydim > JacobianInverseTransposed
type of jacobian inverse transposed
Definition: geometry.hh:334
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:25
FieldVector< ctype, cdim > GlobalCoordinate
type of the global coordinates
Definition: geometry.hh:136
GeometryType type() const
Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.
Definition: geometry.hh:151
GlobalCoordinate global(const LocalCoordinate &local) const
Evaluate the map .
Definition: geometry.hh:185
Geometry(const Implementation &impl)
copy constructor from implementation
Definition: geometry.hh:289
Implementation::JacobianTransposed JacobianTransposed
type of jacobian transposed
Definition: geometry.hh:146
const JacobianInverseTransposed & jacobianInverseTransposed(const LocalCoordinate &local) const
Return inverse of transposed of Jacobian.
Definition: geometry.hh:283
Implementation::JacobianInverseTransposed JacobianInverseTransposed
type of jacobian inverse transposed
Definition: geometry.hh:139
const JacobianTransposed & jacobianTransposed(const LocalCoordinate &local) const
Return the transposed of the Jacobian.
Definition: geometry.hh:258
GlobalCoordinate corner(int i) const
Obtain a corner of the geometry.
Definition: geometry.hh:176
int corners() const
Return the number of corners of the reference element.
Definition: geometry.hh:162
GridImp::ctype ctype
define type used for coordinates in grid module
Definition: geometry.hh:130
ctype integrationElement(const LocalCoordinate &local) const
Return the factor appearing in the integral transformation formula.
Definition: geometry.hh:222
const Implementation & impl() const
return reference to the implementation
Definition: geometry.hh:117
FieldVector< ctype, mydim > LocalCoordinate
type of local coordinates
Definition: geometry.hh:133
GlobalCoordinate center() const
return center of geometry
Definition: geometry.hh:243
bool affine() const
Return true if the geometry mapping is affine and false otherwise.
Definition: geometry.hh:154
JacobianInverseTransposed Jacobian DUNE_DEPRECATED_MSG("type Geometry::Jacobian is deprecated, use Geometry::JacobianInverseTransposed instead.")
Definition: geometry.hh:143
Definition: grid.hh:1017
This class provides access to geometric and topological properties of a reference element....
Definition: referenceelements.hh:58
int size(int c) const
number of subentities of codimension c
Definition: referenceelements.hh:86
const FieldVector< ctype, dim > & position(int i, int c) const
position of the barycenter of entity (i,c)
Definition: referenceelements.hh:154
ctype volume() const
obtain the volume of the reference element
Definition: referenceelements.hh:280
Implements a matrix constructed from a given type representing a field and compile-time given number ...
Traits class determining whether the Dune::Geometry facade class stores the implementation object by ...
Definition: geometry.hh:47
static const bool v
Whether to store by reference.
Definition: geometry.hh:49
static const ReferenceElement< ctype, dim > & general(const GeometryType &type)
get general reference elements
Definition: referenceelements.hh:568
Traits for type conversions and type information.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)