3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::LensSpatialParams Namespace Reference

Functions

template<class GlobalPosition>
bool pointInLens (const GlobalPosition &globalPos, const GlobalPosition &lensLowerLeft, const GlobalPosition &lensUpperRight)
 Returns if a point is in a lens with a given bounding box.

Function Documentation

◆ pointInLens()

template<class GlobalPosition>
bool Dumux::LensSpatialParams::pointInLens ( const GlobalPosition & globalPos,
const GlobalPosition & lensLowerLeft,
const GlobalPosition & lensUpperRight )

Returns if a point is in a lens with a given bounding box.

Parameters
globalPosThe position of the point
lensLowerLeftThe lower left corner of the lens
lensUpperRightThe upper right corner of the lens