Geometry Transformations, Reference Elements and Quadrature Rules

  • Oliver Sander's avatar
    [!126] Make tolerances in checkGeometry depending on ctype · f2d76472
    Oliver Sander authored
    Merge branch 'issue/check_geometry_tolerances' into 'master'
    
    ref:core/dune-geometry
    
    ### Summary
    
    Replaces fixed tolerances 1.e-8 with ctype dependent tolerance
    
    ### Details
    
    Tests with geometries using float as ctype may fail to reach the desired fixed
    tolerance 1.e-8. This is corrected by using the
    tolerance=sqrt(numeric_limits<ctype>::epsilon()) value. This value gives
    approximately
    
    -   `tolerance<double> = 1.5e-8` and
    -   `tolerance<float> = 3.5e-4`
    
    and thus previous test runs with ctype=double should also pass the test with
    this change.
    
    See merge request [!126]
    
      [!126]: gitlab.dune-project.org/core/dune-geometry/merge_requests/126
    f2d76472
Name
Last commit
Last update
doc Loading commit data...
dune Loading commit data...
lib Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG.md Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
config.h.cmake Loading commit data...
dune-geometry.pc.in Loading commit data...
dune.module Loading commit data...