-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add derived fields to cluster pgen (#63)
* add derived fields * add Mach number * use log10 radius instead * Added temperature as derived field * fix previous commit * Tabular Cooling DeDt refactor * Added cooling_time derived field * cpp-py-formatter * Update src/pgen/cluster.cpp Co-authored-by: forrestglines <[email protected]> * Update src/pgen/cluster.cpp Co-authored-by: Philipp Grete <[email protected]> * Update src/pgen/cluster.cpp Co-authored-by: Philipp Grete <[email protected]> * Update src/pgen/cluster.cpp Co-authored-by: Philipp Grete <[email protected]> * Update src/pgen/cluster.cpp Co-authored-by: Philipp Grete <[email protected]> * Update src/pgen/cluster.cpp Co-authored-by: Philipp Grete <[email protected]> * fix indices * Refactor cooling_table_obj, add mach_alfven * Removed extra 0, indexers * cpp-py-formatter * Explicility set edot==0 -> t_cool=NAN, and M_A * Fix calc of alfven mach in cluster output Piggyback removal of labels for acceleration fields in turb generator as the (new) default ones are effectively identical. * WIP: Rolled back tabular cooling * Compute cooling time with old DeDt * cpp-py-formatter * Reapplied cooling table refactor, fixed bug * cpp-py-formatter --------- Co-authored-by: Forrest Glines <[email protected]> Co-authored-by: Forrest Glines <[email protected]> Co-authored-by: par-hermes <[email protected]> Co-authored-by: Philipp Grete <[email protected]> Co-authored-by: Forrest Glines <[email protected]>
- Loading branch information
1 parent
2b7c87e
commit 8f04e18
Showing
7 changed files
with
278 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.