Helper function to compute points on a circle. More...
#include <vector>
#include <cmath>
#include <dune/common/exceptions.hh>
#include <dumux/common/math.hh>
#include <dumux/geometry/normal.hh>
Go to the source code of this file.
Namespaces | |
namespace | Dumux |
namespace | Dumux::EmbeddedCoupling |
Functions | |
template<class GlobalPosition , class Scalar > | |
void | Dumux::EmbeddedCoupling::circlePoints (std::vector< GlobalPosition > &points, const std::vector< Scalar > &sincos, const GlobalPosition ¢er, const GlobalPosition &normal, const Scalar radius) |
template<class Scalar = double> | |
std::vector< Scalar > | Dumux::EmbeddedCoupling::circlePointsSinCos (const std::size_t numPoints) |
returns a vector of sin and cos values of a circle parametrization More... | |
template<class GlobalPosition , class Scalar > | |
std::vector< GlobalPosition > | Dumux::EmbeddedCoupling::circlePoints (const GlobalPosition ¢er, const GlobalPosition &normal, const Scalar radius, const std::size_t numPoints=20) |
returns a vector of points on a circle More... | |