Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : #pragma once
5 :
6 : #include <cstdint>
7 : #include <optional>
8 : #include <vector>
9 :
10 : #include "ControlSystem/Actions/InitializeMeasurements.hpp"
11 : #include "ControlSystem/Actions/LimitTimeStep.hpp"
12 : #include "ControlSystem/CleanFunctionsOfTime.hpp"
13 : #include "ControlSystem/Component.hpp"
14 : #include "ControlSystem/ControlErrors/Size/Factory.hpp"
15 : #include "ControlSystem/ControlErrors/Size/State.hpp"
16 : #include "ControlSystem/Measurements/BothHorizons.hpp"
17 : #include "ControlSystem/Metafunctions.hpp"
18 : #include "ControlSystem/Systems/Expansion.hpp"
19 : #include "ControlSystem/Systems/Rotation.hpp"
20 : #include "ControlSystem/Systems/Shape.hpp"
21 : #include "ControlSystem/Systems/Size.hpp"
22 : #include "ControlSystem/Systems/Skew.hpp"
23 : #include "ControlSystem/Systems/Translation.hpp"
24 : #include "ControlSystem/Trigger.hpp"
25 : #include "DataStructures/DataBox/PrefixHelpers.hpp"
26 : #include "DataStructures/DataBox/Tag.hpp"
27 : #include "DataStructures/LinkedMessageId.hpp"
28 : #include "DataStructures/Tensor/EagerMath/RaiseOrLowerIndex.hpp"
29 : #include "Domain/Creators/BinaryCompactObject.hpp"
30 : #include "Domain/Creators/CylindricalBinaryCompactObject.hpp"
31 : #include "Domain/Structure/ObjectLabel.hpp"
32 : #include "Domain/Tags.hpp"
33 : #include "Domain/TagsCharacteristicSpeeds.hpp"
34 : #include "Evolution/Actions/RunEventsAndDenseTriggers.hpp"
35 : #include "Evolution/Actions/RunEventsAndTriggers.hpp"
36 : #include "Evolution/BoundaryCorrection.hpp"
37 : #include "Evolution/ComputeTags.hpp"
38 : #include "Evolution/DiscontinuousGalerkin/Actions/ApplyBoundaryCorrections.hpp"
39 : #include "Evolution/DiscontinuousGalerkin/Actions/ComputeTimeDerivative.hpp"
40 : #include "Evolution/DiscontinuousGalerkin/CleanMortarHistory.hpp"
41 : #include "Evolution/DiscontinuousGalerkin/DgElementArray.hpp"
42 : #include "Evolution/DiscontinuousGalerkin/Initialization/Mortars.hpp"
43 : #include "Evolution/Executables/GeneralizedHarmonic/Deadlock.hpp"
44 : #include "Evolution/Initialization/DgDomain.hpp"
45 : #include "Evolution/Initialization/Evolution.hpp"
46 : #include "Evolution/Initialization/NonconservativeSystem.hpp"
47 : #include "Evolution/Systems/Cce/Callbacks/DumpBondiSachsOnWorldtube.hpp"
48 : #include "Evolution/Systems/GeneralizedHarmonic/Actions/SetInitialData.hpp"
49 : #include "Evolution/Systems/GeneralizedHarmonic/Bbh/Callbacks/UpdateCompletionCriteria.hpp"
50 : #include "Evolution/Systems/GeneralizedHarmonic/Bbh/CompletionCriteria.hpp"
51 : #include "Evolution/Systems/GeneralizedHarmonic/Bbh/CompletionSingleton.hpp"
52 : #include "Evolution/Systems/GeneralizedHarmonic/Bbh/Events/CheckConstraintThresholds.hpp"
53 : #include "Evolution/Systems/GeneralizedHarmonic/Bbh/PhaseControl/CheckpointAndExitIfComplete.hpp"
54 : #include "Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/Bjorhus.hpp"
55 : #include "Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/DemandOutgoingCharSpeeds.hpp"
56 : #include "Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/DirichletMinkowski.hpp"
57 : #include "Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/Factory.hpp"
58 : #include "Evolution/Systems/GeneralizedHarmonic/BoundaryCorrections/Factory.hpp"
59 : #include "Evolution/Systems/GeneralizedHarmonic/Characteristics.hpp"
60 : #include "Evolution/Systems/GeneralizedHarmonic/Equations.hpp"
61 : #include "Evolution/Systems/GeneralizedHarmonic/GaugeSourceFunctions/Factory.hpp"
62 : #include "Evolution/Systems/GeneralizedHarmonic/GaugeSourceFunctions/Gauges.hpp"
63 : #include "Evolution/Systems/GeneralizedHarmonic/GaugeSourceFunctions/SetPiAndPhiFromConstraints.hpp"
64 : #include "Evolution/Systems/GeneralizedHarmonic/GaugeSourceFunctions/Tags/GaugeCondition.hpp"
65 : #include "Evolution/Systems/GeneralizedHarmonic/Initialize.hpp"
66 : #include "Evolution/Systems/GeneralizedHarmonic/System.hpp"
67 : #include "Evolution/Systems/GeneralizedHarmonic/Tags.hpp"
68 : #include "Evolution/Tags/Filter.hpp"
69 : #include "Evolution/Triggers/SeparationLessThan.hpp"
70 : #include "Evolution/TypeTraits.hpp"
71 : #include "IO/Importers/Actions/RegisterWithElementDataReader.hpp"
72 : #include "IO/Importers/ElementDataReader.hpp"
73 : #include "IO/Observer/Actions/ObserverRegistration.hpp"
74 : #include "IO/Observer/Actions/RegisterEvents.hpp"
75 : #include "IO/Observer/Helpers.hpp"
76 : #include "IO/Observer/ObserverComponent.hpp"
77 : #include "IO/Observer/Tags.hpp"
78 : #include "NumericalAlgorithms/DiscontinuousGalerkin/Tags.hpp"
79 : #include "NumericalAlgorithms/LinearOperators/ExponentialFilter.hpp"
80 : #include "Options/Options.hpp"
81 : #include "Options/ParseOptions.hpp"
82 : #include "Options/Protocols/FactoryCreation.hpp"
83 : #include "Options/String.hpp"
84 : #include "Parallel/Algorithms/AlgorithmSingleton.hpp"
85 : #include "Parallel/ArrayCollection/DgElementCollection.hpp"
86 : #include "Parallel/ArrayCollection/SimpleActionOnElement.hpp"
87 : #include "Parallel/GlobalCache.hpp"
88 : #include "Parallel/Invoke.hpp"
89 : #include "Parallel/Local.hpp"
90 : #include "Parallel/MemoryMonitor/MemoryMonitor.hpp"
91 : #include "Parallel/Phase.hpp"
92 : #include "Parallel/PhaseControl/CheckpointAndExitAfterWallclock.hpp"
93 : #include "Parallel/PhaseControl/ExecutePhaseChange.hpp"
94 : #include "Parallel/PhaseControl/Factory.hpp"
95 : #include "Parallel/PhaseControl/VisitAndReturn.hpp"
96 : #include "Parallel/PhaseDependentActionList.hpp"
97 : #include "Parallel/Protocols/RegistrationMetavariables.hpp"
98 : #include "Parallel/Reduction.hpp"
99 : #include "ParallelAlgorithms/Actions/AddComputeTags.hpp"
100 : #include "ParallelAlgorithms/Actions/FilterAction.hpp"
101 : #include "ParallelAlgorithms/Actions/FunctionsOfTimeAreReady.hpp"
102 : #include "ParallelAlgorithms/Actions/InitializeItems.hpp"
103 : #include "ParallelAlgorithms/Actions/MemoryMonitor/ContributeMemoryData.hpp"
104 : #include "ParallelAlgorithms/Actions/MutateApply.hpp"
105 : #include "ParallelAlgorithms/Actions/TerminatePhase.hpp"
106 : #include "ParallelAlgorithms/Amr/Actions/CollectDataFromChildren.hpp"
107 : #include "ParallelAlgorithms/Amr/Actions/Component.hpp"
108 : #include "ParallelAlgorithms/Amr/Actions/CreateChild.hpp"
109 : #include "ParallelAlgorithms/Amr/Actions/Initialize.hpp"
110 : #include "ParallelAlgorithms/Amr/Actions/SendAmrDiagnostics.hpp"
111 : #include "ParallelAlgorithms/Amr/Criteria/Constraints.hpp"
112 : #include "ParallelAlgorithms/Amr/Criteria/Criterion.hpp"
113 : #include "ParallelAlgorithms/Amr/Criteria/Factory.hpp"
114 : #include "ParallelAlgorithms/Amr/Events/ObserveAmrCriteria.hpp"
115 : #include "ParallelAlgorithms/Amr/Events/ObserveAmrStats.hpp"
116 : #include "ParallelAlgorithms/Amr/Events/RefineMesh.hpp"
117 : #include "ParallelAlgorithms/Amr/Projectors/CopyFromCreatorOrLeaveAsIs.hpp"
118 : #include "ParallelAlgorithms/Amr/Projectors/DefaultInitialize.hpp"
119 : #include "ParallelAlgorithms/Amr/Projectors/Tensors.hpp"
120 : #include "ParallelAlgorithms/Amr/Projectors/Variables.hpp"
121 : #include "ParallelAlgorithms/Amr/Protocols/AmrMetavariables.hpp"
122 : #include "ParallelAlgorithms/ApparentHorizonFinder/Callbacks/ErrorOnFailedApparentHorizon.hpp"
123 : #include "ParallelAlgorithms/ApparentHorizonFinder/Callbacks/FailedHorizonFind.hpp"
124 : #include "ParallelAlgorithms/ApparentHorizonFinder/Callbacks/FindApparentHorizon.hpp"
125 : #include "ParallelAlgorithms/ApparentHorizonFinder/Callbacks/IgnoreFailedApparentHorizon.hpp"
126 : #include "ParallelAlgorithms/ApparentHorizonFinder/Callbacks/ObserveCenters.hpp"
127 : #include "ParallelAlgorithms/ApparentHorizonFinder/Callbacks/ObserveFieldsOnHorizon.hpp"
128 : #include "ParallelAlgorithms/ApparentHorizonFinder/Callbacks/ObserveTimeSeriesOnHorizon.hpp"
129 : #include "ParallelAlgorithms/ApparentHorizonFinder/Callbacks/SendDependencyToObserverWriter.hpp"
130 : #include "ParallelAlgorithms/ApparentHorizonFinder/Component.hpp"
131 : #include "ParallelAlgorithms/ApparentHorizonFinder/ComputeExcisionBoundaryVolumeQuantities.hpp"
132 : #include "ParallelAlgorithms/ApparentHorizonFinder/ComputeExcisionBoundaryVolumeQuantities.tpp"
133 : #include "ParallelAlgorithms/ApparentHorizonFinder/ComputeHorizonVolumeQuantities.hpp"
134 : #include "ParallelAlgorithms/ApparentHorizonFinder/ComputeHorizonVolumeQuantities.tpp"
135 : #include "ParallelAlgorithms/ApparentHorizonFinder/Criteria/Criterion.hpp"
136 : #include "ParallelAlgorithms/ApparentHorizonFinder/Criteria/Factory.hpp"
137 : #include "ParallelAlgorithms/ApparentHorizonFinder/Destination.hpp"
138 : #include "ParallelAlgorithms/ApparentHorizonFinder/Events/FindApparentHorizon.hpp"
139 : #include "ParallelAlgorithms/ApparentHorizonFinder/Events/FindCommonHorizon.hpp"
140 : #include "ParallelAlgorithms/ApparentHorizonFinder/HorizonAliases.hpp"
141 : #include "ParallelAlgorithms/ApparentHorizonFinder/InterpolationTarget.hpp"
142 : #include "ParallelAlgorithms/ApparentHorizonFinder/Protocols/HorizonMetavars.hpp"
143 : #include "ParallelAlgorithms/ApparentHorizonFinder/Tags.hpp"
144 : #include "ParallelAlgorithms/Events/Completion.hpp"
145 : #include "ParallelAlgorithms/Events/Factory.hpp"
146 : #include "ParallelAlgorithms/Events/MonitorMemory.hpp"
147 : #include "ParallelAlgorithms/Events/ObserveTimeStepVolume.hpp"
148 : #include "ParallelAlgorithms/EventsAndDenseTriggers/DenseTrigger.hpp"
149 : #include "ParallelAlgorithms/EventsAndDenseTriggers/DenseTriggers/Factory.hpp"
150 : #include "ParallelAlgorithms/EventsAndTriggers/Actions/RunEventsOnFailure.hpp"
151 : #include "ParallelAlgorithms/EventsAndTriggers/Event.hpp"
152 : #include "ParallelAlgorithms/EventsAndTriggers/EventsAndTriggers.hpp"
153 : #include "ParallelAlgorithms/EventsAndTriggers/LogicalTriggers.hpp"
154 : #include "ParallelAlgorithms/EventsAndTriggers/Trigger.hpp"
155 : #include "ParallelAlgorithms/Interpolation/Actions/CleanUpInterpolator.hpp"
156 : #include "ParallelAlgorithms/Interpolation/Actions/ElementInitInterpPoints.hpp"
157 : #include "ParallelAlgorithms/Interpolation/Actions/InitializeInterpolationTarget.hpp"
158 : #include "ParallelAlgorithms/Interpolation/Actions/InterpolationTargetReceiveVars.hpp"
159 : #include "ParallelAlgorithms/Interpolation/Actions/InterpolatorReceivePoints.hpp"
160 : #include "ParallelAlgorithms/Interpolation/Actions/InterpolatorReceiveVolumeData.hpp"
161 : #include "ParallelAlgorithms/Interpolation/Actions/InterpolatorRegisterElement.hpp"
162 : #include "ParallelAlgorithms/Interpolation/Actions/TryToInterpolate.hpp"
163 : #include "ParallelAlgorithms/Interpolation/Callbacks/ObserveSurfaceData.hpp"
164 : #include "ParallelAlgorithms/Interpolation/Callbacks/ObserveTimeSeriesOnSurface.hpp"
165 : #include "ParallelAlgorithms/Interpolation/Events/Interpolate.hpp"
166 : #include "ParallelAlgorithms/Interpolation/Events/InterpolateWithoutInterpComponent.hpp"
167 : #include "ParallelAlgorithms/Interpolation/InterpolationTarget.hpp"
168 : #include "ParallelAlgorithms/Interpolation/Interpolator.hpp"
169 : #include "ParallelAlgorithms/Interpolation/Protocols/InterpolationTargetTag.hpp"
170 : #include "ParallelAlgorithms/Interpolation/Tags.hpp"
171 : #include "ParallelAlgorithms/Interpolation/Targets/Sphere.hpp"
172 : #include "PointwiseFunctions/GeneralRelativity/Christoffel.hpp"
173 : #include "PointwiseFunctions/GeneralRelativity/DerivativeSpatialMetric.hpp"
174 : #include "PointwiseFunctions/GeneralRelativity/DetAndInverseSpatialMetric.hpp"
175 : #include "PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/ConstraintGammas.hpp"
176 : #include "PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/DerivSpatialMetric.hpp"
177 : #include "PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/ExtrinsicCurvature.hpp"
178 : #include "PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/SpatialDerivOfLapse.hpp"
179 : #include "PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/SpatialDerivOfShift.hpp"
180 : #include "PointwiseFunctions/GeneralRelativity/Psi4Real.hpp"
181 : #include "PointwiseFunctions/GeneralRelativity/Ricci.hpp"
182 : #include "PointwiseFunctions/GeneralRelativity/Surfaces/Tags.hpp"
183 : #include "PointwiseFunctions/GeneralRelativity/Tags.hpp"
184 : #include "PointwiseFunctions/GeneralRelativity/WeylElectric.hpp"
185 : #include "PointwiseFunctions/GeneralRelativity/WeylTypeD1.hpp"
186 : #include "PointwiseFunctions/InitialDataUtilities/InitialData.hpp"
187 : #include "Time/Actions/SelfStartActions.hpp"
188 : #include "Time/AdvanceTime.hpp"
189 : #include "Time/ChangeSlabSize/Action.hpp"
190 : #include "Time/ChangeSlabSize/Tags.hpp"
191 : #include "Time/ChangeTimeStepperOrder.hpp"
192 : #include "Time/CleanHistory.hpp"
193 : #include "Time/RecordTimeStepperData.hpp"
194 : #include "Time/StepChoosers/Factory.hpp"
195 : #include "Time/StepChoosers/StepChooser.hpp"
196 : #include "Time/Tags/StepperErrors.hpp"
197 : #include "Time/Tags/Time.hpp"
198 : #include "Time/Tags/TimeStepId.hpp"
199 : #include "Time/TimeSequence.hpp"
200 : #include "Time/TimeSteppers/Factory.hpp"
201 : #include "Time/TimeSteppers/LtsTimeStepper.hpp"
202 : #include "Time/TimeSteppers/TimeStepper.hpp"
203 : #include "Time/Triggers/TimeTriggers.hpp"
204 : #include "Time/UpdateU.hpp"
205 : #include "Utilities/Algorithm.hpp"
206 : #include "Utilities/ErrorHandling/Error.hpp"
207 : #include "Utilities/Functional.hpp"
208 : #include "Utilities/GetOutput.hpp"
209 : #include "Utilities/NoSuchType.hpp"
210 : #include "Utilities/ProtocolHelpers.hpp"
211 : #include "Utilities/TMPL.hpp"
212 :
213 : // Check if SpEC is linked and therefore we can load SpEC initial data
214 : #ifdef HAS_SPEC_EXPORTER
215 : #include "PointwiseFunctions/AnalyticData/GeneralRelativity/SpecInitialData.hpp"
216 : using SpecInitialData = gr::AnalyticData::SpecInitialData;
217 : #else
218 0 : using SpecInitialData = NoSuchType;
219 : #endif
220 :
221 : /// \cond
222 : namespace Frame {
223 :
224 : struct Inertial;
225 : } // namespace Frame
226 : namespace PUP {
227 : class er;
228 : } // namespace PUP
229 : namespace Parallel {
230 : template <typename Metavariables>
231 : class CProxy_GlobalCache;
232 : } // namespace Parallel
233 : /// \endcond
234 :
235 : // Note: this executable does not use GeneralizedHarmonicBase.hpp, because
236 : // using it would require a number of changes in GeneralizedHarmonicBase.hpp
237 : // that would apply only when evolving binary black holes. This would
238 : // require adding a number of compile-time switches, an outcome we would prefer
239 : // to avoid.
240 : struct EvolutionMetavars {
241 : struct BondiSachs;
242 :
243 : static constexpr size_t volume_dim = 3;
244 0 : static constexpr bool use_damped_harmonic_rollon = false;
245 0 : using system = gh::System<volume_dim>;
246 0 : using temporal_id = Tags::TimeStepId;
247 0 : using TimeStepperBase = LtsTimeStepper;
248 :
249 : static constexpr bool local_time_stepping =
250 : TimeStepperBase::local_time_stepping;
251 : static constexpr bool use_dg_element_collection = false;
252 :
253 0 : using initialize_initial_data_dependent_quantities_actions =
254 : tmpl::list<gh::gauges::SetPiAndPhiFromConstraints<
255 : gh::Solutions::all_solutions<volume_dim>, volume_dim>,
256 : Parallel::Actions::TerminatePhase>;
257 :
258 : // NOLINTNEXTLINE(google-runtime-references)
259 0 : void pup(PUP::er& /*p*/) {}
260 :
261 : template <::domain::ObjectLabel Horizon, typename Frame>
262 0 : struct Ah : tt::ConformsTo<ah::protocols::HorizonMetavars> {
263 0 : static constexpr size_t index = 10 + static_cast<size_t>(Horizon);
264 :
265 0 : using time_tag = ah::Tags::ObservationTime<index>;
266 :
267 0 : using frame = Frame;
268 :
269 0 : using horizon_find_callbacks = tmpl::append<
270 : tmpl::conditional_t<
271 : Horizon == ::domain::ObjectLabel::C,
272 : tmpl::list<ah::callbacks::SendDependencyToObserverWriter<Ah, true>,
273 : gh::bbh::callbacks::UpdateCompletionCriteria<Ah>>,
274 : tmpl::list<>>,
275 : tmpl::list<ah::callbacks::ObserveFieldsOnHorizon<
276 : ::ah::surface_tags_for_observing, Ah>,
277 : ah::callbacks::ObserveTimeSeriesOnHorizon<
278 : ::ah::tags_for_observing<Frame>, Ah>>>;
279 0 : using horizon_find_failure_callbacks = tmpl::append<
280 : // Only ignore errors for AhC
281 : tmpl::list<ah::callbacks::FailedHorizonFind<
282 : Ah, Horizon == ::domain::ObjectLabel::C>>,
283 : tmpl::conditional_t<
284 : Horizon == ::domain::ObjectLabel::C,
285 : tmpl::list<
286 : ah::callbacks::SendDependencyToObserverWriter<Ah, false>>,
287 : tmpl::list<>>>;
288 :
289 0 : using compute_tags_on_element =
290 : tmpl::list<ah::Tags::ObservationTimeCompute<index>>;
291 :
292 0 : static constexpr ah::Destination destination = ah::Destination::Observation;
293 :
294 0 : static std::string name() {
295 : return "ObservationAh" + ::domain::name(Horizon);
296 : }
297 : };
298 :
299 0 : using AhA = Ah<::domain::ObjectLabel::A, ::Frame::Distorted>;
300 0 : using AhB = Ah<::domain::ObjectLabel::B, ::Frame::Distorted>;
301 0 : using AhC = Ah<::domain::ObjectLabel::C, ::Frame::Inertial>;
302 :
303 : template <::domain::ObjectLabel Excision>
304 0 : struct ExcisionBoundary
305 : : tt::ConformsTo<intrp::protocols::InterpolationTargetTag> {
306 0 : using temporal_id = ::Tags::Time;
307 0 : using tags_to_observe =
308 : tmpl::list<gr::Tags::Lapse<DataVector>,
309 : gr::Tags::Shift<DataVector, 3, Frame::Grid>>;
310 0 : using compute_vars_to_interpolate =
311 : ah::ComputeExcisionBoundaryVolumeQuantities;
312 0 : using vars_to_interpolate_to_target = tags_to_observe;
313 0 : using compute_items_on_source = tmpl::list<>;
314 0 : using compute_items_on_target = tmpl::list<>;
315 0 : using compute_target_points =
316 : intrp::TargetPoints::Sphere<ExcisionBoundary<Excision>, ::Frame::Grid>;
317 0 : using post_interpolation_callbacks =
318 : tmpl::list<intrp::callbacks::ObserveSurfaceData<
319 : tags_to_observe, ExcisionBoundary<Excision>, ::Frame::Grid>>;
320 : // run_callbacks
321 : template <typename metavariables>
322 0 : using interpolating_component = typename metavariables::gh_dg_element_array;
323 0 : static std::string name() {
324 : return "ObservationExcisionBoundary" + ::domain::name(Excision);
325 : }
326 : };
327 :
328 0 : using ExcisionBoundaryA = ExcisionBoundary<::domain::ObjectLabel::A>;
329 0 : using ExcisionBoundaryB = ExcisionBoundary<::domain::ObjectLabel::B>;
330 0 : using both_horizons = control_system::measurements::BothHorizons;
331 0 : using control_systems =
332 : tmpl::list<control_system::Systems::Rotation<3, both_horizons>,
333 : control_system::Systems::Expansion<2, both_horizons>,
334 : control_system::Systems::Translation<2, both_horizons, 2>,
335 : control_system::Systems::Skew<2, both_horizons>,
336 : control_system::Systems::Shape<::domain::ObjectLabel::A, 2,
337 : both_horizons>,
338 : control_system::Systems::Shape<::domain::ObjectLabel::B, 2,
339 : both_horizons>,
340 : control_system::Systems::Size<::domain::ObjectLabel::A, 2>,
341 : control_system::Systems::Size<::domain::ObjectLabel::B, 2>>;
342 :
343 0 : static constexpr bool use_control_systems =
344 : tmpl::size<control_systems>::value > 0;
345 :
346 0 : using source_vars_no_deriv =
347 : tmpl::list<gr::Tags::SpacetimeMetric<DataVector, volume_dim>,
348 : gh::Tags::Pi<DataVector, volume_dim>,
349 : gh::Tags::Phi<DataVector, volume_dim>>;
350 :
351 0 : struct BondiSachs : tt::ConformsTo<intrp::protocols::InterpolationTargetTag> {
352 0 : static std::string name() { return "BondiSachsInterpolation"; }
353 0 : using temporal_id = ::Tags::Time;
354 0 : using vars_to_interpolate_to_target = source_vars_no_deriv;
355 0 : using compute_target_points =
356 : intrp::TargetPoints::Sphere<BondiSachs, ::Frame::Inertial>;
357 0 : using post_interpolation_callbacks =
358 : tmpl::list<intrp::callbacks::DumpBondiSachsOnWorldtube<BondiSachs>>;
359 0 : using compute_items_on_target = tmpl::list<>;
360 : template <typename metavariables>
361 0 : using interpolating_component = typename metavariables::gh_dg_element_array;
362 : };
363 :
364 0 : using interpolation_target_tags = tmpl::push_back<
365 : control_system::metafunctions::interpolation_target_tags<control_systems>,
366 : BondiSachs, ExcisionBoundaryA, ExcisionBoundaryB>;
367 :
368 0 : using observe_fields = tmpl::append<
369 : tmpl::list<
370 : gr::Tags::SpacetimeMetric<DataVector, volume_dim>,
371 : gh::Tags::Pi<DataVector, volume_dim>,
372 : gh::Tags::Phi<DataVector, volume_dim>,
373 : gh::Tags::GaugeH<DataVector, volume_dim>,
374 : gh::Tags::SpacetimeDerivGaugeH<DataVector, volume_dim>,
375 : gr::Tags::Lapse<DataVector>, gr::Tags::Shift<DataVector, volume_dim>,
376 : gr::Tags::SpatialMetric<DataVector, volume_dim>,
377 : gr::Tags::DetSpatialMetric<DataVector>,
378 : gr::Tags::InverseSpatialMetric<DataVector, volume_dim>,
379 : gr::Tags::SqrtDetSpatialMetricCompute<DataVector, volume_dim,
380 : ::Frame::Inertial>,
381 : gr::Tags::SpacetimeNormalOneFormCompute<DataVector, volume_dim,
382 : ::Frame::Inertial>,
383 : gr::Tags::SpacetimeNormalVectorCompute<DataVector, volume_dim,
384 : ::Frame::Inertial>,
385 : gr::Tags::InverseSpacetimeMetricCompute<DataVector, volume_dim,
386 : ::Frame::Inertial>,
387 : gh::Tags::DerivLapseCompute<volume_dim, Frame::Inertial>,
388 : gh::Tags::DerivShiftCompute<volume_dim, Frame::Inertial>,
389 : gh::Tags::DerivSpatialMetricCompute<volume_dim, Frame::Inertial>,
390 : gr::Tags::DerivInverseSpatialMetricCompute<volume_dim,
391 : Frame::Inertial>,
392 : gh::Tags::GaugeConstraintCompute<volume_dim, ::Frame::Inertial>,
393 : gh::Tags::TwoIndexConstraintCompute<volume_dim, ::Frame::Inertial>,
394 : gh::Tags::ThreeIndexConstraintCompute<volume_dim, ::Frame::Inertial>,
395 : gh::Tags::DerivSpatialMetricCompute<volume_dim, ::Frame::Inertial>,
396 : gr::Tags::SpatialChristoffelFirstKindCompute<DataVector, volume_dim,
397 : ::Frame::Inertial>,
398 : gr::Tags::SpatialChristoffelSecondKindCompute<DataVector, volume_dim,
399 : ::Frame::Inertial>,
400 : ::Tags::DerivTensorCompute<
401 : gr::Tags::SpatialChristoffelSecondKind<DataVector, volume_dim>,
402 : ::domain::Tags::InverseJacobian<volume_dim, Frame::ElementLogical,
403 : Frame::Inertial>,
404 : ::domain::Tags::Mesh<volume_dim>>,
405 : gr::Tags::SpatialRicciCompute<DataVector, volume_dim,
406 : ::Frame::Inertial>,
407 : gr::Tags::SpatialRicciScalarCompute<DataVector, volume_dim,
408 : ::Frame::Inertial>,
409 : // observe norms of tensors
410 : ::Tags::PointwiseL2NormCompute<
411 : gr::Tags::Shift<DataVector, volume_dim>>,
412 : ::Tags::PointwiseL2NormCompute<
413 : gr::Tags::SpatialMetric<DataVector, volume_dim>>,
414 : ::Tags::PointwiseL2NormCompute<
415 : gr::Tags::SpacetimeMetric<DataVector, volume_dim>>,
416 : ::Tags::PointwiseL2NormCompute<gh::Tags::Pi<DataVector, volume_dim>>,
417 : ::Tags::PointwiseL2NormCompute<gh::Tags::Phi<DataVector, volume_dim>>,
418 : ::Tags::PointwiseL2NormCompute<
419 : gh::Tags::GaugeH<DataVector, volume_dim>>,
420 : ::Tags::PointwiseL2NormCompute<
421 : gh::Tags::SpacetimeDerivGaugeH<DataVector, volume_dim>>,
422 : // following tags added to observe constraints
423 : ::Tags::PointwiseL2NormCompute<
424 : gh::Tags::GaugeConstraint<DataVector, volume_dim>>,
425 : ::Tags::PointwiseL2NormCompute<
426 : gh::Tags::TwoIndexConstraint<DataVector, volume_dim>>,
427 : ::Tags::PointwiseL2NormCompute<
428 : gh::Tags::ThreeIndexConstraint<DataVector, volume_dim>>,
429 : ::domain::Tags::Coordinates<volume_dim, Frame::Grid>,
430 : ::domain::Tags::Coordinates<volume_dim, Frame::Inertial>>,
431 : // The 4-index constraint is only implemented in 3d
432 : tmpl::conditional_t<
433 : volume_dim == 3,
434 : tmpl::list<
435 : gh::Tags::FourIndexConstraintCompute<3, ::Frame::Inertial>,
436 : gh::Tags::FConstraintCompute<3, ::Frame::Inertial>,
437 : ::Tags::PointwiseL2NormCompute<
438 : gh::Tags::FConstraint<DataVector, 3>>,
439 : ::Tags::PointwiseL2NormCompute<
440 : gh::Tags::FourIndexConstraint<DataVector, 3>>,
441 : gh::Tags::ConstraintEnergyCompute<3, ::Frame::Inertial>,
442 : gh::Tags::ExtrinsicCurvatureCompute<3, ::Frame::Inertial>,
443 : ::Tags::DerivTensorCompute<
444 : gr::Tags::ExtrinsicCurvature<DataVector, 3>,
445 : ::domain::Tags::InverseJacobian<
446 : volume_dim, Frame::ElementLogical, Frame::Inertial>,
447 : ::domain::Tags::Mesh<volume_dim>>,
448 : gr::Tags::WeylElectricCompute<DataVector, 3, Frame::Inertial>,
449 : gr::Tags::WeylElectricScalarCompute<DataVector, 3,
450 : Frame::Inertial>,
451 : gr::Tags::WeylTypeD1Compute<DataVector, 3, Frame::Inertial>,
452 : gr::Tags::WeylTypeD1ScalarCompute<DataVector, 3, Frame::Inertial>,
453 : gr::Tags::Psi4RealCompute<Frame::Inertial>>,
454 : tmpl::list<>>>;
455 0 : using non_tensor_compute_tags = tmpl::list<
456 : ::Events::Tags::ObserverMeshCompute<volume_dim>,
457 : ::Events::Tags::ObserverCoordinatesCompute<volume_dim, Frame::Inertial>,
458 : ::Events::Tags::ObserverInverseJacobianCompute<
459 : volume_dim, Frame::ElementLogical, Frame::Inertial>,
460 : ::Events::Tags::ObserverJacobianCompute<volume_dim, Frame::ElementLogical,
461 : Frame::Inertial>,
462 : ::Events::Tags::ObserverDetInvJacobianCompute<Frame::ElementLogical,
463 : Frame::Inertial>,
464 : ::Events::Tags::ObserverMeshVelocityCompute<volume_dim, Frame::Inertial>,
465 : gh::gauges::Tags::GaugeAndDerivativeCompute<
466 : volume_dim, gh::Solutions::all_solutions<volume_dim>>>;
467 :
468 : struct factory_creation
469 : : tt::ConformsTo<Options::protocols::FactoryCreation> {
470 0 : using factory_classes = tmpl::map<
471 : tmpl::pair<ah::Criterion, ah::Criteria::standard_criteria>,
472 : tmpl::pair<
473 : amr::Criterion,
474 : tmpl::push_back<
475 : amr::Criteria::standard_criteria<
476 : volume_dim, typename system::variables_tag::tags_list>,
477 : amr::Criteria::Constraints<
478 : volume_dim,
479 : tmpl::list<gh::Tags::ThreeIndexConstraintCompute<
480 : volume_dim, Frame::Inertial>>>>>,
481 : tmpl::pair<
482 : evolution::initial_data::InitialData,
483 : tmpl::flatten<tmpl::list<
484 : gh::NumericInitialData,
485 : tmpl::conditional_t<std::is_same_v<SpecInitialData, NoSuchType>,
486 : tmpl::list<>, SpecInitialData>>>>,
487 : tmpl::pair<DenseTrigger,
488 : tmpl::flatten<tmpl::list<
489 : control_system::control_system_triggers<control_systems>,
490 : DenseTriggers::standard_dense_triggers>>>,
491 : tmpl::pair<
492 : DomainCreator<volume_dim>,
493 : tmpl::list<::domain::creators::BinaryCompactObject<false>,
494 : ::domain::creators::CylindricalBinaryCompactObject>>,
495 : tmpl::pair<Event,
496 : tmpl::flatten<tmpl::list<
497 : ah::Events::FindApparentHorizon<AhA>,
498 : ah::Events::FindApparentHorizon<AhB>,
499 : ah::Events::FindCommonHorizon<AhC, observe_fields,
500 : non_tensor_compute_tags>,
501 : gh::bbh::Events::CheckConstraintThresholds,
502 : intrp::Events::InterpolateWithoutInterpComponent<
503 : 3, BondiSachs, source_vars_no_deriv>,
504 : intrp::Events::InterpolateWithoutInterpComponent<
505 : 3, ExcisionBoundaryA, ah::source_vars<3>>,
506 : intrp::Events::InterpolateWithoutInterpComponent<
507 : 3, ExcisionBoundaryB, ah::source_vars<3>>,
508 : Events::MonitorMemory<3>, Events::Completion,
509 : dg::Events::field_observations<
510 : volume_dim, observe_fields, non_tensor_compute_tags>,
511 : control_system::metafunctions::control_system_events<
512 : control_systems>,
513 : control_system::CleanFunctionsOfTime,
514 : Events::time_events<system>,
515 : dg::Events::ObserveTimeStepVolume<system>,
516 : amr::Events::RefineMesh,
517 : amr::Events::ObserveAmrStats<volume_dim>,
518 : amr::Events::ObserveAmrCriteria<EvolutionMetavars>>>>,
519 : tmpl::pair<
520 : evolution::BoundaryCorrection,
521 : gh::BoundaryCorrections::standard_boundary_corrections<volume_dim>>,
522 : tmpl::pair<control_system::size::State,
523 : control_system::size::States::factory_creatable_states>,
524 : tmpl::pair<
525 : gh::BoundaryConditions::BoundaryCondition<volume_dim>,
526 : tmpl::list<
527 : gh::BoundaryConditions::ConstraintPreservingBjorhus<volume_dim>,
528 : gh::BoundaryConditions::DirichletMinkowski<volume_dim>,
529 : gh::BoundaryConditions::DemandOutgoingCharSpeeds<volume_dim>>>,
530 : tmpl::pair<
531 : gh::gauges::GaugeCondition,
532 : tmpl::list<gh::gauges::DampedHarmonic, gh::gauges::Harmonic>>,
533 : // Restrict to monotonic time steppers in LTS to avoid control
534 : // systems deadlocking.
535 : tmpl::pair<LtsTimeStepper, TimeSteppers::monotonic_lts_time_steppers>,
536 : tmpl::pair<PhaseChange,
537 : tmpl::push_back<
538 : PhaseControl::factory_creatable_classes,
539 : gh::bbh::phase_control::CheckpointAndExitIfComplete>>,
540 : tmpl::pair<StepChooser<StepChooserUse::LtsStep>,
541 : StepChoosers::standard_step_choosers<system>>,
542 : tmpl::pair<
543 : StepChooser<StepChooserUse::Slab>,
544 : StepChoosers::standard_slab_choosers<system, local_time_stepping>>,
545 : tmpl::pair<TimeSequence<double>,
546 : TimeSequences::all_time_sequences<double>>,
547 : tmpl::pair<TimeSequence<std::uint64_t>,
548 : TimeSequences::all_time_sequences<std::uint64_t>>,
549 : tmpl::pair<TimeStepper, TimeSteppers::time_steppers>,
550 : tmpl::pair<
551 : Trigger,
552 : tmpl::append<Triggers::logical_triggers, Triggers::time_triggers,
553 : tmpl::list<Triggers::SeparationLessThan<false>>>>>;
554 : };
555 :
556 : // A tmpl::list of tags to be added to the GlobalCache by the
557 : // metavariables
558 0 : using const_global_cache_tags =
559 : tmpl::list<gh::gauges::Tags::GaugeCondition,
560 : gh::Tags::DampingFunctionGamma0<volume_dim, Frame::Grid>,
561 : gh::Tags::DampingFunctionGamma1<volume_dim, Frame::Grid>,
562 : gh::Tags::DampingFunctionGamma2<volume_dim, Frame::Grid>>;
563 :
564 0 : using mutable_global_cache_tags = tmpl::list<>;
565 :
566 0 : using dg_registration_list =
567 : tmpl::list<observers::Actions::RegisterEventsWithObservers>;
568 :
569 : static constexpr auto default_phase_order =
570 : std::array{Parallel::Phase::Initialization,
571 : Parallel::Phase::RegisterWithElementDataReader,
572 : Parallel::Phase::ImportInitialData,
573 : Parallel::Phase::InitializeInitialDataDependentQuantities,
574 : Parallel::Phase::Register,
575 : Parallel::Phase::InitializeTimeStepperHistory,
576 : Parallel::Phase::CheckDomain,
577 : Parallel::Phase::Evolve,
578 : Parallel::Phase::Exit};
579 :
580 0 : using step_actions = tmpl::list<
581 : evolution::dg::Actions::ComputeTimeDerivative<
582 : volume_dim, system, AllStepChoosers, local_time_stepping,
583 : use_dg_element_collection>,
584 : evolution::dg::Actions::ApplyBoundaryCorrectionsToTimeDerivative<
585 : volume_dim, use_dg_element_collection>,
586 : Actions::MutateApply<RecordTimeStepperData<system>>,
587 : tmpl::conditional_t<
588 : local_time_stepping,
589 : tmpl::list<evolution::Actions::RunEventsAndDenseTriggers<tmpl::list<
590 : ::domain::CheckFunctionsOfTimeAreReadyPostprocessor<
591 : volume_dim>,
592 : evolution::dg::ApplyBoundaryCorrections<
593 : local_time_stepping, EvolutionMetavars, volume_dim,
594 : true>>>,
595 : Actions::MutateApply<UpdateU<system, local_time_stepping>>,
596 : evolution::dg::Actions::ApplyLtsBoundaryCorrections<
597 : volume_dim, false, use_dg_element_collection>,
598 : Actions::MutateApply<ChangeTimeStepperOrder<system>>>,
599 : tmpl::list<
600 : evolution::Actions::RunEventsAndDenseTriggers<tmpl::list<
601 : ::domain::CheckFunctionsOfTimeAreReadyPostprocessor<
602 : volume_dim>>>,
603 : control_system::Actions::LimitTimeStep<control_systems>,
604 : Actions::MutateApply<UpdateU<system, local_time_stepping>>>>,
605 : Actions::MutateApply<CleanHistory<system>>,
606 : tmpl::conditional_t<
607 : local_time_stepping,
608 : Actions::MutateApply<evolution::dg::CleanMortarHistory<volume_dim>>,
609 : tmpl::list<>>,
610 : dg::Actions::Filter<
611 : Filters::Exponential<0>,
612 : tmpl::list<gr::Tags::SpacetimeMetric<DataVector, volume_dim>,
613 : gh::Tags::Pi<DataVector, volume_dim>,
614 : gh::Tags::Phi<DataVector, volume_dim>>>>;
615 :
616 0 : using initialization_actions = tmpl::list<
617 : Initialization::Actions::InitializeItems<
618 : Initialization::TimeStepping<EvolutionMetavars, TimeStepperBase>,
619 : evolution::dg::Initialization::Domain<EvolutionMetavars,
620 : use_control_systems>,
621 : ::amr::Initialization::Initialize<volume_dim, EvolutionMetavars>,
622 : Initialization::TimeStepperHistory<EvolutionMetavars>>,
623 : Initialization::Actions::NonconservativeSystem<system>,
624 : Initialization::Actions::AddComputeTags<tmpl::list<::Tags::DerivCompute<
625 : typename system::variables_tag, ::domain::Tags::Mesh<volume_dim>,
626 : ::domain::Tags::InverseJacobian<volume_dim, Frame::ElementLogical,
627 : Frame::Inertial>,
628 : typename system::gradient_variables>>>,
629 : gh::Actions::InitializeGhAnd3Plus1Variables<volume_dim>,
630 : Initialization::Actions::AddComputeTags<
631 : tmpl::push_back<StepChoosers::step_chooser_compute_tags<
632 : EvolutionMetavars, local_time_stepping>>>,
633 : Initialization::Actions::AddSimpleTags<
634 : gh::bbh::Actions::InitializeElementCompletionRequested>,
635 : ::evolution::dg::Initialization::Mortars<volume_dim>,
636 : intrp::Actions::ElementInitInterpPoints<volume_dim,
637 : interpolation_target_tags>,
638 : evolution::Actions::InitializeRunEventsAndDenseTriggers,
639 : control_system::Actions::InitializeMeasurements<control_systems>,
640 : Parallel::Actions::TerminatePhase>;
641 :
642 0 : using gh_dg_element_array = DgElementArray<
643 : EvolutionMetavars,
644 : tmpl::flatten<tmpl::list<
645 : Parallel::PhaseActions<Parallel::Phase::Initialization,
646 : initialization_actions>,
647 : Parallel::PhaseActions<
648 : Parallel::Phase::RegisterWithElementDataReader,
649 : tmpl::list<importers::Actions::RegisterWithElementDataReader,
650 : Parallel::Actions::TerminatePhase>>,
651 : Parallel::PhaseActions<
652 : Parallel::Phase::ImportInitialData,
653 : tmpl::list<gh::Actions::SetInitialData,
654 : gh::Actions::ReceiveNumericInitialData,
655 : Parallel::Actions::TerminatePhase>>,
656 : Parallel::PhaseActions<
657 : Parallel::Phase::InitializeInitialDataDependentQuantities,
658 : initialize_initial_data_dependent_quantities_actions>,
659 : Parallel::PhaseActions<Parallel::Phase::Register,
660 : tmpl::list<dg_registration_list,
661 : Parallel::Actions::TerminatePhase>>,
662 : Parallel::PhaseActions<Parallel::Phase::Restart,
663 : tmpl::list<dg_registration_list,
664 : Parallel::Actions::TerminatePhase>>,
665 : Parallel::PhaseActions<
666 : Parallel::Phase::WriteCheckpoint,
667 : tmpl::list<evolution::Actions::RunEventsAndTriggers<
668 : Triggers::WhenToCheck::AtCheckpoints>,
669 : Parallel::Actions::TerminatePhase>>,
670 : Parallel::PhaseActions<
671 : Parallel::Phase::InitializeTimeStepperHistory,
672 : SelfStart::self_start_procedure<step_actions, system>>,
673 : Parallel::PhaseActions<Parallel::Phase::CheckDomain,
674 : tmpl::list<::amr::Actions::SendAmrDiagnostics,
675 : Parallel::Actions::TerminatePhase>>,
676 : Parallel::PhaseActions<
677 : Parallel::Phase::Evolve,
678 : tmpl::flatten<tmpl::list<
679 : ::domain::Actions::CheckFunctionsOfTimeAreReady<volume_dim>,
680 : std::conditional_t<local_time_stepping,
681 : evolution::Actions::RunEventsAndTriggers<
682 : Triggers::WhenToCheck::AtSteps>,
683 : tmpl::list<>>,
684 : evolution::Actions::RunEventsAndTriggers<
685 : Triggers::WhenToCheck::AtSlabs>,
686 : Actions::ChangeSlabSize, step_actions,
687 : Actions::MutateApply<AdvanceTime<>>,
688 : PhaseControl::Actions::ExecutePhaseChange>>>,
689 : Parallel::PhaseActions<
690 : Parallel::Phase::PostFailureCleanup,
691 : tmpl::list<Actions::RunEventsOnFailure<::Tags::Time>,
692 : Parallel::Actions::TerminatePhase>>>>>;
693 :
694 0 : using observed_reduction_data_tags = observers::collect_reduction_data_tags<
695 : tmpl::at<typename factory_creation::factory_classes, Event>>;
696 :
697 : struct registration
698 : : tt::ConformsTo<Parallel::protocols::RegistrationMetavariables> {
699 0 : using element_registrars =
700 : tmpl::map<tmpl::pair<gh_dg_element_array, dg_registration_list>>;
701 : };
702 :
703 0 : using control_system_horizon_metavars =
704 : control_system::metafunctions::horizon_metavars<control_systems>;
705 0 : using control_components =
706 : control_system::control_components<EvolutionMetavars, control_systems>;
707 :
708 0 : static void run_deadlock_analysis_simple_actions(
709 : Parallel::GlobalCache<EvolutionMetavars>& cache,
710 : const std::vector<std::string>& deadlocked_components) {
711 : gh::deadlock::run_deadlock_analysis_simple_actions<
712 : gh_dg_element_array, control_components, interpolation_target_tags,
713 : control_system_horizon_metavars, false>(cache, deadlocked_components);
714 : }
715 :
716 0 : struct amr : tt::ConformsTo<::amr::protocols::AmrMetavariables> {
717 0 : using element_array = gh_dg_element_array;
718 0 : using projectors = tmpl::list<
719 : Initialization::ProjectTimeStepping<volume_dim>,
720 : evolution::dg::Initialization::ProjectDomain<volume_dim>,
721 : ::amr::projectors::ProjectVariables<volume_dim,
722 : typename system::variables_tag>,
723 : evolution::dg::Initialization::ProjectMortars<volume_dim,
724 : local_time_stepping>,
725 : Initialization::ProjectTimeStepperHistory<EvolutionMetavars>,
726 : evolution::Actions::ProjectRunEventsAndDenseTriggers,
727 : ::amr::projectors::DefaultInitialize<
728 : Initialization::Tags::InitialTimeDelta,
729 : Initialization::Tags::InitialSlabSize<local_time_stepping>,
730 : ::domain::Tags::InitialExtents<volume_dim>,
731 : ::domain::Tags::InitialRefinementLevels<volume_dim>,
732 : evolution::dg::Tags::Quadrature,
733 : Tags::StepperErrors<typename system::variables_tag>,
734 : SelfStart::Tags::InitialValue<typename system::variables_tag>,
735 : SelfStart::Tags::InitialValue<Tags::TimeStep>>,
736 : ::amr::projectors::CopyFromCreatorOrLeaveAsIs<tmpl::push_back<
737 : tmpl::append<
738 : typename control_system::Actions::InitializeMeasurements<
739 : control_systems>::simple_tags,
740 : tmpl::transform<
741 : intrp::InterpolationTarget_detail::
742 : get_non_sequential_target_tags<
743 : interpolation_target_tags>,
744 : tmpl::bind<intrp::Tags::PointInfo, tmpl::_1,
745 : tmpl::pin<tmpl::size_t<volume_dim>>>>>,
746 : gh::bbh::Tags::ElementCompletionRequested,
747 : Tags::ChangeSlabSize::NumberOfExpectedMessages,
748 : Tags::ChangeSlabSize::NewSlabSize>>>;
749 0 : static constexpr bool keep_coarse_grids = false;
750 0 : static constexpr bool p_refine_only_in_event = true;
751 : };
752 :
753 0 : using component_list = tmpl::flatten<tmpl::list<
754 : ::amr::Component<EvolutionMetavars>,
755 : observers::Observer<EvolutionMetavars>,
756 : observers::ObserverWriter<EvolutionMetavars>,
757 : importers::ElementDataReader<EvolutionMetavars>,
758 : mem_monitor::MemoryMonitor<EvolutionMetavars>,
759 : gh::bbh::CompletionSingleton<EvolutionMetavars>,
760 : ah::Component<EvolutionMetavars, AhA>,
761 : ah::Component<EvolutionMetavars, AhB>,
762 : ah::Component<EvolutionMetavars, AhC>,
763 : tmpl::transform<
764 : control_system_horizon_metavars,
765 : tmpl::bind<ah::Component, tmpl::pin<EvolutionMetavars>, tmpl::_1>>,
766 : tmpl::transform<interpolation_target_tags,
767 : tmpl::bind<intrp::InterpolationTarget,
768 : tmpl::pin<EvolutionMetavars>, tmpl::_1>>,
769 : control_system::control_components<EvolutionMetavars, control_systems>,
770 : gh_dg_element_array>>;
771 :
772 : static constexpr Options::String help{
773 : "Evolve a binary black hole using the Generalized Harmonic "
774 : "formulation\n"};
775 : };
|