Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Public Member Functions | List of all members
fub::Geometry< Rank > Struct Template Referenceabstract

#include <Geometry.hpp>

Public Member Functions

virtual ~Geometry ()=default
 
virtual std::unique_ptr< GeometryClone () const =0
 Returns a copy of the concrete geometry as a pointer to the base class. More...
 
virtual double ComputeDistanceTo (const std::array< double, Rank > &x) const =0
 Computes the minimum distance between geometry and point x. More...
 

Constructor & Destructor Documentation

◆ ~Geometry()

template<std::size_t Rank>
virtual fub::Geometry< Rank >::~Geometry ( )
virtualdefault

Member Function Documentation

◆ Clone()

template<std::size_t Rank>
virtual std::unique_ptr<Geometry> fub::Geometry< Rank >::Clone ( ) const
pure virtual

Returns a copy of the concrete geometry as a pointer to the base class.

Implemented in fub::PolymorphicUnion< Rank >, fub::PolymorphicGeometry< Rank >, fub::GeometryWrapper< Rank, G >, and fub::Ambient.

◆ ComputeDistanceTo()

template<std::size_t Rank>
virtual double fub::Geometry< Rank >::ComputeDistanceTo ( const std::array< double, Rank > &  x) const
pure virtual

Computes the minimum distance between geometry and point x.

Implemented in fub::PolymorphicUnion< Rank >, fub::PolymorphicGeometry< Rank >, and fub::GeometryWrapper< Rank, G >.


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