-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3470 from yt-project/dd_from_header
Don't get domain dimensions from cparam file for Boxlib frontend.
- Loading branch information
Showing
2 changed files
with
1 addition
and
60 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
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", | ||
} | ||