Skip to content

Commit

Permalink
Update StepChoosers in example yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
wthrowe committed May 15, 2024
1 parent 4560c26 commit 1bd105c
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 12 deletions.
1 change: 1 addition & 0 deletions support/Pipelines/Bbh/Inspiral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ Evolution:
StepChoosers:
- LimitIncrease:
Factor: 2
- PreventRapidIncrease
- ElementSizeCfl:
SafetyFactor: 0.5
- ErrorControl:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Evolution:
StepChoosers:
- LimitIncrease:
Factor: 2
- PreventRapidIncrease
- Cfl:
SafetyFactor: 0.2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Evolution:
StepChoosers:
- LimitIncrease:
Factor: 2
- PreventRapidIncrease
- Cfl:
SafetyFactor: 0.2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Evolution:
StepChoosers:
- LimitIncrease:
Factor: 2
- PreventRapidIncrease
- Cfl:
SafetyFactor: 0.2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Evolution:
StepChoosers:
- LimitIncrease:
Factor: 2
- PreventRapidIncrease
- ElementSizeCfl:
SafetyFactor: 0.5
- ErrorControl:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Evolution:
# StepChoosers:
# - LimitIncrease:
# Factor: 2
# - PreventRapidIncrease
# - Cfl:
# SafetyFactor: 0.2
# InitialSlabSize is only needed for local time stepping
Expand Down
13 changes: 3 additions & 10 deletions tests/InputFiles/NewtonianEuler/RiemannProblem1D.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,24 +104,17 @@ EventsAndTriggers:
# number has little qualitative effect on chosen step size,
# as long as the initial step size is not too large for the
# requested accuracy.
DelayChange: &slab_update_delay 10
DelayChange: 10
StepChoosers:
- ErrorControl:
AbsoluteTolerance: 1.0e-3
RelativeTolerance: 1.0e-3
MaxFactor: 10000.0
MinFactor: 0.0
SafetyFactor: 0.9
# These step choosers require no communication, so can be applied
# with a delay of 0 with no downside. We don't want them to start
# increasing the slab size before the error control is active,
# though.
- Trigger:
SlabCompares:
Comparison: GreaterThanOrEqualTo
Value: *slab_update_delay
Events:
- ChangeSlabSize:
# These step choosers require no communication, so can be
# applied with a delay of 0 with no downside.
DelayChange: 0
StepChoosers:
- LimitIncrease:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Evolution:
StepChoosers:
- LimitIncrease:
Factor: 2
- PreventRapidIncrease
- Cfl:
SafetyFactor: 0.2

Expand Down
2 changes: 0 additions & 2 deletions tests/InputFiles/ScalarWave/PlaneWave3D.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ EventsAndTriggers:
- ChangeSlabSize:
DelayChange: 0
StepChoosers:
- LimitIncrease:
Factor: 1.1
- StepToTimes:
Times:
Specified:
Expand Down

0 comments on commit 1bd105c

Please sign in to comment.