Git Product home page Git Product logo

Comments (3)

dengwirda avatar dengwirda commented on May 28, 2024 1

Thanks for the example @pmav99, I can reproduce the crash at my end as described.
In short, this appears to be due to unexpected inputs into jigsaw --- hfun_hmax = inf (in the *.jig file) sets an infinite length-scale for the mesh, which causes problems internally.
Setting hfun_hmax = 0.02 and hfun_scal = relative (ie. mesh at 2% of the geometry size) leads to the following, which seems a more reasonable output:
jgsw_crash_fixer
Nonetheless, jigsaw should clip the inf to something sensible internally, and I've flagged this as a bug to be fixed as a result.

from jigsaw.

dengwirda avatar dengwirda commented on May 28, 2024

An added bound was placed on hfun-hmax (and hfun-hmin) in #48, which limits the hmax/hmin values to the scale of the geometry object. This ensures that not-unreasonable h(x) values are now obtained, even if passing hmax = Inf, etc.

from jigsaw.

pmav99 avatar pmav99 commented on May 28, 2024

thanks @dengwirda

from jigsaw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.