3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | List of all members
Dumux::Sphere< Scalar, dim > Class Template Reference

A simple sphere type. More...

#include <dumux/geometry/sphere.hh>

Description

template<class Scalar, int dim>
class Dumux::Sphere< Scalar, dim >

A simple sphere type.

Public Types

using Point = Dune::FieldVector< Scalar, dim >
 

Public Member Functions

 Sphere ()
 
 Sphere (const Point &center, Scalar radius)
 
Scalar radius () const
 
const Pointcenter () const
 

Member Typedef Documentation

◆ Point

template<class Scalar , int dim>
using Dumux::Sphere< Scalar, dim >::Point = Dune::FieldVector<Scalar, dim>

Constructor & Destructor Documentation

◆ Sphere() [1/2]

template<class Scalar , int dim>
Dumux::Sphere< Scalar, dim >::Sphere ( )
inline

◆ Sphere() [2/2]

template<class Scalar , int dim>
Dumux::Sphere< Scalar, dim >::Sphere ( const Point center,
Scalar  radius 
)
inline

Member Function Documentation

◆ center()

template<class Scalar , int dim>
const Point & Dumux::Sphere< Scalar, dim >::center ( ) const
inline

◆ radius()

template<class Scalar , int dim>
Scalar Dumux::Sphere< Scalar, dim >::radius ( ) const
inline

The documentation for this class was generated from the following file: