3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Namespaces | Functions
circumsphere.hh File Reference

A function to compute the circumsphere of a given geometry. More...

#include <type_traits>
#include <dumux/common/math.hh>
#include <dumux/geometry/sphere.hh>

Go to the source code of this file.

Description

A function to compute the circumsphere of a given geometry.

Note
The circumscribed sphere (or circumsphere) is a sphere touching all vertices of the geometry Therefore it does not necessarily exist for all geometries.

Namespaces

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

Functions

template<class Point >
static Sphere< typename Point::value_type, Point::dimension > Dumux::circumSphereOfTriangle (const Point &a, const Point &b, const Point &c)
 Computes the circumsphere of a triangle. More...
 
template<class Geometry , typename std::enable_if_t< Geometry::mydimension==2, int > = 0>
static Sphere< typename Geometry::ctype, Geometry::coorddimension > Dumux::circumSphereOfTriangle (const Geometry &triangle)
 Computes the circumsphere of a triangle. More...
 
Include dependency graph for circumsphere.hh: