Segment representation of a 1d network grid. More...
#include <dumux/multidomain/embedded/couplingmanager1d3d_projection.hh>
Segment representation of a 1d network grid.
We use separate segment representation which is fast to iterate over and which can be used to find the unique mapping from points on coupled bulk surface facets to the network centerline (i.e. a 1D dof on the centerline).
Public Member Functions | |
template<class RadiusFunction > | |
SegmentNetwork (const GridGeometry &gg, const RadiusFunction &radiusFunction) | |
auto | radius (std::size_t eIdx) const |
the segment radius More... | |
const auto & | segment (std::size_t eIdx) const |
the segment with index eIdx More... | |
const auto & | segments () const |
the segments More... | |
auto | findClosestSegmentSurface (const GlobalPosition &globalPos) const |
template<class IndexRange > | |
auto | findClosestSegmentSurface (const GlobalPosition &globalPos, const IndexRange &segIndices) const |
same as overload with taking a position but only look at the segments specified by the index vector More... | |
GlobalPosition | projectionPointOnSegment (const GlobalPosition &p, std::size_t idx) const |
|
inline |
|
inline |
find the closest segment (the segment from which the signed distance to its surface is the closest to zero)
|
inline |
same as overload with taking a position but only look at the segments specified by the index vector
|
inline |
|
inline |
the segment radius
|
inline |
the segment with index eIdx
|
inline |
the segments