Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
#include <Union.hpp>
Public Member Functions | |
PolymorphicUnion (const std::vector< PolymorphicGeometry< Rank >> &geoms) | |
std::unique_ptr< Geometry< Rank > > | Clone () const override |
Returns a copy of the concrete geometry as a pointer to the base class. More... | |
double | ComputeDistanceTo (const std::array< double, Rank > &x) const override |
Computes the minimum distance between geometry and point x. More... | |
Private Attributes | |
std::vector< PolymorphicGeometry< Rank > > | geoms_ |
fub::PolymorphicUnion< Rank >::PolymorphicUnion | ( | const std::vector< PolymorphicGeometry< Rank >> & | geoms | ) |
|
overridevirtual |
Returns a copy of the concrete geometry as a pointer to the base class.
Implements fub::Geometry< Rank >.
|
overridevirtual |
Computes the minimum distance between geometry and point x.
Implements fub::Geometry< Rank >.
|
private |