Skip to content

Commit

Permalink
Enable BBH ID control of CoM and Padm.
Browse files Browse the repository at this point in the history
  • Loading branch information
iago-mendes committed Sep 30, 2024
1 parent 6c677ca commit 1332b0a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion support/Pipelines/Bbh/ControlId.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@

logger = logging.getLogger(__name__)

DEFAULT_RESIDUAL_TOLERANCE = 1.0e-6
# The default tolerance is just below the effect of junk radiation on the
# controlled paramaters, which is about 1.0e-3.
DEFAULT_RESIDUAL_TOLERANCE = 1.0e-4
DEFAULT_MAX_ITERATIONS = 30

# Initial data physical parameters that are supported in this control scheme
Expand Down
2 changes: 2 additions & 0 deletions support/Pipelines/Bbh/InitialData.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Next:
- {{ DimensionlessSpinLeft_x }}
- {{ DimensionlessSpinLeft_y }}
- {{ DimensionlessSpinLeft_z }}
center_of_mass: [0., 0., 0.]
linear_momentum: [0., 0., 0.]
evolve: {{ evolve }}
scheduler: {{ scheduler | default("None") }}
copy_executable: {{ copy_executable | default("None") }}
Expand Down
2 changes: 2 additions & 0 deletions tests/support/Pipelines/Bbh/Test_InitialData.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ def test_cli(self):
"mass_B": 0.4,
"spin_A": [0.1, 0.2, 0.3],
"spin_B": [0.4, 0.5, 0.6],
"center_of_mass": [0.0, 0.0, 0.0],
"linear_momentum": [0.0, 0.0, 0.0],
},
"evolve": True,
"scheduler": "None",
Expand Down

0 comments on commit 1332b0a

Please sign in to comment.