Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Rearranged the order of variables to output in get_feature
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Nov 15, 2022
1 parent a0aa03d commit c34be49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/swiftest/swiftest/simulation_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,17 +1017,17 @@ def get_feature(self, arg_list: str | List[str] | None = None, verbose: bool | N
"""

valid_var = {"close_encounter_check": "CHK_CLOSE",
"general_relativity": "GR",
"fragmentation": "FRAGMENTATION",
"minimum_fragment_gmass": "MIN_GMFRAG",
"rotation": "ROTATION",
"general_relativity": "GR",
"compute_conservation_values": "ENERGY",
"rhill_present": "RHILL_PRESENT",
"extra_force": "EXTRA_FORCE",
"big_discard": "BIG_DISCARD",
"rhill_present": "RHILL_PRESENT",
"restart": "RESTART",
"interaction_loops": "INTERACTION_LOOPS",
"encounter_check_loops": "ENCOUNTER_CHECK",
"minimum_fragment_gmass" : "MIN_GMFRAG"
"restart": "RESTART"
}

valid_arg, feature_dict = self._get_valid_arg_list(arg_list, valid_var)
Expand Down

0 comments on commit c34be49

Please sign in to comment.