Test for the makegeometry method.
More...
#include <config.h>
#include <iostream>
#include <algorithm>
#include <random>
#include <dune/common/float_cmp.hh>
#include <dumux/common/geometry/intersectspointgeometry.hh>
#include <dumux/common/geometry/makegeometry.hh>
#include <dumux/common/geometry/grahamconvexhull.hh>
Test for the makegeometry method.
|
template<class GlobalPosition > |
void | permutatePointsAndTest (const std::vector< GlobalPosition > &cornerPoints, const std::vector< GlobalPosition > &pointsWithinGeometry, const std::vector< GlobalPosition > &pointsOutsideGeometry, const bool verbose=false) |
| test if the ordering of the input points has an effect on the resulting geometry More...
|
|
template<class GlobalPosition > |
void | checkAxisAlignedGeometry (std::vector< GlobalPosition > &cornerPoints, std::vector< GlobalPosition > &pointsWithinGeometry, std::vector< GlobalPosition > &pointsOutsideGeometry, const int normalDirection, const typename GlobalPosition::value_type scale) |
|
int | main (int argc, char **argv) |
|
◆ checkAxisAlignedGeometry()
template<class GlobalPosition >
void checkAxisAlignedGeometry |
( |
std::vector< GlobalPosition > & |
cornerPoints, |
|
|
std::vector< GlobalPosition > & |
pointsWithinGeometry, |
|
|
std::vector< GlobalPosition > & |
pointsOutsideGeometry, |
|
|
const int |
normalDirection, |
|
|
const typename GlobalPosition::value_type |
scale |
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ permutatePointsAndTest()
template<class GlobalPosition >
void permutatePointsAndTest |
( |
const std::vector< GlobalPosition > & |
cornerPoints, |
|
|
const std::vector< GlobalPosition > & |
pointsWithinGeometry, |
|
|
const std::vector< GlobalPosition > & |
pointsOutsideGeometry, |
|
|
const bool |
verbose = false |
|
) |
| |
test if the ordering of the input points has an effect on the resulting geometry