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/Tags.hpp"
13 : #include "Evolution/Actions/RunEventsAndDenseTriggers.hpp"
14 : #include "Evolution/Actions/RunEventsAndTriggers.hpp"
15 : #include "Evolution/BoundaryCorrection.hpp"
16 : #include "Evolution/ComputeTags.hpp"
17 : #include "Evolution/DgSubcell/Actions/Initialize.hpp"
18 : #include "Evolution/DgSubcell/Actions/Labels.hpp"
19 : #include "Evolution/DgSubcell/Actions/ReconstructionCommunication.hpp"
20 : #include "Evolution/DgSubcell/Actions/SelectNumericalMethod.hpp"
21 : #include "Evolution/DgSubcell/Actions/TakeTimeStep.hpp"
22 : #include "Evolution/DgSubcell/Actions/TciAndRollback.hpp"
23 : #include "Evolution/DgSubcell/Actions/TciAndSwitchToDg.hpp"
24 : #include "Evolution/DgSubcell/GetTciDecision.hpp"
25 : #include "Evolution/DgSubcell/NeighborReconstructedFaceSolution.hpp"
26 : #include "Evolution/DgSubcell/NeighborTciDecision.hpp"
27 : #include "Evolution/DgSubcell/PrepareNeighborData.hpp"
28 : #include "Evolution/DgSubcell/SubcellEqualRateRegion.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/CleanMortarHistory.hpp"
35 : #include "Evolution/DiscontinuousGalerkin/DgElementArray.hpp"
36 : #include "Evolution/DiscontinuousGalerkin/EqualRateLts/ChangeFixedLtsRatio.hpp"
37 : #include "Evolution/DiscontinuousGalerkin/EqualRateLts/FixedLtsRatio.hpp"
38 : #include "Evolution/DiscontinuousGalerkin/EqualRateLts/NonconformingEqualRateRegions.hpp"
39 : #include "Evolution/DiscontinuousGalerkin/Initialization/Mortars.hpp"
40 : #include "Evolution/DiscontinuousGalerkin/Initialization/QuadratureTag.hpp"
41 : #include "Evolution/DiscontinuousGalerkin/Initialization/SetupEqualRateRegions.hpp"
42 : #include "Evolution/DiscontinuousGalerkin/Initialization/SpectralFilters.hpp"
43 : #include "Evolution/Initialization/ConservativeSystem.hpp"
44 : #include "Evolution/Initialization/DgDomain.hpp"
45 : #include "Evolution/Initialization/Evolution.hpp"
46 : #include "Evolution/Initialization/SetVariables.hpp"
47 : #include "Evolution/Systems/ScalarAdvection/BoundaryConditions/Factory.hpp"
48 : #include "Evolution/Systems/ScalarAdvection/BoundaryCorrections/Factory.hpp"
49 : #include "Evolution/Systems/ScalarAdvection/FiniteDifference/Factory.hpp"
50 : #include "Evolution/Systems/ScalarAdvection/FiniteDifference/Tags.hpp"
51 : #include "Evolution/Systems/ScalarAdvection/Subcell/GhostData.hpp"
52 : #include "Evolution/Systems/ScalarAdvection/Subcell/NeighborPackagedData.hpp"
53 : #include "Evolution/Systems/ScalarAdvection/Subcell/SetInitialRdmpData.hpp"
54 : #include "Evolution/Systems/ScalarAdvection/Subcell/TciOnDgGrid.hpp"
55 : #include "Evolution/Systems/ScalarAdvection/Subcell/TciOnFdGrid.hpp"
56 : #include "Evolution/Systems/ScalarAdvection/Subcell/TciOptions.hpp"
57 : #include "Evolution/Systems/ScalarAdvection/Subcell/TimeDerivative.hpp"
58 : #include "Evolution/Systems/ScalarAdvection/Subcell/VelocityAtFace.hpp"
59 : #include "Evolution/Systems/ScalarAdvection/System.hpp"
60 : #include "Evolution/Systems/ScalarAdvection/VelocityField.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 "NumericalAlgorithms/LinearOperators/Filters/Factory.hpp"
67 : #include "Options/Protocols/FactoryCreation.hpp"
68 : #include "Options/String.hpp"
69 : #include "Parallel/Local.hpp"
70 : #include "Parallel/Phase.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/AddSimpleTags.hpp"
78 : #include "ParallelAlgorithms/Actions/InitializeItems.hpp"
79 : #include "ParallelAlgorithms/Actions/MutateApply.hpp"
80 : #include "ParallelAlgorithms/Actions/SpectralFilter.hpp"
81 : #include "ParallelAlgorithms/Actions/TerminatePhase.hpp"
82 : #include "ParallelAlgorithms/Events/ChangeFixedLtsRatio.hpp"
83 : #include "ParallelAlgorithms/Events/Completion.hpp"
84 : #include "ParallelAlgorithms/Events/Factory.hpp"
85 : #include "ParallelAlgorithms/Events/Tags.hpp"
86 : #include "ParallelAlgorithms/EventsAndDenseTriggers/DenseTrigger.hpp"
87 : #include "ParallelAlgorithms/EventsAndDenseTriggers/DenseTriggers/Factory.hpp"
88 : #include "ParallelAlgorithms/EventsAndTriggers/Event.hpp"
89 : #include "ParallelAlgorithms/EventsAndTriggers/EventsAndTriggers.hpp"
90 : #include "ParallelAlgorithms/EventsAndTriggers/LogicalTriggers.hpp"
91 : #include "ParallelAlgorithms/EventsAndTriggers/Trigger.hpp"
92 : #include "PointwiseFunctions/AnalyticData/AnalyticData.hpp"
93 : #include "PointwiseFunctions/AnalyticSolutions/AnalyticSolution.hpp"
94 : #include "PointwiseFunctions/AnalyticSolutions/ScalarAdvection/Krivodonova.hpp"
95 : #include "PointwiseFunctions/AnalyticSolutions/ScalarAdvection/Kuzmin.hpp"
96 : #include "PointwiseFunctions/AnalyticSolutions/ScalarAdvection/Sinusoid.hpp"
97 : #include "PointwiseFunctions/AnalyticSolutions/Tags.hpp"
98 : #include "Time/Actions/SelfStartActions.hpp"
99 : #include "Time/AdvanceTime.hpp"
100 : #include "Time/ChangeSlabSize/Action.hpp"
101 : #include "Time/ChangeStepSize.hpp"
102 : #include "Time/ChangeTimeStepperOrder.hpp"
103 : #include "Time/CleanHistory.hpp"
104 : #include "Time/RecordTimeStepperData.hpp"
105 : #include "Time/StepChoosers/Factory.hpp"
106 : #include "Time/StepChoosers/StepChooser.hpp"
107 : #include "Time/Tags/Time.hpp"
108 : #include "Time/Tags/TimeStepId.hpp"
109 : #include "Time/TimeSequence.hpp"
110 : #include "Time/TimeSteppers/Factory.hpp"
111 : #include "Time/TimeSteppers/TimeStepper.hpp"
112 : #include "Time/Triggers/TimeTriggers.hpp"
113 : #include "Time/UpdateU.hpp"
114 : #include "Utilities/ProtocolHelpers.hpp"
115 : #include "Utilities/TMPL.hpp"
116 :
117 : /// \cond
118 : namespace PUP {
119 : class er;
120 : } // namespace PUP
121 : namespace Parallel {
122 : template <typename Metavariables>
123 : class CProxy_GlobalCache;
124 : } // namespace Parallel
125 : /// \endcond
126 :
127 : template <size_t Dim>
128 : struct EvolutionMetavars {
129 : static constexpr size_t volume_dim = Dim;
130 0 : using system = ScalarAdvection::System<Dim>;
131 0 : using temporal_id = Tags::TimeStepId;
132 :
133 : static constexpr bool use_dg_element_collection = false;
134 :
135 : // The use_dg_subcell flag controls whether to use unlimited DG (false)
136 : // or a DG-FD hybrid scheme (true).
137 : static constexpr bool use_dg_subcell = true;
138 :
139 0 : using initial_data_list =
140 : tmpl::conditional_t<Dim == 1,
141 : tmpl::list<ScalarAdvection::Solutions::Krivodonova,
142 : ScalarAdvection::Solutions::Sinusoid>,
143 : tmpl::list<ScalarAdvection::Solutions::Kuzmin>>;
144 :
145 0 : using analytic_variables_tags = typename system::variables_tag::tags_list;
146 0 : using analytic_compute = evolution::Tags::AnalyticSolutionsCompute<
147 : volume_dim, analytic_variables_tags, use_dg_subcell, initial_data_list>;
148 0 : using error_compute = Tags::ErrorsCompute<analytic_variables_tags>;
149 0 : using error_tags = db::wrap_tags_in<Tags::Error, analytic_variables_tags>;
150 0 : using observe_fields = tmpl::push_back<
151 : tmpl::append<
152 : typename system::variables_tag::tags_list, error_tags,
153 : tmpl::conditional_t<use_dg_subcell,
154 : tmpl::list<evolution::dg::subcell::Tags::
155 : TciStatusCompute<volume_dim>>,
156 : tmpl::list<>>>,
157 : tmpl::conditional_t<
158 : use_dg_subcell,
159 : evolution::dg::subcell::Tags::ObserverCoordinatesCompute<
160 : volume_dim, Frame::ElementLogical>,
161 : ::Events::Tags::ObserverCoordinatesCompute<volume_dim,
162 : Frame::ElementLogical>>,
163 : tmpl::conditional_t<
164 : use_dg_subcell,
165 : evolution::dg::subcell::Tags::ObserverCoordinatesCompute<volume_dim,
166 : Frame::Grid>,
167 : domain::Tags::Coordinates<volume_dim, Frame::Grid>>,
168 : tmpl::conditional_t<
169 : use_dg_subcell,
170 : evolution::dg::subcell::Tags::ObserverCoordinatesCompute<
171 : volume_dim, Frame::Inertial>,
172 : domain::Tags::Coordinates<volume_dim, Frame::Inertial>>>;
173 0 : using non_tensor_compute_tags = tmpl::list<
174 : tmpl::conditional_t<
175 : use_dg_subcell,
176 : tmpl::list<
177 : evolution::dg::subcell::Tags::ObserverMeshCompute<volume_dim>,
178 : evolution::dg::subcell::Tags::ObserverInverseJacobianCompute<
179 : volume_dim, Frame::ElementLogical, Frame::Inertial>,
180 : evolution::dg::subcell::Tags::
181 : ObserverJacobianAndDetInvJacobianCompute<
182 : volume_dim, Frame::ElementLogical, Frame::Inertial>>,
183 : tmpl::list<::Events::Tags::ObserverMeshCompute<volume_dim>,
184 : ::Events::Tags::ObserverInverseJacobianCompute<
185 : volume_dim, Frame::ElementLogical, Frame::Inertial>,
186 : ::Events::Tags::ObserverJacobianCompute<
187 : volume_dim, Frame::ElementLogical, Frame::Inertial>,
188 : ::Events::Tags::ObserverDetInvJacobianCompute<
189 : Frame::ElementLogical, Frame::Inertial>>>,
190 : tmpl::list<analytic_compute, error_compute>>;
191 :
192 : struct factory_creation
193 : : tt::ConformsTo<Options::protocols::FactoryCreation> {
194 0 : using factory_classes = tmpl::map<
195 : tmpl::pair<DenseTrigger, DenseTriggers::standard_dense_triggers>,
196 : tmpl::pair<DomainCreator<volume_dim>, domain_creators<volume_dim>>,
197 : tmpl::pair<Event,
198 : tmpl::flatten<tmpl::list<
199 : Events::Completion,
200 : dg::Events::field_observations<
201 : volume_dim, observe_fields, non_tensor_compute_tags>,
202 : Events::time_events<system>,
203 : dg::Events::ChangeFixedLtsRatio<volume_dim>>>>,
204 : tmpl::pair<evolution::BoundaryCorrection,
205 : ScalarAdvection::BoundaryCorrections::
206 : standard_boundary_corrections<Dim>>,
207 : tmpl::pair<evolution::initial_data::InitialData, initial_data_list>,
208 : tmpl::pair<PhaseChange, PhaseControl::factory_creatable_classes>,
209 : tmpl::pair<ScalarAdvection::BoundaryConditions::BoundaryCondition<Dim>,
210 : ScalarAdvection::BoundaryConditions::
211 : standard_boundary_conditions<Dim>>,
212 : tmpl::pair<StepChooser<StepChooserUse::LtsStep>,
213 : StepChoosers::standard_step_choosers<system>>,
214 : tmpl::pair<StepChooser<StepChooserUse::Slab>,
215 : tmpl::push_back<
216 : StepChoosers::standard_slab_choosers<system>,
217 : evolution::dg::StepChoosers::FixedLtsRatio<volume_dim>>>,
218 : tmpl::pair<TimeSequence<double>,
219 : TimeSequences::all_time_sequences<double>>,
220 : tmpl::pair<TimeSequence<std::uint64_t>,
221 : TimeSequences::all_time_sequences<std::uint64_t>>,
222 : tmpl::pair<TimeStepper, TimeSteppers::time_steppers>,
223 : tmpl::pair<Trigger, tmpl::append<Triggers::logical_triggers,
224 : Triggers::time_triggers>>,
225 : tmpl::pair<Filters::Filter<volume_dim,
226 : typename system::variables_tag::tags_list>,
227 : Filters::all_filters<
228 : volume_dim, typename system::variables_tag::tags_list>>>;
229 : };
230 :
231 : struct SubcellOptions {
232 : static constexpr bool subcell_enabled = use_dg_subcell;
233 : static constexpr bool subcell_enabled_at_external_boundary = false;
234 :
235 : // We send `ghost_zone_size` cell-centered grid points for variable
236 : // reconstruction, of which we need `ghost_zone_size-1` for reconstruction
237 : // to the internal side of the element face, and `ghost_zone_size` for
238 : // reconstruction to the external side of the element face.
239 : template <typename DbTagsList>
240 0 : static constexpr size_t ghost_zone_size(
241 : const db::DataBox<DbTagsList>& box) {
242 : return db::get<ScalarAdvection::fd::Tags::Reconstructor<volume_dim>>(box)
243 : .ghost_zone_size();
244 : }
245 :
246 0 : using DgComputeSubcellNeighborPackagedData =
247 : ScalarAdvection::subcell::NeighborPackagedData;
248 :
249 0 : using GhostVariables = ScalarAdvection::subcell::GhostVariables;
250 : };
251 :
252 0 : using observed_reduction_data_tags =
253 : observers::collect_reduction_data_tags<tmpl::flatten<tmpl::list<
254 : tmpl::at<typename factory_creation::factory_classes, Event>>>>;
255 :
256 0 : using dg_step_actions = tmpl::flatten<tmpl::list<
257 : evolution::dg::Actions::ComputeTimeDerivative<
258 : volume_dim, system, AllStepChoosers, use_dg_element_collection>,
259 : evolution::dg::Actions::ApplyBoundaryCorrectionsToTimeDerivative<
260 : volume_dim, use_dg_element_collection>,
261 : Actions::MutateApply<RecordTimeStepperData<system>>,
262 : evolution::Actions::RunEventsAndDenseTriggers<tmpl::list<
263 : evolution::dg::ApplyLtsDenseBoundaryCorrections<EvolutionMetavars>>>,
264 : Actions::MutateApply<UpdateU<system>>,
265 : evolution::dg::Actions::ApplyLtsBoundaryCorrections<
266 : volume_dim, use_dg_element_collection>,
267 : Actions::MutateApply<ChangeTimeStepperOrder<system>>,
268 : tmpl::conditional_t<use_dg_subcell,
269 : evolution::dg::subcell::Actions::TciAndRollback<
270 : ScalarAdvection::subcell::TciOnDgGrid<Dim>>,
271 : tmpl::list<>>,
272 : Actions::MutateApply<CleanHistory<system>>,
273 : Actions::MutateApply<evolution::dg::CleanMortarHistory<volume_dim>>,
274 : dg::Actions::SpectralFilter<volume_dim,
275 : typename system::variables_tag::tags_list>>>;
276 :
277 0 : using dg_subcell_step_actions = tmpl::flatten<tmpl::list<
278 : evolution::dg::subcell::Actions::SelectNumericalMethod,
279 : Actions::Label<evolution::dg::subcell::Actions::Labels::BeginDg>,
280 : dg_step_actions,
281 : Actions::Goto<evolution::dg::subcell::Actions::Labels::EndOfSolvers>,
282 : Actions::Label<evolution::dg::subcell::Actions::Labels::BeginSubcell>,
283 : // This is just to adjust for FixedLtsRatio, so we
284 : // can pass an empty list of StepChoosers.
285 : Actions::MutateApply<ChangeStepSize<tmpl::list<>>>,
286 : evolution::dg::subcell::Actions::SendDataForReconstruction<
287 : volume_dim, ScalarAdvection::subcell::GhostVariables,
288 : use_dg_element_collection>,
289 : evolution::dg::subcell::Actions::ReceiveDataForReconstruction<volume_dim>,
290 : Actions::Label<
291 : evolution::dg::subcell::Actions::Labels::BeginSubcellAfterDgRollback>,
292 : evolution::dg::subcell::fd::Actions::TakeTimeStep<
293 : ScalarAdvection::subcell::TimeDerivative<volume_dim>>,
294 : Actions::MutateApply<RecordTimeStepperData<system>>,
295 : Actions::MutateApply<UpdateU<system>>,
296 : Actions::MutateApply<CleanHistory<system>>,
297 : Actions::MutateApply<evolution::dg::CleanMortarHistory<volume_dim>>,
298 : evolution::dg::subcell::Actions::TciAndSwitchToDg<
299 : ScalarAdvection::subcell::TciOnFdGrid<volume_dim>>,
300 : Actions::Label<evolution::dg::subcell::Actions::Labels::EndOfSolvers>>>;
301 :
302 0 : using step_actions =
303 : tmpl::conditional_t<use_dg_subcell, dg_subcell_step_actions,
304 : dg_step_actions>;
305 :
306 0 : using const_global_cache_tags =
307 : tmpl::list<evolution::initial_data::Tags::InitialData,
308 : tmpl::conditional_t<
309 : use_dg_subcell,
310 : tmpl::list<ScalarAdvection::fd::Tags::Reconstructor<Dim>,
311 : ScalarAdvection::subcell::Tags::TciOptions>,
312 : tmpl::list<>>>;
313 :
314 0 : using dg_registration_list =
315 : tmpl::list<observers::Actions::RegisterEventsWithObservers>;
316 :
317 0 : using equal_rate_regions = tmpl::flatten<
318 : tmpl::list<evolution::dg::NonconformingEqualRateRegions<volume_dim>,
319 : tmpl::conditional_t<
320 : use_dg_subcell,
321 : evolution::dg::subcell::SubcellEqualRateRegion<volume_dim>,
322 : tmpl::list<>>>>;
323 :
324 0 : using initialization_actions = tmpl::list<
325 : Initialization::Actions::InitializeItems<
326 : Initialization::TimeStepping<EvolutionMetavars, TimeStepper, false,
327 : true>,
328 : evolution::dg::Initialization::Domain<EvolutionMetavars>>,
329 : Initialization::Actions::ConservativeSystem<system>,
330 : Initialization::Actions::InitializeItems<
331 : Initialization::TimeStepperHistory<system>>,
332 :
333 : tmpl::conditional_t<
334 : use_dg_subcell,
335 : tmpl::list<
336 : evolution::dg::subcell::Actions::SetSubcellGrid<volume_dim,
337 : system, false>,
338 : Initialization::Actions::AddSimpleTags<
339 : ScalarAdvection::subcell::VelocityAtFace<volume_dim>>,
340 : evolution::dg::subcell::Actions::SetAndCommunicateInitialRdmpData<
341 : volume_dim,
342 : ScalarAdvection::subcell::SetInitialRdmpData<volume_dim>>,
343 : evolution::dg::subcell::Actions::ComputeAndSendTciOnInitialGrid<
344 : volume_dim, system,
345 : ScalarAdvection::subcell::TciOnFdGrid<volume_dim>>,
346 : evolution::dg::subcell::Actions::SetInitialGridFromTciData<
347 : volume_dim, system>>,
348 : tmpl::list<evolution::Initialization::Actions::SetVariables<
349 : domain::Tags::Coordinates<Dim, Frame::ElementLogical>>>>,
350 :
351 : Initialization::Actions::AddComputeTags<
352 : tmpl::list<ScalarAdvection::Tags::VelocityFieldCompute<Dim>>>,
353 : Initialization::Actions::AddComputeTags<
354 : StepChoosers::step_chooser_compute_tags<EvolutionMetavars>>,
355 : ::evolution::dg::Initialization::Mortars<volume_dim>,
356 : evolution::dg::Initialization::Actions::SetupEqualRateRegions<
357 : EvolutionMetavars, volume_dim, equal_rate_regions>,
358 : evolution::Actions::InitializeRunEventsAndDenseTriggers,
359 : Initialization::Actions::InitializeItems<
360 : evolution::dg::Initialization::SpectralFilters<
361 : volume_dim, typename system::variables_tag::tags_list>>,
362 : Parallel::Actions::TerminatePhase>;
363 :
364 0 : using dg_element_array = DgElementArray<
365 : EvolutionMetavars,
366 : tmpl::list<
367 : Parallel::PhaseActions<Parallel::Phase::Initialization,
368 : initialization_actions>,
369 :
370 : Parallel::PhaseActions<Parallel::Phase::Register,
371 : tmpl::list<dg_registration_list,
372 : Parallel::Actions::TerminatePhase>>,
373 :
374 : Parallel::PhaseActions<Parallel::Phase::Restart,
375 : tmpl::list<dg_registration_list,
376 : Parallel::Actions::TerminatePhase>>,
377 :
378 : Parallel::PhaseActions<
379 : Parallel::Phase::WriteCheckpoint,
380 : tmpl::list<evolution::Actions::RunEventsAndTriggers<
381 : Triggers::WhenToCheck::AtCheckpoints>,
382 : Parallel::Actions::TerminatePhase>>,
383 :
384 : Parallel::PhaseActions<
385 : Parallel::Phase::InitializeTimeStepperHistory,
386 : SelfStart::self_start_procedure<step_actions, system>>,
387 :
388 : Parallel::PhaseActions<
389 : Parallel::Phase::Evolve,
390 : tmpl::flatten<
391 : tmpl::list<evolution::Actions::RunEventsAndTriggers<
392 : Triggers::WhenToCheck::AtSteps>,
393 : evolution::Actions::RunEventsAndTriggers<
394 : Triggers::WhenToCheck::AtSlabs>,
395 : Actions::ChangeSlabSize,
396 : evolution::dg::Actions::ChangeFixedLtsRatio,
397 : step_actions, Actions::MutateApply<AdvanceTime<>>,
398 : PhaseControl::Actions::ExecutePhaseChange>>>>>;
399 :
400 : struct registration
401 : : tt::ConformsTo<Parallel::protocols::RegistrationMetavariables> {
402 0 : using element_registrars =
403 : tmpl::map<tmpl::pair<dg_element_array, dg_registration_list>>;
404 : };
405 :
406 0 : using component_list =
407 : tmpl::list<observers::Observer<EvolutionMetavars>,
408 : observers::ObserverWriter<EvolutionMetavars>,
409 : dg_element_array>;
410 :
411 : static constexpr Options::String help{
412 : "Evolve the scalar advection equation.\n\n"};
413 :
414 : static constexpr std::array<Parallel::Phase, 5> default_phase_order{
415 : {Parallel::Phase::Initialization,
416 : Parallel::Phase::InitializeTimeStepperHistory, Parallel::Phase::Register,
417 : Parallel::Phase::Evolve, Parallel::Phase::Exit}};
418 :
419 : // NOLINTNEXTLINE(google-runtime-references)
420 0 : void pup(PUP::er& /*p*/) {}
421 : };
|