version 3.10-dev
Dumux::Sphere< Scalar, dim > Class Template Reference

A simple sphere type.

#include <dumux/geometry/sphere.hh>

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: