SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Executables/CurvedScalarWave - EvolveWorldtubeCurvedScalarWave.hpp Hit Total Coverage
Commit: 1f2210958b4f38fdc0400907ee7c6d5af5111418 Lines: 0 30 0.0 %
Date: 2025-12-05 05:03:31
Legend: Lines: hit not hit

          Line data    Source code
       1           0 : // Distributed under the MIT License.
       2             : // See LICENSE.txt for details.
       3             : 
       4             : #pragma once
       5             : 
       6             : #include <cstddef>
       7             : #include <cstdint>
       8             : #include <vector>
       9             : 
      10             : #include "Domain/Creators/BinaryCompactObject.hpp"
      11             : #include "Domain/Creators/RegisterDerivedWithCharm.hpp"
      12             : #include "Domain/Creators/TimeDependence/RegisterDerivedWithCharm.hpp"
      13             : #include "Domain/ElementDistribution.hpp"
      14             : #include "Domain/FunctionsOfTime/RegisterDerivedWithCharm.hpp"
      15             : #include "Domain/Tags.hpp"
      16             : #include "Domain/TagsTimeDependent.hpp"
      17             : #include "Evolution/Actions/RunEventsAndDenseTriggers.hpp"
      18             : #include "Evolution/Actions/RunEventsAndTriggers.hpp"
      19             : #include "Evolution/BoundaryCorrection.hpp"
      20             : #include "Evolution/ComputeTags.hpp"
      21             : #include "Evolution/DiscontinuousGalerkin/Actions/ApplyBoundaryCorrections.hpp"
      22             : #include "Evolution/DiscontinuousGalerkin/Actions/ComputeTimeDerivative.hpp"
      23             : #include "Evolution/DiscontinuousGalerkin/CleanMortarHistory.hpp"
      24             : #include "Evolution/DiscontinuousGalerkin/DgElementArray.hpp"
      25             : #include "Evolution/DiscontinuousGalerkin/Initialization/Mortars.hpp"
      26             : #include "Evolution/DiscontinuousGalerkin/Initialization/QuadratureTag.hpp"
      27             : #include "Evolution/Executables/GeneralizedHarmonic/Deadlock.hpp"
      28             : #include "Evolution/Initialization/DgDomain.hpp"
      29             : #include "Evolution/Initialization/Evolution.hpp"
      30             : #include "Evolution/Initialization/NonconservativeSystem.hpp"
      31             : #include "Evolution/Initialization/SetVariables.hpp"
      32             : #include "Evolution/Systems/CurvedScalarWave/BackgroundSpacetime.hpp"
      33             : #include "Evolution/Systems/CurvedScalarWave/BoundaryConditions/Factory.hpp"
      34             : #include "Evolution/Systems/CurvedScalarWave/BoundaryConditions/Worldtube.hpp"
      35             : #include "Evolution/Systems/CurvedScalarWave/BoundaryCorrections/Factory.hpp"
      36             : #include "Evolution/Systems/CurvedScalarWave/CalculateGrVars.hpp"
      37             : #include "Evolution/Systems/CurvedScalarWave/Constraints.hpp"
      38             : #include "Evolution/Systems/CurvedScalarWave/Initialize.hpp"
      39             : #include "Evolution/Systems/CurvedScalarWave/PsiSquared.hpp"
      40             : #include "Evolution/Systems/CurvedScalarWave/System.hpp"
      41             : #include "Evolution/Systems/CurvedScalarWave/Tags.hpp"
      42             : #include "Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/InitializeConstraintGammas.hpp"
      43             : #include "Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/InitializeCurrentIteration.hpp"
      44             : #include "Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/IteratePunctureField.hpp"
      45             : #include "Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/ReceiveWorldtubeData.hpp"
      46             : #include "Evolution/Systems/CurvedScalarWave/Worldtube/ElementActions/SendToWorldtube.hpp"
      47             : #include "Evolution/Systems/CurvedScalarWave/Worldtube/Tags.hpp"
      48             : #include "Evolution/Systems/CurvedScalarWave/Worldtube/Triggers/InsideHorizon.hpp"
      49             : #include "Evolution/Systems/CurvedScalarWave/Worldtube/Triggers/OrbitRadius.hpp"
      50             : #include "Evolution/Tags/Filter.hpp"
      51             : #include "IO/Observer/Actions/RegisterEvents.hpp"
      52             : #include "IO/Observer/Helpers.hpp"
      53             : #include "IO/Observer/ObserverComponent.hpp"
      54             : #include "NumericalAlgorithms/DiscontinuousGalerkin/Formulation.hpp"
      55             : #include "NumericalAlgorithms/DiscontinuousGalerkin/Tags.hpp"
      56             : #include "NumericalAlgorithms/LinearOperators/ExponentialFilter.hpp"
      57             : #include "Options/Protocols/FactoryCreation.hpp"
      58             : #include "Options/String.hpp"
      59             : #include "Parallel/Local.hpp"
      60             : #include "Parallel/Phase.hpp"
      61             : #include "Parallel/PhaseControl/CheckpointAndExitAfterWallclock.hpp"
      62             : #include "Parallel/PhaseControl/ExecutePhaseChange.hpp"
      63             : #include "Parallel/PhaseControl/VisitAndReturn.hpp"
      64             : #include "Parallel/PhaseDependentActionList.hpp"
      65             : #include "Parallel/Protocols/RegistrationMetavariables.hpp"
      66             : #include "Parallel/Reduction.hpp"
      67             : #include "ParallelAlgorithms/Actions/AddComputeTags.hpp"
      68             : #include "ParallelAlgorithms/Actions/AddSimpleTags.hpp"
      69             : #include "ParallelAlgorithms/Actions/FilterAction.hpp"
      70             : #include "ParallelAlgorithms/Actions/FunctionsOfTimeAreReady.hpp"
      71             : #include "ParallelAlgorithms/Actions/InitializeItems.hpp"
      72             : #include "ParallelAlgorithms/Actions/MutateApply.hpp"
      73             : #include "ParallelAlgorithms/Actions/TerminatePhase.hpp"
      74             : #include "ParallelAlgorithms/Events/Factory.hpp"
      75             : #include "ParallelAlgorithms/Events/ObserveNorms.hpp"
      76             : #include "ParallelAlgorithms/EventsAndDenseTriggers/DenseTrigger.hpp"
      77             : #include "ParallelAlgorithms/EventsAndDenseTriggers/DenseTriggers/Factory.hpp"
      78             : #include "ParallelAlgorithms/EventsAndTriggers/Completion.hpp"
      79             : #include "ParallelAlgorithms/EventsAndTriggers/Event.hpp"
      80             : #include "ParallelAlgorithms/EventsAndTriggers/EventsAndTriggers.hpp"
      81             : #include "ParallelAlgorithms/EventsAndTriggers/LogicalTriggers.hpp"
      82             : #include "ParallelAlgorithms/EventsAndTriggers/Trigger.hpp"
      83             : #include "ParallelAlgorithms/Interpolation/Actions/ElementInitInterpPoints.hpp"
      84             : #include "ParallelAlgorithms/Interpolation/Actions/InitializeInterpolationTarget.hpp"
      85             : #include "ParallelAlgorithms/Interpolation/Actions/InterpolatorRegisterElement.hpp"
      86             : #include "ParallelAlgorithms/Interpolation/Callbacks/ObserveLineSegment.hpp"
      87             : #include "ParallelAlgorithms/Interpolation/Callbacks/ObserveSurfaceData.hpp"
      88             : #include "ParallelAlgorithms/Interpolation/Callbacks/ObserveTimeSeriesOnSurface.hpp"
      89             : #include "ParallelAlgorithms/Interpolation/Events/InterpolateWithoutInterpComponent.hpp"
      90             : #include "ParallelAlgorithms/Interpolation/InterpolationTarget.hpp"
      91             : #include "ParallelAlgorithms/Interpolation/PointInfoTag.hpp"
      92             : #include "ParallelAlgorithms/Interpolation/Protocols/InterpolationTargetTag.hpp"
      93             : #include "ParallelAlgorithms/Interpolation/Protocols/PostInterpolationCallback.hpp"
      94             : #include "ParallelAlgorithms/Interpolation/Tags.hpp"
      95             : #include "ParallelAlgorithms/Interpolation/Targets/LineSegment.hpp"
      96             : #include "ParallelAlgorithms/Interpolation/Targets/Sphere.hpp"
      97             : #include "PointwiseFunctions/AnalyticData/AnalyticData.hpp"
      98             : #include "PointwiseFunctions/AnalyticData/CurvedWaveEquation/PureSphericalHarmonic.hpp"
      99             : #include "PointwiseFunctions/AnalyticData/Tags.hpp"
     100             : #include "PointwiseFunctions/AnalyticSolutions/AnalyticSolution.hpp"
     101             : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/KerrSchild.hpp"
     102             : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Minkowski.hpp"
     103             : #include "PointwiseFunctions/AnalyticSolutions/Tags.hpp"
     104             : #include "PointwiseFunctions/AnalyticSolutions/WaveEquation/PlaneWave.hpp"
     105             : #include "PointwiseFunctions/GeneralRelativity/Christoffel.hpp"
     106             : #include "PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/ExtrinsicCurvature.hpp"
     107             : #include "PointwiseFunctions/GeneralRelativity/KerrHorizon.hpp"
     108             : #include "PointwiseFunctions/InitialDataUtilities/InitialData.hpp"
     109             : #include "PointwiseFunctions/MathFunctions/Factory.hpp"
     110             : #include "PointwiseFunctions/MathFunctions/MathFunction.hpp"
     111             : #include "Time/Actions/SelfStartActions.hpp"
     112             : #include "Time/AdvanceTime.hpp"
     113             : #include "Time/ChangeSlabSize/Action.hpp"
     114             : #include "Time/CleanHistory.hpp"
     115             : #include "Time/RecordTimeStepperData.hpp"
     116             : #include "Time/StepChoosers/ByBlock.hpp"
     117             : #include "Time/StepChoosers/Factory.hpp"
     118             : #include "Time/StepChoosers/StepChooser.hpp"
     119             : #include "Time/Tags/Time.hpp"
     120             : #include "Time/Tags/TimeStepId.hpp"
     121             : #include "Time/TimeSteppers/Factory.hpp"
     122             : #include "Time/TimeSteppers/LtsTimeStepper.hpp"
     123             : #include "Time/TimeSteppers/TimeStepper.hpp"
     124             : #include "Time/Triggers/TimeTriggers.hpp"
     125             : #include "Time/UpdateU.hpp"
     126             : #include "Utilities/ErrorHandling/Error.hpp"
     127             : #include "Utilities/ProtocolHelpers.hpp"
     128             : #include "Utilities/Serialization/RegisterDerivedClassesWithCharm.hpp"
     129             : #include "Utilities/TMPL.hpp"
     130             : 
     131             : /// \cond
     132             : namespace Frame {
     133             : struct Inertial;
     134             : }  // namespace Frame
     135             : namespace Parallel {
     136             : template <typename Metavariables>
     137             : class CProxy_GlobalCache;
     138             : }  // namespace Parallel
     139             : namespace PUP {
     140             : class er;
     141             : }  // namespace PUP
     142             : /// \endcond
     143             : 
     144             : template <typename BackgroundSpacetime, typename InitialData>
     145             : struct EvolutionMetavars {
     146             :   static constexpr size_t volume_dim = 3;
     147           0 :   using background_spacetime = BackgroundSpacetime;
     148             :   static_assert(
     149             :       is_analytic_data_v<InitialData> xor is_analytic_solution_v<InitialData>,
     150             :       "initial_data must be either an analytic_data or an analytic_solution");
     151             : 
     152           0 :   using solutions_and_data = tmpl::list<InitialData>;
     153           0 :   using system = CurvedScalarWave::System<volume_dim>;
     154           0 :   using temporal_id = Tags::TimeStepId;
     155             :   // LTS not implemented yet
     156           0 :   using TimeStepperBase = TimeStepper;
     157             : 
     158             :   static constexpr bool local_time_stepping =
     159             :       TimeStepperBase::local_time_stepping;
     160             :   static constexpr bool use_dg_element_collection = false;
     161             : 
     162           0 :   using deriv_compute = ::Tags::DerivCompute<
     163             :       typename system::variables_tag, domain::Tags::Mesh<volume_dim>,
     164             :       domain::Tags::InverseJacobian<volume_dim, Frame::ElementLogical,
     165             :                                     Frame::Inertial>,
     166             :       typename system::gradient_variables>;
     167             : 
     168           0 :   using observe_fields = tmpl::push_back<
     169             :       tmpl::flatten<tmpl::list<
     170             :           tmpl::append<typename system::variables_tag::tags_list,
     171             :                        typename deriv_compute::type::tags_list>,
     172             :           ::Events::Tags::ObserverDetInvJacobianCompute<Frame::ElementLogical,
     173             :                                                         Frame::Inertial>,
     174             :           CurvedScalarWave::Tags::OneIndexConstraintCompute<volume_dim>,
     175             :           CurvedScalarWave::Tags::TwoIndexConstraintCompute<volume_dim>>>,
     176             :       domain::Tags::Coordinates<volume_dim, Frame::Grid>,
     177             :       domain::Tags::Coordinates<volume_dim, Frame::Inertial>>;
     178           0 :   using non_tensor_compute_tags =
     179             :       tmpl::list<::Events::Tags::ObserverMeshCompute<volume_dim>,
     180             :                  deriv_compute>;
     181             : 
     182           0 :   struct Spheres : tt::ConformsTo<intrp::protocols::InterpolationTargetTag> {
     183           0 :     static std::string name() { return "Spheres"; }
     184           0 :     using temporal_id = ::Tags::Time;
     185           0 :     using vars_to_interpolate_to_target =
     186             :         tmpl::list<CurvedScalarWave::Tags::Psi,
     187             :                    domain::Tags::Coordinates<volume_dim, Frame::Inertial>>;
     188           0 :     using compute_items_on_target = tmpl::list<>;
     189           0 :     using compute_target_points =
     190             :         intrp::TargetPoints::Sphere<Spheres, Frame::Inertial>;
     191           0 :     using post_interpolation_callbacks =
     192             :         tmpl::list<intrp::callbacks::ObserveSurfaceData<
     193             :             tmpl::list<CurvedScalarWave::Tags::Psi>, Spheres, Frame::Inertial>>;
     194             :     template <typename metavariables>
     195           0 :     using interpolating_component = typename metavariables::dg_element_array;
     196             :   };
     197             : 
     198           0 :   using interpolation_target_tags = tmpl::list<Spheres>;
     199           0 :   using interpolator_source_vars =
     200             :       tmpl::list<CurvedScalarWave::Tags::Psi,
     201             :                  domain::Tags::Coordinates<volume_dim, Frame::Inertial>>;
     202             : 
     203             :   struct factory_creation
     204             :       : tt::ConformsTo<Options::protocols::FactoryCreation> {
     205           0 :     using factory_classes = tmpl::map<
     206             :         tmpl::pair<
     207             :             CurvedScalarWave::BoundaryConditions::BoundaryCondition<volume_dim>,
     208             :             tmpl::flatten<tmpl::list<
     209             :                 CurvedScalarWave::BoundaryConditions::
     210             :                     standard_boundary_conditions<volume_dim>,
     211             :                 CurvedScalarWave::BoundaryConditions::Worldtube<volume_dim>>>>,
     212             :         tmpl::pair<DenseTrigger, DenseTriggers::standard_dense_triggers>,
     213             :         tmpl::pair<DomainCreator<volume_dim>,
     214             :                    tmpl::list<domain::creators::BinaryCompactObject<true>>>,
     215             :         tmpl::pair<
     216             :             Event,
     217             :             tmpl::flatten<tmpl::list<
     218             :                 Events::time_events<system>, Events::Completion,
     219             :                 intrp::Events::InterpolateWithoutInterpComponent<
     220             :                     volume_dim, Spheres, interpolator_source_vars>,
     221             :                 dg::Events::field_observations<volume_dim, observe_fields,
     222             :                                                non_tensor_compute_tags>>>>,
     223             :         tmpl::pair<evolution::BoundaryCorrection,
     224             :                    CurvedScalarWave::BoundaryCorrections::
     225             :                        standard_boundary_corrections<volume_dim>>,
     226             :         tmpl::pair<evolution::initial_data::InitialData, solutions_and_data>,
     227             :         tmpl::pair<MathFunction<1, Frame::Inertial>,
     228             :                    MathFunctions::all_math_functions<1, Frame::Inertial>>,
     229             :         tmpl::pair<PhaseChange,
     230             :                    tmpl::list<PhaseControl::VisitAndReturn<
     231             :                                   Parallel::Phase::LoadBalancing>,
     232             :                               PhaseControl::CheckpointAndExitAfterWallclock>>,
     233             :         tmpl::pair<StepChooser<StepChooserUse::Slab>,
     234             :                    tmpl::push_back<StepChoosers::standard_slab_choosers<
     235             :                                        system, local_time_stepping>,
     236             :                                    StepChoosers::ByBlock<volume_dim>>>,
     237             :         tmpl::pair<TimeSequence<double>,
     238             :                    TimeSequences::all_time_sequences<double>>,
     239             :         tmpl::pair<TimeSequence<std::uint64_t>,
     240             :                    TimeSequences::all_time_sequences<std::uint64_t>>,
     241             :         tmpl::pair<TimeStepper, TimeSteppers::time_steppers>,
     242             :         tmpl::pair<Trigger,
     243             :                    tmpl::flatten<tmpl::list<
     244             :                        Triggers::logical_triggers, Triggers::time_triggers,
     245             :                        Triggers::OrbitRadius, Triggers::InsideHorizon>>>>;
     246             :   };
     247           0 :   using observed_reduction_data_tags = observers::collect_reduction_data_tags<
     248             :       tmpl::at<typename factory_creation::factory_classes, Event>>;
     249             :   static constexpr bool use_filtering = true;
     250             : 
     251           0 :   using step_actions = tmpl::flatten<tmpl::list<
     252             :       CurvedScalarWave::Actions::CalculateGrVars<system, true>,
     253             :       CurvedScalarWave::Worldtube::Actions::SendToWorldtube,
     254             :       CurvedScalarWave::Worldtube::Actions::IteratePunctureField,
     255             :       CurvedScalarWave::Worldtube::Actions::ReceiveWorldtubeData,
     256             :       evolution::dg::Actions::ComputeTimeDerivative<
     257             :           volume_dim, system, AllStepChoosers, local_time_stepping,
     258             :           use_dg_element_collection>,
     259             :       evolution::dg::Actions::ApplyBoundaryCorrectionsToTimeDerivative<
     260             :           volume_dim, false, use_dg_element_collection>,
     261             :       Actions::MutateApply<RecordTimeStepperData<system>>,
     262             :       evolution::Actions::RunEventsAndDenseTriggers<tmpl::list<>>,
     263             :       Actions::MutateApply<UpdateU<system, local_time_stepping>>,
     264             :       Actions::MutateApply<CleanHistory<system>>,
     265             :       tmpl::conditional_t<
     266             :           local_time_stepping,
     267             :           Actions::MutateApply<evolution::dg::CleanMortarHistory<system>>,
     268             :           tmpl::list<>>,
     269             :       tmpl::conditional_t<
     270             :           use_filtering,
     271             :           dg::Actions::Filter<
     272             :               Filters::Exponential<0>,
     273             :               tmpl::list<CurvedScalarWave::Tags::Psi,
     274             :                          CurvedScalarWave::Tags::Pi,
     275             :                          CurvedScalarWave::Tags::Phi<volume_dim>>>,
     276             :           tmpl::list<>>>>;
     277             : 
     278           0 :   using const_global_cache_tags = tmpl::list<
     279             :       CurvedScalarWave::Tags::BackgroundSpacetime<BackgroundSpacetime>,
     280             :       evolution::initial_data::Tags::InitialData,
     281             :       CurvedScalarWave::Worldtube::Tags::ExcisionSphere<volume_dim>,
     282             :       CurvedScalarWave::Worldtube::Tags::ExpansionOrder,
     283             :       CurvedScalarWave::Worldtube::Tags::WorldtubeRadiusParameters,
     284             :       CurvedScalarWave::Worldtube::Tags::BlackHoleRadiusParameters,
     285             :       CurvedScalarWave::Worldtube::Tags::Charge,
     286             :       CurvedScalarWave::Worldtube::Tags::SelfForceTurnOnTime,
     287             :       CurvedScalarWave::Worldtube::Tags::SelfForceTurnOnInterval,
     288             :       CurvedScalarWave::Worldtube::Tags::Mass,
     289             :       CurvedScalarWave::Worldtube::Tags::MaxIterations,
     290             :       CurvedScalarWave::Worldtube::Tags::ObserveCoefficientsTrigger,
     291             :       CurvedScalarWave::Worldtube::Tags::Verbosity>;
     292             : 
     293           0 :   using dg_registration_list =
     294             :       tmpl::list<observers::Actions::RegisterEventsWithObservers>;
     295             : 
     296           0 :   using initialization_actions = tmpl::list<
     297             :       Initialization::Actions::InitializeItems<
     298             :           Initialization::TimeStepping<EvolutionMetavars, TimeStepperBase>,
     299             :           evolution::dg::Initialization::Domain<EvolutionMetavars>,
     300             :           Initialization::TimeStepperHistory<EvolutionMetavars>>,
     301             :       Initialization::Actions::NonconservativeSystem<system>,
     302             :       CurvedScalarWave::Actions::CalculateGrVars<system, false>,
     303             :       Initialization::Actions::AddSimpleTags<
     304             :           CurvedScalarWave::Worldtube::Initialization::
     305             :               InitializeCurrentIteration,
     306             :           CurvedScalarWave::Initialization::InitializeEvolvedVariables<
     307             :               volume_dim, solutions_and_data>>,
     308             :       Initialization::Actions::AddComputeTags<
     309             :           StepChoosers::step_chooser_compute_tags<EvolutionMetavars,
     310             :                                                   local_time_stepping>>,
     311             :       Initialization::Actions::AddComputeTags<tmpl::list<
     312             :           CurvedScalarWave::Worldtube::Tags::ParticlePositionVelocityCompute<
     313             :               volume_dim>,
     314             :           CurvedScalarWave::Worldtube::Tags::ConstraintGamma1Compute,
     315             :           CurvedScalarWave::Worldtube::Tags::ConstraintGamma2Compute,
     316             :           CurvedScalarWave::Worldtube::Tags::FaceCoordinatesCompute<
     317             :               volume_dim, Frame::Inertial, true>,
     318             :           CurvedScalarWave::Worldtube::Tags::FaceCoordinatesCompute<
     319             :               volume_dim, Frame::Inertial, true>,
     320             :           CurvedScalarWave::Worldtube::Tags::GeodesicAccelerationCompute<3>,
     321             :           CurvedScalarWave::Worldtube::Tags::PunctureFieldCompute<volume_dim>,
     322             :           CurvedScalarWave::Worldtube::Tags::FaceQuantitiesCompute,
     323             :           ::domain::Tags::GridToInertialInverseJacobian<volume_dim>>>,
     324             :       ::evolution::dg::Initialization::Mortars<volume_dim, system>,
     325             :       intrp::Actions::ElementInitInterpPoints<volume_dim,
     326             :                                               interpolation_target_tags>,
     327             :       evolution::Actions::InitializeRunEventsAndDenseTriggers,
     328             :       Parallel::Actions::TerminatePhase>;
     329             : 
     330           0 :   using dg_element_array = DgElementArray<
     331             :       EvolutionMetavars,
     332             :       tmpl::list<
     333             :           Parallel::PhaseActions<Parallel::Phase::Initialization,
     334             :                                  initialization_actions>,
     335             :           Parallel::PhaseActions<
     336             :               Parallel::Phase::InitializeTimeStepperHistory,
     337             :               SelfStart::self_start_procedure<step_actions, system>>,
     338             :           Parallel::PhaseActions<Parallel::Phase::Register,
     339             :                                  tmpl::list<dg_registration_list,
     340             :                                             Parallel::Actions::TerminatePhase>>,
     341             :           Parallel::PhaseActions<Parallel::Phase::Restart,
     342             :                                  tmpl::list<dg_registration_list,
     343             :                                             Parallel::Actions::TerminatePhase>>,
     344             :           Parallel::PhaseActions<
     345             :               Parallel::Phase::WriteCheckpoint,
     346             :               tmpl::list<evolution::Actions::RunEventsAndTriggers<
     347             :                              Triggers::WhenToCheck::AtCheckpoints>,
     348             :                          Parallel::Actions::TerminatePhase>>,
     349             :           Parallel::PhaseActions<
     350             :               Parallel::Phase::Evolve,
     351             :               tmpl::flatten<tmpl::list<
     352             :                   domain::Actions::CheckFunctionsOfTimeAreReady<volume_dim>,
     353             :                   std::conditional_t<local_time_stepping,
     354             :                                      evolution::Actions::RunEventsAndTriggers<
     355             :                                          Triggers::WhenToCheck::AtSteps>,
     356             :                                      tmpl::list<>>,
     357             :                   evolution::Actions::RunEventsAndTriggers<
     358             :                       Triggers::WhenToCheck::AtSlabs>,
     359             :                   Actions::ChangeSlabSize, step_actions,
     360             :                   Actions::MutateApply<AdvanceTime>,
     361             :                   PhaseControl::Actions::ExecutePhaseChange>>>>>;
     362             : 
     363             :   struct registration
     364             :       : tt::ConformsTo<Parallel::protocols::RegistrationMetavariables> {
     365           0 :     using element_registrars =
     366             :         tmpl::map<tmpl::pair<dg_element_array, dg_registration_list>>;
     367             :   };
     368             : 
     369           0 :   static void run_deadlock_analysis_simple_actions(
     370             :       Parallel::GlobalCache<EvolutionMetavars>& cache,
     371             :       const std::vector<std::string>& deadlocked_components) {
     372             :     gh::deadlock::run_deadlock_analysis_simple_actions<
     373             :         dg_element_array, tmpl::list<>, interpolation_target_tags, tmpl::list<>,
     374             :         false>(cache, deadlocked_components);
     375             :   }
     376             : 
     377           0 :   using component_list = tmpl::flatten<tmpl::list<
     378             :       observers::Observer<EvolutionMetavars>,
     379             :       observers::ObserverWriter<EvolutionMetavars>,
     380             :       intrp::InterpolationTarget<EvolutionMetavars, Spheres>,
     381             :       CurvedScalarWave::Worldtube::WorldtubeSingleton<EvolutionMetavars>,
     382             :       dg_element_array>>;
     383             : 
     384             :   static constexpr Options::String help{
     385             :       "Evolve a scalar point charge in circular orbit around a Schwarzschild "
     386             :       "black hole."};
     387             : 
     388             :   static constexpr std::array<Parallel::Phase, 5> default_phase_order{
     389             :       {Parallel::Phase::Initialization,
     390             :        Parallel::Phase::InitializeTimeStepperHistory, Parallel::Phase::Register,
     391             :        Parallel::Phase::Evolve, Parallel::Phase::Exit}};
     392             : 
     393             :   // NOLINTNEXTLINE(google-runtime-references)
     394           0 :   void pup(PUP::er& /*p*/) {}
     395             : };

Generated by: LCOV version 1.14