Compute the volume of several common geometry types.
#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.
| Namespaces | |
| namespace | Dumux | 
| 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. | |