3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
volume.hh File Reference

Compute the volume of several common geometry types. More...

#include <cmath>
#include <limits>
#include <type_traits>
#include <dune/common/exceptions.hh>
#include <dune/geometry/type.hh>
#include <dune/geometry/quadraturerules.hh>
#include <dumux/common/math.hh>

Go to the source code of this file.

Description

Compute the volume of several common geometry types.

Namespaces

namespace  Dumux
 Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.

Functions

template<int dim, class CornerF>
auto Dumux::convexPolytopeVolume (Dune::GeometryType type, const CornerF &c)
 Compute the volume of several common geometry types.
template<class Geometry>
auto Dumux::convexPolytopeVolume (const Geometry &geo)
 The volume of a given geometry.
template<class Geometry>
auto Dumux::volume (const Geometry &geo, unsigned int integrationOrder=4)
 The volume of a given geometry.
template<class Geometry, class Transformation>
auto Dumux::volume (const Geometry &geo, Transformation transformation, unsigned int integrationOrder=4)
 The volume of a given geometry with an extrusion/transformation policy.