Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #144

Closed
Open
Created Aug 05, 2017 by kraus@krausDeveloper

Fixed reference point for inside check

In the class ArbitraryDomain globalIsInside_m is hard coded. This should be computed automatically for any domain and shouldn't be hard coded or needed from the input file. Possibility:

  1. compute the bounding box
  2. pick one corner and move from there away from the opposite corner by an arbitrary length
  3. pick an arbitrary triangle from the surface mesh
  4. compute its balance point and move a small distance from it in normal direction
  5. test whether the connecting line crosses an odd number of times
  • if the test is positive then you're done
  • otherwise move the same distance from the triangle to the other side
  • compute number crosses with surface
  • if the test is still negative then diminish distance from the triangle by factor 2 and try on both sides if necessary
Assignee
Assign to
OPAL 1.9.x
Milestone
OPAL 1.9.x
Assign milestone
Time tracking