SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Executables/NewtonianEuler - EvolveNewtonianEuler.hpp Hit Total Coverage
Commit: 9e4176f904ee1c51f05efc42ff1e485357699444 Lines: 0 29 0.0 %
Date: 2024-03-28 23:18:37
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/Factory1D.hpp"
      11             : #include "Domain/Creators/Factory2D.hpp"
      12             : #include "Domain/Creators/Factory3D.hpp"
      13             : #include "Domain/Tags.hpp"
      14             : #include "Evolution/Actions/RunEventsAndDenseTriggers.hpp"
      15             : #include "Evolution/Actions/RunEventsAndTriggers.hpp"
      16             : #include "Evolution/ComputeTags.hpp"
      17             : #include "Evolution/Conservative/UpdateConservatives.hpp"
      18             : #include "Evolution/DgSubcell/Actions/Initialize.hpp"
      19             : #include "Evolution/DgSubcell/Actions/Labels.hpp"
      20             : #include "Evolution/DgSubcell/Actions/ReconstructionCommunication.hpp"
      21             : #include "Evolution/DgSubcell/Actions/SelectNumericalMethod.hpp"
      22             : #include "Evolution/DgSubcell/Actions/TakeTimeStep.hpp"
      23             : #include "Evolution/DgSubcell/Actions/TciAndRollback.hpp"
      24             : #include "Evolution/DgSubcell/Actions/TciAndSwitchToDg.hpp"
      25             : #include "Evolution/DgSubcell/GetTciDecision.hpp"
      26             : #include "Evolution/DgSubcell/NeighborReconstructedFaceSolution.hpp"
      27             : #include "Evolution/DgSubcell/NeighborTciDecision.hpp"
      28             : #include "Evolution/DgSubcell/PrepareNeighborData.hpp"
      29             : #include "Evolution/DgSubcell/Tags/ObserverCoordinates.hpp"
      30             : #include "Evolution/DgSubcell/Tags/ObserverMesh.hpp"
      31             : #include "Evolution/DgSubcell/Tags/TciStatus.hpp"
      32             : #include "Evolution/DiscontinuousGalerkin/Actions/ApplyBoundaryCorrections.hpp"
      33             : #include "Evolution/DiscontinuousGalerkin/Actions/ComputeTimeDerivative.hpp"
      34             : #include "Evolution/DiscontinuousGalerkin/DgElementArray.hpp"
      35             : #include "Evolution/DiscontinuousGalerkin/Initialization/Mortars.hpp"
      36             : #include "Evolution/DiscontinuousGalerkin/Initialization/QuadratureTag.hpp"
      37             : #include "Evolution/DiscontinuousGalerkin/Limiters/Tags.hpp"
      38             : #include "Evolution/Initialization/ConservativeSystem.hpp"
      39             : #include "Evolution/Initialization/DgDomain.hpp"
      40             : #include "Evolution/Initialization/Evolution.hpp"
      41             : #include "Evolution/Initialization/Limiter.hpp"
      42             : #include "Evolution/Initialization/SetVariables.hpp"
      43             : #include "Evolution/Systems/NewtonianEuler/AllSolutions.hpp"
      44             : #include "Evolution/Systems/NewtonianEuler/BoundaryConditions/Factory.hpp"
      45             : #include "Evolution/Systems/NewtonianEuler/BoundaryCorrections/Factory.hpp"
      46             : #include "Evolution/Systems/NewtonianEuler/FiniteDifference/Factory.hpp"
      47             : #include "Evolution/Systems/NewtonianEuler/FiniteDifference/Tag.hpp"
      48             : #include "Evolution/Systems/NewtonianEuler/Limiters/Minmod.hpp"
      49             : #include "Evolution/Systems/NewtonianEuler/SoundSpeedSquared.hpp"
      50             : #include "Evolution/Systems/NewtonianEuler/Sources/Factory.hpp"
      51             : #include "Evolution/Systems/NewtonianEuler/Subcell/NeighborPackagedData.hpp"
      52             : #include "Evolution/Systems/NewtonianEuler/Subcell/PrimitiveGhostData.hpp"
      53             : #include "Evolution/Systems/NewtonianEuler/Subcell/PrimsAfterRollback.hpp"
      54             : #include "Evolution/Systems/NewtonianEuler/Subcell/ResizeAndComputePrimitives.hpp"
      55             : #include "Evolution/Systems/NewtonianEuler/Subcell/SetInitialRdmpData.hpp"
      56             : #include "Evolution/Systems/NewtonianEuler/Subcell/TciOnDgGrid.hpp"
      57             : #include "Evolution/Systems/NewtonianEuler/Subcell/TciOnFdGrid.hpp"
      58             : #include "Evolution/Systems/NewtonianEuler/Subcell/TimeDerivative.hpp"
      59             : #include "Evolution/Systems/NewtonianEuler/System.hpp"
      60             : #include "Evolution/Systems/NewtonianEuler/Tags.hpp"
      61             : #include "IO/Observer/Actions/RegisterEvents.hpp"
      62             : #include "IO/Observer/Helpers.hpp"
      63             : #include "IO/Observer/ObserverComponent.hpp"
      64             : #include "NumericalAlgorithms/DiscontinuousGalerkin/Formulation.hpp"
      65             : #include "NumericalAlgorithms/DiscontinuousGalerkin/Tags.hpp"
      66             : #include "Options/Protocols/FactoryCreation.hpp"
      67             : #include "Options/String.hpp"
      68             : #include "Parallel/Local.hpp"
      69             : #include "Parallel/Phase.hpp"
      70             : #include "Parallel/PhaseControl/CheckpointAndExitAfterWallclock.hpp"
      71             : #include "Parallel/PhaseControl/ExecutePhaseChange.hpp"
      72             : #include "Parallel/PhaseControl/Factory.hpp"
      73             : #include "Parallel/PhaseControl/VisitAndReturn.hpp"
      74             : #include "Parallel/PhaseDependentActionList.hpp"
      75             : #include "Parallel/Protocols/RegistrationMetavariables.hpp"
      76             : #include "ParallelAlgorithms/Actions/AddComputeTags.hpp"
      77             : #include "ParallelAlgorithms/Actions/InitializeItems.hpp"
      78             : #include "ParallelAlgorithms/Actions/LimiterActions.hpp"
      79             : #include "ParallelAlgorithms/Actions/MutateApply.hpp"
      80             : #include "ParallelAlgorithms/Actions/TerminatePhase.hpp"
      81             : #include "ParallelAlgorithms/Events/Factory.hpp"
      82             : #include "ParallelAlgorithms/Events/Tags.hpp"
      83             : #include "ParallelAlgorithms/EventsAndDenseTriggers/DenseTrigger.hpp"
      84             : #include "ParallelAlgorithms/EventsAndDenseTriggers/DenseTriggers/Factory.hpp"
      85             : #include "ParallelAlgorithms/EventsAndTriggers/Completion.hpp"
      86             : #include "ParallelAlgorithms/EventsAndTriggers/Event.hpp"
      87             : #include "ParallelAlgorithms/EventsAndTriggers/EventsAndTriggers.hpp"
      88             : #include "ParallelAlgorithms/EventsAndTriggers/LogicalTriggers.hpp"
      89             : #include "ParallelAlgorithms/EventsAndTriggers/Trigger.hpp"
      90             : #include "PointwiseFunctions/AnalyticData/AnalyticData.hpp"
      91             : #include "PointwiseFunctions/AnalyticData/NewtonianEuler/KhInstability.hpp"
      92             : #include "PointwiseFunctions/AnalyticSolutions/AnalyticSolution.hpp"
      93             : #include "PointwiseFunctions/AnalyticSolutions/NewtonianEuler/IsentropicVortex.hpp"
      94             : #include "PointwiseFunctions/AnalyticSolutions/NewtonianEuler/LaneEmdenStar.hpp"
      95             : #include "PointwiseFunctions/AnalyticSolutions/NewtonianEuler/RiemannProblem.hpp"
      96             : #include "PointwiseFunctions/AnalyticSolutions/NewtonianEuler/SmoothFlow.hpp"
      97             : #include "PointwiseFunctions/AnalyticSolutions/Tags.hpp"
      98             : #include "PointwiseFunctions/Hydro/EquationsOfState/Factory.hpp"
      99             : #include "PointwiseFunctions/Hydro/EquationsOfState/RegisterDerivedWithCharm.hpp"
     100             : #include "PointwiseFunctions/Hydro/Tags.hpp"
     101             : #include "Time/Actions/AdvanceTime.hpp"
     102             : #include "Time/Actions/RecordTimeStepperData.hpp"
     103             : #include "Time/Actions/SelfStartActions.hpp"
     104             : #include "Time/Actions/UpdateU.hpp"
     105             : #include "Time/ChangeSlabSize/Action.hpp"
     106             : #include "Time/StepChoosers/Factory.hpp"
     107             : #include "Time/StepChoosers/StepChooser.hpp"
     108             : #include "Time/Tags/Time.hpp"
     109             : #include "Time/Tags/TimeStepId.hpp"
     110             : #include "Time/TimeSequence.hpp"
     111             : #include "Time/TimeSteppers/Factory.hpp"
     112             : #include "Time/TimeSteppers/LtsTimeStepper.hpp"
     113             : #include "Time/TimeSteppers/TimeStepper.hpp"
     114             : #include "Time/Triggers/TimeTriggers.hpp"
     115             : #include "Utilities/Functional.hpp"
     116             : #include "Utilities/ProtocolHelpers.hpp"
     117             : #include "Utilities/TMPL.hpp"
     118             : 
     119             : /// \cond
     120             : namespace PUP {
     121             : class er;
     122             : }  // namespace PUP
     123             : namespace Parallel {
     124             : template <typename Metavariables>
     125             : class CProxy_GlobalCache;
     126             : }  // namespace Parallel
     127             : /// \endcond
     128             : 
     129             : template <size_t Dim>
     130             : struct EvolutionMetavars {
     131             :   static constexpr size_t volume_dim = Dim;
     132             :   // The use_dg_subcell flag controls whether to use "standard" limiting (false)
     133             :   // or a DG-FD hybrid scheme (true).
     134             :   static constexpr bool use_dg_subcell = true;
     135             :   static constexpr dg::Formulation dg_formulation =
     136             :       dg::Formulation::StrongInertial;
     137             : 
     138           0 :   using system = NewtonianEuler::System<Dim>;
     139             : 
     140           0 :   using temporal_id = Tags::TimeStepId;
     141           0 :   using TimeStepperBase = TimeStepper;
     142             : 
     143             :   static constexpr bool local_time_stepping =
     144             :       TimeStepperBase::local_time_stepping;
     145             : 
     146           0 :   using initial_data_tag = evolution::initial_data::Tags::InitialData;
     147           0 :   using initial_data_list = NewtonianEuler::InitialData::initial_data_list<Dim>;
     148             : 
     149           0 :   using analytic_variables_tags =
     150             :       typename system::primitive_variables_tag::tags_list;
     151             : 
     152           0 :   using equation_of_state_tag = hydro::Tags::EquationOfState<false, 2>;
     153             : 
     154           0 :   using limiter = Tags::Limiter<NewtonianEuler::Limiters::Minmod<Dim>>;
     155             : 
     156           0 :   using analytic_compute = evolution::Tags::AnalyticSolutionsCompute<
     157             :       volume_dim, analytic_variables_tags, use_dg_subcell, initial_data_list>;
     158           0 :   using error_compute = Tags::ErrorsCompute<analytic_variables_tags>;
     159           0 :   using error_tags = db::wrap_tags_in<Tags::Error, analytic_variables_tags>;
     160           0 :   using observe_fields = tmpl::push_back<
     161             :       tmpl::append<
     162             :           typename system::variables_tag::tags_list,
     163             :           typename system::primitive_variables_tag::tags_list, error_tags,
     164             :           tmpl::conditional_t<use_dg_subcell,
     165             :                               tmpl::list<evolution::dg::subcell::Tags::
     166             :                                              TciStatusCompute<volume_dim>>,
     167             :                               tmpl::list<>>>,
     168             :       tmpl::conditional_t<
     169             :           use_dg_subcell,
     170             :           evolution::dg::subcell::Tags::ObserverCoordinatesCompute<
     171             :               volume_dim, Frame::ElementLogical>,
     172             :           ::Events::Tags::ObserverCoordinatesCompute<volume_dim,
     173             :                                                      Frame::ElementLogical>>,
     174             :       tmpl::conditional_t<
     175             :           use_dg_subcell,
     176             :           evolution::dg::subcell::Tags::ObserverCoordinatesCompute<volume_dim,
     177             :                                                                    Frame::Grid>,
     178             :           domain::Tags::Coordinates<volume_dim, Frame::Grid>>,
     179             :       tmpl::conditional_t<
     180             :           use_dg_subcell,
     181             :           evolution::dg::subcell::Tags::ObserverCoordinatesCompute<
     182             :               volume_dim, Frame::Inertial>,
     183             :           domain::Tags::Coordinates<volume_dim, Frame::Inertial>>>;
     184           0 :   using non_tensor_compute_tags = tmpl::append<
     185             :       tmpl::conditional_t<
     186             :           use_dg_subcell,
     187             :           tmpl::list<
     188             :               evolution::dg::subcell::Tags::ObserverMeshCompute<volume_dim>,
     189             :               evolution::dg::subcell::Tags::ObserverInverseJacobianCompute<
     190             :                   volume_dim, Frame::ElementLogical, Frame::Inertial>,
     191             :               evolution::dg::subcell::Tags::
     192             :                   ObserverJacobianAndDetInvJacobianCompute<
     193             :                       volume_dim, Frame::ElementLogical, Frame::Inertial>>,
     194             :           tmpl::list<::Events::Tags::ObserverMeshCompute<volume_dim>,
     195             :                      ::Events::Tags::ObserverInverseJacobianCompute<
     196             :                          volume_dim, Frame::ElementLogical, Frame::Inertial>,
     197             :                      ::Events::Tags::ObserverJacobianCompute<
     198             :                          volume_dim, Frame::ElementLogical, Frame::Inertial>,
     199             :                      ::Events::Tags::ObserverDetInvJacobianCompute<
     200             :                          Frame::ElementLogical, Frame::Inertial>>>,
     201             :       tmpl::list<analytic_compute, error_compute>>;
     202             : 
     203             :   struct factory_creation
     204             :       : tt::ConformsTo<Options::protocols::FactoryCreation> {
     205           0 :     using factory_classes = tmpl::map<
     206             :         tmpl::pair<DenseTrigger, DenseTriggers::standard_dense_triggers>,
     207             :         tmpl::pair<DomainCreator<volume_dim>, domain_creators<volume_dim>>,
     208             :         tmpl::pair<NewtonianEuler::Sources::Source<Dim>,
     209             :                    NewtonianEuler::Sources::all_sources<Dim>>,
     210             :         tmpl::pair<evolution::initial_data::InitialData,
     211             :                    NewtonianEuler::InitialData::initial_data_list<Dim>>,
     212             :         tmpl::pair<Event,
     213             :                    tmpl::flatten<tmpl::list<
     214             :                        Events::Completion,
     215             :                        dg::Events::field_observations<
     216             :                            volume_dim, observe_fields, non_tensor_compute_tags>,
     217             :                        Events::time_events<system>>>>,
     218             :         tmpl::pair<LtsTimeStepper, TimeSteppers::lts_time_steppers>,
     219             :         tmpl::pair<
     220             :             NewtonianEuler::BoundaryConditions::BoundaryCondition<volume_dim>,
     221             :             NewtonianEuler::BoundaryConditions::standard_boundary_conditions<
     222             :                 volume_dim>>,
     223             :         tmpl::pair<PhaseChange, PhaseControl::factory_creatable_classes>,
     224             :         tmpl::pair<StepChooser<StepChooserUse::LtsStep>,
     225             :                    StepChoosers::standard_step_choosers<system>>,
     226             :         tmpl::pair<
     227             :             StepChooser<StepChooserUse::Slab>,
     228             :             StepChoosers::standard_slab_choosers<system, local_time_stepping>>,
     229             :         tmpl::pair<TimeSequence<double>,
     230             :                    TimeSequences::all_time_sequences<double>>,
     231             :         tmpl::pair<TimeSequence<std::uint64_t>,
     232             :                    TimeSequences::all_time_sequences<std::uint64_t>>,
     233             :         tmpl::pair<TimeStepper, TimeSteppers::time_steppers>,
     234             :         tmpl::pair<Trigger, tmpl::append<Triggers::logical_triggers,
     235             :                                          Triggers::time_triggers>>>;
     236             :   };
     237             : 
     238           0 :   using observed_reduction_data_tags =
     239             :       observers::collect_reduction_data_tags<tmpl::flatten<tmpl::list<
     240             :           tmpl::at<typename factory_creation::factory_classes, Event>>>>;
     241             : 
     242           0 :   using dg_registration_list =
     243             :       tmpl::list<observers::Actions::RegisterEventsWithObservers>;
     244             : 
     245           0 :   using initialization_actions = tmpl::flatten<tmpl::list<
     246             :       Initialization::Actions::InitializeItems<
     247             :           Initialization::TimeStepping<EvolutionMetavars, TimeStepperBase>,
     248             :           evolution::dg::Initialization::Domain<Dim>,
     249             :           Initialization::TimeStepperHistory<EvolutionMetavars>>,
     250             :       Initialization::Actions::ConservativeSystem<system>,
     251             : 
     252             :       tmpl::conditional_t<
     253             :           use_dg_subcell,
     254             :           tmpl::list<
     255             :               evolution::dg::subcell::Actions::SetSubcellGrid<volume_dim,
     256             :                                                               system, false>,
     257             :               Actions::UpdateConservatives,
     258             :               evolution::dg::subcell::Actions::SetAndCommunicateInitialRdmpData<
     259             :                   volume_dim,
     260             :                   NewtonianEuler::subcell::SetInitialRdmpData<volume_dim>>,
     261             :               evolution::dg::subcell::Actions::ComputeAndSendTciOnInitialGrid<
     262             :                   volume_dim, system,
     263             :                   NewtonianEuler::subcell::TciOnFdGrid<volume_dim>>,
     264             :               evolution::dg::subcell::Actions::SetInitialGridFromTciData<
     265             :                   volume_dim, system>,
     266             :               Actions::UpdateConservatives>,
     267             :           tmpl::list<evolution::Initialization::Actions::SetVariables<
     268             :                          domain::Tags::Coordinates<Dim, Frame::ElementLogical>>,
     269             :                      Actions::UpdateConservatives>>,
     270             :       Initialization::Actions::AddComputeTags<
     271             :           tmpl::list<NewtonianEuler::Tags::SoundSpeedSquaredCompute<DataVector>,
     272             :                      NewtonianEuler::Tags::SoundSpeedCompute<DataVector>>>,
     273             :       Initialization::Actions::AddComputeTags<
     274             :           StepChoosers::step_chooser_compute_tags<EvolutionMetavars,
     275             :                                                   local_time_stepping>>,
     276             :       ::evolution::dg::Initialization::Mortars<volume_dim, system>,
     277             :       Initialization::Actions::Minmod<Dim>,
     278             :       evolution::Actions::InitializeRunEventsAndDenseTriggers,
     279             :       Parallel::Actions::TerminatePhase>>;
     280             : 
     281           0 :   using dg_step_actions = tmpl::flatten<tmpl::list<
     282             :       evolution::dg::Actions::ComputeTimeDerivative<
     283             :           volume_dim, system, AllStepChoosers, local_time_stepping>,
     284             :       tmpl::conditional_t<
     285             :           local_time_stepping,
     286             :           tmpl::list<evolution::Actions::RunEventsAndDenseTriggers<tmpl::list<
     287             :                          evolution::dg::ApplyBoundaryCorrections<
     288             :                              local_time_stepping, system, volume_dim, true>,
     289             :                          typename system::primitive_from_conservative>>,
     290             :                      evolution::dg::Actions::ApplyLtsBoundaryCorrections<
     291             :                          system, volume_dim, false>>,
     292             :           tmpl::list<
     293             :               evolution::dg::Actions::ApplyBoundaryCorrectionsToTimeDerivative<
     294             :                   system, volume_dim, false>,
     295             :               Actions::RecordTimeStepperData<system>,
     296             :               evolution::Actions::RunEventsAndDenseTriggers<
     297             :                   tmpl::list<typename system::primitive_from_conservative>>,
     298             :               Actions::UpdateU<system>>>,
     299             :       Limiters::Actions::SendData<EvolutionMetavars>,
     300             :       Limiters::Actions::Limit<EvolutionMetavars>,
     301             :       // Conservative `UpdatePrimitives` expects system to possess
     302             :       // list of recovery schemes so we use `MutateApply` instead.
     303             :       Actions::MutateApply<typename system::primitive_from_conservative>>>;
     304             : 
     305             :   struct SubcellOptions {
     306             :     static constexpr bool subcell_enabled = use_dg_subcell;
     307             :     static constexpr bool subcell_enabled_at_external_boundary = false;
     308             : 
     309             :     // We send `ghost_zone_size` cell-centered grid points for variable
     310             :     // reconstruction, of which we need `ghost_zone_size-1` for reconstruction
     311             :     // to the internal side of the element face, and `ghost_zone_size` for
     312             :     // reconstruction to the external side of the element face.
     313             :     template <typename DbTagsList>
     314           0 :     static constexpr size_t ghost_zone_size(
     315             :         const db::DataBox<DbTagsList>& box) {
     316             :       return db::get<NewtonianEuler::fd::Tags::Reconstructor<Dim>>(box)
     317             :           .ghost_zone_size();
     318             :     }
     319             : 
     320           0 :     using DgComputeSubcellNeighborPackagedData =
     321             :         NewtonianEuler::subcell::NeighborPackagedData;
     322             : 
     323           0 :     using GhostVariables =
     324             :         NewtonianEuler::subcell::PrimitiveGhostVariables<volume_dim>;
     325             :   };
     326             : 
     327           0 :   using dg_subcell_step_actions = tmpl::flatten<tmpl::list<
     328             :       evolution::dg::subcell::Actions::SelectNumericalMethod,
     329             : 
     330             :       Actions::Label<evolution::dg::subcell::Actions::Labels::BeginDg>,
     331             :       evolution::dg::Actions::ComputeTimeDerivative<
     332             :           volume_dim, system, AllStepChoosers, local_time_stepping>,
     333             :       evolution::dg::Actions::ApplyBoundaryCorrectionsToTimeDerivative<
     334             :           system, volume_dim, false>,
     335             :       tmpl::conditional_t<local_time_stepping, tmpl::list<>,
     336             :                           tmpl::list<Actions::RecordTimeStepperData<system>,
     337             :                                      Actions::UpdateU<system>>>,
     338             :       Actions::MutateApply<typename system::primitive_from_conservative>,
     339             :       // Note: The primitive variables are computed as part of the TCI.
     340             :       evolution::dg::subcell::Actions::TciAndRollback<
     341             :           NewtonianEuler::subcell::TciOnDgGrid<volume_dim>>,
     342             :       Actions::Goto<evolution::dg::subcell::Actions::Labels::EndOfSolvers>,
     343             : 
     344             :       Actions::Label<evolution::dg::subcell::Actions::Labels::BeginSubcell>,
     345             :       evolution::dg::subcell::Actions::SendDataForReconstruction<
     346             :           volume_dim,
     347             :           NewtonianEuler::subcell::PrimitiveGhostVariables<volume_dim>,
     348             :           local_time_stepping>,
     349             :       evolution::dg::subcell::Actions::ReceiveDataForReconstruction<volume_dim>,
     350             :       Actions::Label<
     351             :           evolution::dg::subcell::Actions::Labels::BeginSubcellAfterDgRollback>,
     352             :       Actions::MutateApply<
     353             :           NewtonianEuler::subcell::PrimsAfterRollback<volume_dim>>,
     354             :       evolution::dg::subcell::fd::Actions::TakeTimeStep<
     355             :           NewtonianEuler::subcell::TimeDerivative<volume_dim>>,
     356             :       Actions::RecordTimeStepperData<system>, Actions::UpdateU<system>,
     357             :       Actions::MutateApply<typename system::primitive_from_conservative>,
     358             :       evolution::dg::subcell::Actions::TciAndSwitchToDg<
     359             :           NewtonianEuler::subcell::TciOnFdGrid<volume_dim>>,
     360             :       Actions::MutateApply<
     361             :           NewtonianEuler::subcell::ResizeAndComputePrims<volume_dim>>,
     362             : 
     363             :       Actions::Label<evolution::dg::subcell::Actions::Labels::EndOfSolvers>>>;
     364             : 
     365           0 :   using step_actions =
     366             :       tmpl::conditional_t<use_dg_subcell, dg_subcell_step_actions,
     367             :                           dg_step_actions>;
     368             : 
     369           0 :   using dg_element_array = DgElementArray<
     370             :       EvolutionMetavars,
     371             :       tmpl::list<
     372             :           Parallel::PhaseActions<Parallel::Phase::Initialization,
     373             :                                  initialization_actions>,
     374             : 
     375             :           Parallel::PhaseActions<
     376             :               Parallel::Phase::InitializeTimeStepperHistory,
     377             :               SelfStart::self_start_procedure<step_actions, system>>,
     378             : 
     379             :           Parallel::PhaseActions<Parallel::Phase::Register,
     380             :                                  tmpl::list<dg_registration_list,
     381             :                                             Parallel::Actions::TerminatePhase>>,
     382             : 
     383             :           Parallel::PhaseActions<
     384             :               Parallel::Phase::Evolve,
     385             :               tmpl::list<evolution::Actions::RunEventsAndTriggers,
     386             :                          Actions::ChangeSlabSize, step_actions,
     387             :                          Actions::AdvanceTime,
     388             :                          PhaseControl::Actions::ExecutePhaseChange>>>>;
     389             : 
     390             :   struct registration
     391             :       : tt::ConformsTo<Parallel::protocols::RegistrationMetavariables> {
     392           0 :     using element_registrars =
     393             :         tmpl::map<tmpl::pair<dg_element_array, dg_registration_list>>;
     394             :   };
     395             : 
     396           0 :   using component_list =
     397             :       tmpl::list<observers::Observer<EvolutionMetavars>,
     398             :                  observers::ObserverWriter<EvolutionMetavars>,
     399             :                  dg_element_array>;
     400             : 
     401           0 :   using const_global_cache_tags = tmpl::push_back<
     402             :       tmpl::conditional_t<
     403             :           use_dg_subcell,
     404             :           tmpl::list<NewtonianEuler::fd::Tags::Reconstructor<volume_dim>>,
     405             :           tmpl::list<>>,
     406             :       initial_data_tag, equation_of_state_tag,
     407             :       NewtonianEuler::Tags::SourceTerm<Dim>>;
     408             : 
     409             :   static constexpr Options::String help{
     410             :       "Evolve the Newtonian Euler system in conservative form.\n\n"};
     411             : 
     412             :   static constexpr std::array<Parallel::Phase, 5> default_phase_order{
     413             :       {Parallel::Phase::Initialization,
     414             :        Parallel::Phase::InitializeTimeStepperHistory, Parallel::Phase::Register,
     415             :        Parallel::Phase::Evolve, Parallel::Phase::Exit}};
     416             : 
     417             :   // NOLINTNEXTLINE(google-runtime-references)
     418           0 :   void pup(PUP::er& /*p*/) {}
     419             : };

Generated by: LCOV version 1.14