Dune Core Modules (unstable)

Dune::Concept::Geometry Concept Reference

Model of a geometry object. More...

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

Concept definition

template<class G>
concept Dune::Concept::Geometry = requires(const G g, typename G::GlobalCoordinate global, typename G::LocalCoordinate local)
{
typename G::ctype;
{ G::mydimension } -> std::convertible_to<int>;
{ G::coorddimension } -> std::convertible_to<int>;
{ g.type() } -> std::same_as<Dune::GeometryType>;
{ g.affine() } -> std::convertible_to<bool>;
{ g.corners() } -> std::convertible_to<int>;
{ g.corner( int{}) } -> std::convertible_to<typename G::GlobalCoordinate>;
{ g.global(local) } -> std::convertible_to<typename G::GlobalCoordinate>;
{ g.local(global) } -> std::convertible_to<typename G::LocalCoordinate>;
{ g.integrationElement(local) } -> std::convertible_to<typename G::Volume>;
{ g.volume() } -> std::convertible_to<typename G::Volume>;
{ g.center() } -> std::convertible_to<typename G::GlobalCoordinate>;
{ g.jacobian(local) } -> std::convertible_to<typename G::Jacobian>;
{ g.jacobianInverse(local) } -> std::convertible_to<typename G::JacobianInverse>;
{ g.jacobianTransposed(local) } -> std::convertible_to<typename G::JacobianTransposed>;
{ g.jacobianInverseTransposed(local) } -> std::convertible_to<typename G::JacobianInverseTransposed>;
{ referenceElement(g) } -> ReferenceElement;
}
Model of a geometry object.
Definition: geometry.hh:29
unspecified value type referenceElement(T &&... t)
Returns a reference element for the objects t....

Detailed Description

Model of a geometry object.

Dune::Geometry is a template for this model

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)