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

Generated by: LCOV version 1.14