-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into open-compressed-files
- Loading branch information
Showing
30 changed files
with
490 additions
and
480 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ on: | |
schedule: | ||
# run this every day at 3 am UTC | ||
- cron: '0 3 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +0,0 @@ | ||
# TODO: get rid of enzo parameters we do not need | ||
parameterDict = { | ||
"CosmologyCurrentRedshift": float, | ||
"CosmologyComovingBoxSize": float, | ||
"CosmologyOmegaMatterNow": float, | ||
"CosmologyOmegaLambdaNow": float, | ||
"CosmologyHubbleConstantNow": float, | ||
"CosmologyInitialRedshift": float, | ||
"DualEnergyFormalismEta1": float, | ||
"DualEnergyFormalismEta2": float, | ||
"MetaDataString": str, | ||
"HydroMethod": int, | ||
"DualEnergyFormalism": int, | ||
"InitialTime": float, | ||
"ComovingCoordinates": int, | ||
"DensityUnits": float, | ||
"LengthUnits": float, | ||
"LengthUnit": float, | ||
"TemperatureUnits": float, | ||
"TimeUnits": float, | ||
"GravitationalConstant": float, | ||
"Gamma": float, | ||
"MultiSpecies": int, | ||
"CompilerPrecision": str, | ||
"CurrentTimeIdentifier": int, | ||
"RefineBy": int, | ||
"BoundaryConditionName": str, | ||
"TopGridRank": int, | ||
"TopGridDimensions": int, | ||
"EOSSoundSpeed": float, | ||
"EOSType": int, | ||
"NumberOfParticleAttributes": int, | ||
} | ||
|
||
|
||
# converts the Orion inputs file name to the Enzo/yt name expected | ||
# throughout the code. key is Orion name, value is Enzo/yt equivalent | ||
orion2enzoDict = { | ||
"amr.n_cell": "TopGridDimensions", | ||
"materials.gamma": "Gamma", | ||
"amr.ref_ratio": "RefineBy", | ||
"castro.use_comoving": "ComovingCoordinates", | ||
"castro.redshift_in": "CosmologyInitialRedshift", | ||
"comoving_OmL": "CosmologyOmegaLambdaNow", | ||
"comoving_OmM": "CosmologyOmegaMatterNow", | ||
"comoving_h": "CosmologyHubbleConstantNow", | ||
} | ||
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
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.