This file contains functions related to calculate pore-body properties.
#include <cmath>#include <string>#include <dune/common/exceptions.hh>Go to the source code of this file.
Namespaces | |
| namespace | Dumux |
| namespace | Dumux::PoreNetwork |
| namespace | Dumux::PoreNetwork::Pore |
Enumerations | |
| enum class | Dumux::PoreNetwork::Pore::Shape { Dumux::PoreNetwork::Pore::circle , Dumux::PoreNetwork::Pore::square , Dumux::PoreNetwork::Pore::cube , Dumux::PoreNetwork::Pore::sphere , Dumux::PoreNetwork::Pore::cylinder , Dumux::PoreNetwork::Pore::tetrahedron , Dumux::PoreNetwork::Pore::octahedron , Dumux::PoreNetwork::Pore::icosahedron , Dumux::PoreNetwork::Pore::dodecahedron } |
| Collection of different pore-body shapes. More... | |
Functions | |
| std::string | Dumux::PoreNetwork::Pore::shapeToString (Shape s) |
| Get the shape from a string description of the shape. | |
| Shape | Dumux::PoreNetwork::Pore::shapeFromString (const std::string &s) |
| Get the shape from a string description of the shape. | |
| template<class Scalar> | |
| Scalar | Dumux::PoreNetwork::Pore::volume (Shape shape, Scalar inscribedRadius) |
| Returns the volume of a given geometry based on the inscribed radius. | |
| template<class Scalar> | |
| Scalar | Dumux::PoreNetwork::Pore::volume (Shape shape, Scalar inscribedRadius, Scalar height) |
| Returns the volume of a given geometry based on the inscribed radius and the height. | |