Giter VIP home page Giter VIP logo

Comments (4)

mjberger avatar mjberger commented on August 31, 2024

from amrclaw.

mandli avatar mandli commented on August 31, 2024

If you want to just test a limiter you could use PyClaw which has a number of additional limiters and would be trivial to add a new one. Otherwise in clawutil/src/python/clawutil/data.py starting at line 733 you could add another limiter option along with the associated code for the limiter in Fortran.

from amrclaw.

donnaaboise avatar donnaaboise commented on August 31, 2024

Yes, I'd like to try out a new limiter. I am comparing results with Basilisk, and they use the generalized minmod limiter. I am not necessarily proposing to add it to Clawpack, though, and so haven't opted to edit data.py (as per suggestion by @mandli). In the same way we include a user option for boundary conditions, I just thought it would be useful to have a user option for limiters. Right now, I have to manually edit claw.data to include a number outside of [0,4].

from amrclaw.

mandli avatar mandli commented on August 31, 2024

It would be pretty easy to add. One thing we did do in PyClaw was add another argument for the courant number as some of the more exotic limiters out there required the courant number. You can see the list if you are interested in https://github.com/clawpack/pyclaw/blob/master/src/pyclaw/limiters/tvd.py.

from amrclaw.

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.