Git Product home page Git Product logo

Comments (7)

ajnonaka avatar ajnonaka commented on June 22, 2024

One could make this argument for all the cutoff densities. Perhaps we should force the user to set these by having the default be -1, and abort if it's not set in the inputs file.

from maestroex.

zingale avatar zingale commented on June 22, 2024

I like that idea.

from maestroex.

ajnonaka avatar ajnonaka commented on June 22, 2024

There is base_cutoff_density, anelastic_cutoff, and burning_cutoff_density that should have this behavior. (aesthetically we should call it anelastic_cutoff_density instead) There is also a buoyancy_cutoff_factor but I think the default of 5 can be kept for that.

from maestroex.

ajnonaka avatar ajnonaka commented on June 22, 2024

In the original MAESTRO, the error checking to make sure the inputs files didn't have nonsensical values was in probin.template. Wondering where to put the equivalent statements in MAESTROeX. Maybe in meth_params.template at the end of read_method_params...?

from maestroex.

ajnonaka avatar ajnonaka commented on June 22, 2024

I'm thinking base and anelastic cutoff should be required in the inputs file. burning, if not supplied, will be set to base (this is what original MAESTRO did). Any objections? (it's easy to change later)

from maestroex.

harpolea avatar harpolea commented on June 22, 2024

Those sound good to me - they're the ones I had issues with for the massive star (in that I didn't realise that the cutoff parameters existed or that they were set to values that were so high for this problem).

from maestroex.

ajnonaka avatar ajnonaka commented on June 22, 2024

Implemented and merged in from cutoff_cleanup branch.

renname anelastic_cutoff -> anelastic_cutoff_density

require anelastic and base_cutoff_density to be supplied in the inputs file - code aborts if not supplied

burning_cutoff_density takes on the value of base_cutoff_density if not supplied in the inputs file

all inputs files updated to retain the old defaults (3.e6) if nothing was supplied

from maestroex.

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.