A helper for the grid creator that matches a free-flow grid to a PNM grid.
|
static unsigned int | directionIndex (const GlobalPosition &vector) |
| Returns the direction index of a unit vector (0 = x, 1 = y, 2 = z) More...
|
|
static auto | couplingPlaneBoundingBox (const GlobalPosition &gridLowerLeft, const GlobalPosition &gridUpperRight, const GlobalPosition &couplingPlaneNormal, const std::string &modelParamGroup) |
|
static Plane | makeCouplingPlane (const GlobalPosition &gridLowerLeft, const GlobalPosition &gridUpperRight, const GlobalPosition &couplingPlaneNormal, const std::string &modelParamGroup) |
|
static std::array< std::optional< Line >, dim > | makeAxisParallelLinesFromCouplingPlane (const GlobalPosition &gridLowerLeft, const GlobalPosition &gridUpperRight, const GlobalPosition &couplingPlaneNormal, const std::string &modelParamGroup) |
| Creates lines parallel to the bounding box axis of the coupling plane. Creates one line for dim == 2 and two lines for dim == 3. The array size is dim, therefore the entry for the normal to the coupling plane is empty. More...
|
|
template<class LowDimGridView , class LowDimGridData > |
static auto | getPointsOnLine (const Dune::FieldVector< Scalar, 3 > &bulkGridLowerLeft, const Dune::FieldVector< Scalar, 3 > &bulkGridUpperRight, const Dune::FieldVector< Scalar, 3 > &couplingPlaneNormal, const LowDimGridView &lowDimGridView, const LowDimGridData &lowDimGridData, const std::string &modelParamGroup) |
| Returns the lowDim positions intersecting with a given line. More...
|
|
template<class LowDimGridView , class LowDimGridData > |
static auto | getPointsOnLine (const Dune::FieldVector< Scalar, 2 > &bulkGridLowerLeft, const Dune::FieldVector< Scalar, 2 > &bulkGridUpperRight, const Dune::FieldVector< Scalar, 2 > &couplingPlaneNormal, const LowDimGridView &lowDimGridView, const LowDimGridData &lowDimGridData, const std::string &modelParamGroup) |
| Returns the lowDim positions intersecting with a given line. More...
|
|