Philip Mocz

Results 20 issues of Philip Mocz

Removing some unused variables in parallel loops, and improving a couple omp pragma statements for tiny speedup. To make future progress in parallelizing Mesa, we will need to parallelize the...

performance

Draft ....

documentation
test_suite

adding a tutorial (open-source) on how to use JAX to solve PDES in a constrained optimization problem

### Description I get significant 4x slowdown in JAX code when I add a `@jax.jit` to my main update function, which manipulates large arrays with element-wise math and `jnp.roll()` A...

bug
XLA

Checking to see if this fixes: https://github.com/MESAHub/mesa/issues/733 Test results here: https://testhub.mesastar.org/bugfix%2Fpmocz%2Fonezone/commits/2e2893f The idea is that I move the guard `if (just_dydt) return` a few lines down, so that `eps_nuc_MeV` always...

Inspired by @warrickball 's comment: https://github.com/MESAHub/mesa/pull/721#issuecomment-2308515534 this PR removes the `file_extension` option from inlists for pgstar/pgbinary because it is redundant with `file_device`. The file extension is now deduced from the...

The [fortitude linter](https://github.com/PlasmaFAIR/fortitude) can catch some important Fortran errors, and help clean up code and meet modern Fortran standards. It is installable via pip: `pip install fortitude-lint` and can be...

Really cool, performance-portable code with unique physics features! I'm excited to see it grow :) I'd find it very helpful to have a "Run your first simulation" page under "Getting...

enhancement