3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Public Member Functions | List of all members
Dumux::Detail::SegmentNetwork< GridGeometry > Class Template Reference

Segment representation of a 1d network grid. More...

#include <dumux/multidomain/embedded/couplingmanager1d3d_projection.hh>

Description

template<class GridGeometry>
class Dumux::Detail::SegmentNetwork< GridGeometry >

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
 

Constructor & Destructor Documentation

◆ SegmentNetwork()

template<class GridGeometry >
template<class RadiusFunction >
Dumux::Detail::SegmentNetwork< GridGeometry >::SegmentNetwork ( const GridGeometry &  gg,
const RadiusFunction &  radiusFunction 
)
inline

Member Function Documentation

◆ findClosestSegmentSurface() [1/2]

template<class GridGeometry >
auto Dumux::Detail::SegmentNetwork< GridGeometry >::findClosestSegmentSurface ( const GlobalPosition &  globalPos) const
inline

find the closest segment (the segment from which the signed distance to its surface is the closest to zero)

Note
minDist is a positive distance

◆ findClosestSegmentSurface() [2/2]

template<class GridGeometry >
template<class IndexRange >
auto Dumux::Detail::SegmentNetwork< GridGeometry >::findClosestSegmentSurface ( const GlobalPosition &  globalPos,
const IndexRange &  segIndices 
) const
inline

same as overload with taking a position but only look at the segments specified by the index vector

◆ projectionPointOnSegment()

template<class GridGeometry >
GlobalPosition Dumux::Detail::SegmentNetwork< GridGeometry >::projectionPointOnSegment ( const GlobalPosition &  p,
std::size_t  idx 
) const
inline

◆ radius()

template<class GridGeometry >
auto Dumux::Detail::SegmentNetwork< GridGeometry >::radius ( std::size_t  eIdx) const
inline

the segment radius

◆ segment()

template<class GridGeometry >
const auto & Dumux::Detail::SegmentNetwork< GridGeometry >::segment ( std::size_t  eIdx) const
inline

the segment with index eIdx

◆ segments()

template<class GridGeometry >
const auto & Dumux::Detail::SegmentNetwork< GridGeometry >::segments ( ) const
inline

the segments


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