3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Functions
Dumux::EmbeddedCoupling::Detail Namespace Reference

Functions

template<class GlobalPosition >
bool pointInEllipse (const GlobalPosition &p, const GlobalPosition &center, const GlobalPosition &firstAxis, const GlobalPosition &secondAxis, const GlobalPosition &normal, const typename GlobalPosition::value_type a, const typename GlobalPosition::value_type b)
 check if a point is in an ellipse More...
 
template<class GlobalPosition >
std::pair< std::vector< GlobalPosition >, typename GlobalPosition::value_type > ellipseIntegrationPoints (const GlobalPosition &center, const GlobalPosition &firstUnitAxis, const GlobalPosition &secondUnitAxis, typename GlobalPosition::value_type a, typename GlobalPosition::value_type b, const GlobalPosition &normal, typename GlobalPosition::value_type characteristicLength)
 construct evenly distributed integration points on an ellipse More...
 

Function Documentation

◆ ellipseIntegrationPoints()

template<class GlobalPosition >
std::pair< std::vector< GlobalPosition >, typename GlobalPosition::value_type > Dumux::EmbeddedCoupling::Detail::ellipseIntegrationPoints ( const GlobalPosition &  center,
const GlobalPosition &  firstUnitAxis,
const GlobalPosition &  secondUnitAxis,
typename GlobalPosition::value_type  a,
typename GlobalPosition::value_type  b,
const GlobalPosition &  normal,
typename GlobalPosition::value_type  characteristicLength 
)
inline

construct evenly distributed integration points on an ellipse

◆ pointInEllipse()

template<class GlobalPosition >
bool Dumux::EmbeddedCoupling::Detail::pointInEllipse ( const GlobalPosition &  p,
const GlobalPosition &  center,
const GlobalPosition &  firstAxis,
const GlobalPosition &  secondAxis,
const GlobalPosition &  normal,
const typename GlobalPosition::value_type  a,
const typename GlobalPosition::value_type  b 
)
inline

check if a point is in an ellipse