SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/Burgers - System.hpp Hit Total Coverage
Commit: 9e4176f904ee1c51f05efc42ff1e485357699444 Lines: 0 12 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             : 
       8             : #include "DataStructures/VariablesTag.hpp"
       9             : #include "Evolution/Systems/Burgers/BoundaryConditions/BoundaryCondition.hpp"
      10             : #include "Evolution/Systems/Burgers/BoundaryCorrections/BoundaryCorrection.hpp"
      11             : #include "Evolution/Systems/Burgers/Characteristics.hpp"
      12             : #include "Evolution/Systems/Burgers/Tags.hpp"  // IWYU pragma: keep
      13             : #include "Evolution/Systems/Burgers/TimeDerivativeTerms.hpp"
      14             : #include "Utilities/TMPL.hpp"
      15             : 
      16             : /// \ingroup EvolutionSystemsGroup
      17             : /// \brief Items related to evolving the %Burgers equation
      18             : /// \f$0 = \partial_t U + \partial_x\left(U^2/2\right)\f$.
      19             : ///
      20             : /// \note For this definition (i.e., with the factor of one half in the flux)
      21             : /// of the Burgers system, the local characteristic speed is \f$U\f$.
      22             : namespace Burgers {
      23           0 : struct System {
      24           0 :   static constexpr bool is_in_flux_conservative_form = true;
      25           0 :   static constexpr bool has_primitive_and_conservative_vars = false;
      26           0 :   static constexpr size_t volume_dim = 1;
      27             : 
      28           0 :   using boundary_conditions_base = BoundaryConditions::BoundaryCondition;
      29           0 :   using boundary_correction_base = BoundaryCorrections::BoundaryCorrection;
      30             : 
      31           0 :   using variables_tag = ::Tags::Variables<tmpl::list<Tags::U>>;
      32           0 :   using flux_variables = tmpl::list<Tags::U>;
      33           0 :   using gradient_variables = tmpl::list<>;
      34             : 
      35           0 :   using compute_volume_time_derivative_terms = TimeDerivativeTerms;
      36             : 
      37           0 :   using compute_largest_characteristic_speed =
      38             :       Tags::ComputeLargestCharacteristicSpeed;
      39             : };
      40             : }  // namespace Burgers

Generated by: LCOV version 1.14