Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • dumux dumux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 91
    • Issues 91
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 80
    • Merge requests 80
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • dumux-repositories
  • dumuxdumux
  • Issues
  • #1091
Closed
Open
Created Oct 27, 2021 by Dennis Gläser@DennisGlaeserOwner

Central place for geometry intersection tolerances

In the GeometryIntersection algorithms we define a baseEps_ = 1.5e-7 in every specialization. I think it could be beneficial to define the tolerance once in a central place. Something like

template<typename ctype>
class Precision
{
public:

    static ctype relativeTolerance()
    { return 1.5e-7; }   // or get from parameter tree as a static const variable? or from configure step?
};

Personally, I would be in favor of the solution with the parameter tree such that users can change the tolerance via the input file.

Assignee
Assign to
Time tracking