Skip to content

Commit

Permalink
Update CubeScale and Refinement in Inspiral
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCarpenter46 committed Sep 26, 2024
1 parent 83de4b9 commit 00d5fa1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 13 deletions.
2 changes: 1 addition & 1 deletion support/Pipelines/Bbh/Inspiral.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def start_inspiral(
"-P",
type=int,
help="p-refinement level.",
default=9,
default=8,
show_default=True,
)
@click.option(
Expand Down
40 changes: 28 additions & 12 deletions support/Pipelines/Bbh/Inspiral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,23 +81,25 @@ DomainCreator:
ConstraintPreservingBjorhus:
Type: ConstraintPreservingPhysical
UseEquiangularMap: True
CubeScale: 1.0
# Found that a CubeScale of 1.2 worked well for equal mass non-spinning
# inspirals and allowed for more common horizon finds.
CubeScale: 1.2
# These values have been tested to be stable for full equal mass mergers
# with constraints ~10^-7 for L=1, P=10
InitialRefinement:
ObjectAShell: [{{ L }}, {{ L }}, {{ L + 1 }}]
ObjectACube: [{{ L + 1 }}, {{ L + 1 }}, {{ L }}]
ObjectBShell: [{{ L }}, {{ L }}, {{ L + 1 }}]
ObjectBCube: [{{ L + 1 }}, {{ L + 1 }}, {{ L }}]
Envelope: [{{ L }}, {{ L }}, {{ L }}]
OuterShell: [{{ L }}, {{ L }}, {{ L + 1 }}]
ObjectAShell: [{{ L + 1 }}, {{ L + 1 }}, {{ L + 1 }}]
ObjectACube: [{{ L + 2 }}, {{ L + 2 }}, {{ L + 1 }}]
ObjectBShell: [{{ L + 1 }}, {{ L + 1 }}, {{ L + 1 }}]
ObjectBCube: [{{ L + 2 }}, {{ L + 2 }}, {{ L + 1 }}]
Envelope: [{{ L + 1 }}, {{ L + 1 }}, {{ L + 1 }}]
OuterShell: [{{ L }}, {{ L }}, {{ L + 2 }}]
InitialGridPoints:
ObjectAShell: [{{ P + 3 }}, {{ P + 3 }}, {{ P + 1 }}]
ObjectACube: [{{ P }}, {{ P }}, {{ P - 1 }}]
ObjectBShell: [{{ P + 3 }}, {{ P + 3 }}, {{ P + 1 }}]
ObjectBCube: [{{ P }}, {{ P }}, {{ P - 1 }}]
Envelope: [{{ P + 3 }}, {{ P + 3 }}, {{ P + 5 }}]
OuterShell: [{{ P + 2 }}, {{ P + 2 }}, {{ P + 4 }}]
OuterShell: [{{ P + 3 }}, {{ P + 3 }}, {{ P + 4 }}]
TimeDependentMaps:
InitialTime: &InitialTime 0.0
ExpansionMap:
Expand Down Expand Up @@ -296,7 +298,7 @@ EventsAndTriggers:
- Trigger:
Slabs:
EvenlySpaced:
Interval: 10
Interval: 1
Offset: 0
Events:
- ObservationAhA
Expand Down Expand Up @@ -327,12 +329,26 @@ EventsAndTriggers:
# for visualization.
CoordinatesFloatingPointType: Float
FloatingPointTypes: [Float]
# Try to find common horizon at small separation
# Trigger to find common horizon and gather volume data needed for ringdown.
- Trigger:
SeparationLessThan:
Value: 2.5
Value: 2.38 # for q=1, spin=0, quasicircular
Events:
- ChangeSlabSize:
DelayChange: 0
StepChoosers:
- Constant: 0.01
- ObservationAhC
- ObserveFields:
SubfileName: ForContinuation
VariablesToObserve:
- SpacetimeMetric
- Pi
- Phi
InterpolateToMesh: None
# This volume data is for ringdown, so double precision is needed.
CoordinatesFloatingPointType: Double
FloatingPointTypes: [Double]
# Never terminate... run until something fails!

EventsAndDenseTriggers:
Expand Down Expand Up @@ -374,7 +390,7 @@ ApparentHorizons:
Verbosity: Quiet
ObservationAhC:
InitialGuess:
LMax: 20
LMax: 33
Radius: 10.0
Center: [0.0, 0.0, 0.0]
FastFlow: *DefaultFastFlow
Expand Down

0 comments on commit 00d5fa1

Please sign in to comment.