dune-grid-glue  2.3.0
Static Public Member Functions | List of all members
Projection::ProjectionHelper< 2, 3, T > Class Template Reference

#include <dune/grid-glue/common/projectionhelper.hh>

Static Public Member Functions

static bool projection (const WorldCoords &corner, const WorldCoords &direction, const std::vector< WorldCoords > &targetCorners, LocalCoords &image, const T overlap=1e-1)
 
static bool inverseProjection (const std::vector< WorldCoords > &corners, const std::vector< WorldCoords > &directions, const WorldCoords &target, LocalCoords &preImage, const T overlap=1e-1)
 
static bool inexactInverseProjection (const std::vector< WorldCoords > &corners, const std::vector< WorldCoords > &directions, const WorldCoords &target, LocalCoords &preImage, const T overlap=1e-1)
 Compute the inverse projection using Newton's method. This is more stable but as the problem to solve is cubic we only compute one solution which might not be the one we are looking for, i.e. the one in the surface element. More...
 

Member Function Documentation

template<class T >
static bool Projection::ProjectionHelper< 2, 3, T >::inexactInverseProjection ( const std::vector< WorldCoords > &  corners,
const std::vector< WorldCoords > &  directions,
const WorldCoords &  target,
LocalCoords &  preImage,
const T  overlap = 1e-1 
)
inlinestatic

Compute the inverse projection using Newton's method. This is more stable but as the problem to solve is cubic we only compute one solution which might not be the one we are looking for, i.e. the one in the surface element.

template<class T >
static bool Projection::ProjectionHelper< 2, 3, T >::inverseProjection ( const std::vector< WorldCoords > &  corners,
const std::vector< WorldCoords > &  directions,
const WorldCoords &  target,
LocalCoords &  preImage,
const T  overlap = 1e-1 
)
inlinestatic
template<class T >
static bool Projection::ProjectionHelper< 2, 3, T >::projection ( const WorldCoords &  corner,
const WorldCoords &  direction,
const std::vector< WorldCoords > &  targetCorners,
LocalCoords &  image,
const T  overlap = 1e-1 
)
inlinestatic

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