3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Functions
test_makegeometry.cc File Reference

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>

Description

Test for the makegeometry method.

Functions

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)
 

Function Documentation

◆ 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

Include dependency graph for test_makegeometry.cc: