SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/ScalarAdvection - System.hpp Hit Total Coverage
Commit: d0fc80462417e83e5cddfa1b9901bb4a9b6af4d6 Lines: 0 12 0.0 %
Date: 2024-03-29 00:33: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             : 
       8             : #include "DataStructures/VariablesTag.hpp"
       9             : #include "Evolution/Systems/ScalarAdvection/BoundaryConditions/BoundaryCondition.hpp"
      10             : #include "Evolution/Systems/ScalarAdvection/BoundaryCorrections/BoundaryCorrection.hpp"
      11             : #include "Evolution/Systems/ScalarAdvection/Characteristics.hpp"
      12             : #include "Evolution/Systems/ScalarAdvection/Tags.hpp"
      13             : #include "Evolution/Systems/ScalarAdvection/TimeDerivativeTerms.hpp"
      14             : #include "Utilities/TMPL.hpp"
      15             : 
      16             : /*!
      17             :  * \ingroup EvolutionSystemsGroup
      18             :  * \brief Items related to evolving the scalar advection equation.
      19             :  *
      20             :  * \f{align*}
      21             :  * \partial_t U + \nabla \cdot (v U) = 0
      22             :  * \f}
      23             :  *
      24             :  * Since the ScalarAdvection system is only used for testing limiters in the
      25             :  * current implementation, the velocity field \f$v\f$ is fixed throughout time.
      26             :  */
      27             : namespace ScalarAdvection {
      28             : template <size_t Dim>
      29           0 : struct System {
      30           0 :   static constexpr bool is_in_flux_conservative_form = true;
      31           0 :   static constexpr bool has_primitive_and_conservative_vars = false;
      32           0 :   static constexpr size_t volume_dim = Dim;
      33             : 
      34           0 :   using boundary_conditions_base = BoundaryConditions::BoundaryCondition<Dim>;
      35           0 :   using boundary_correction_base = BoundaryCorrections::BoundaryCorrection<Dim>;
      36             : 
      37           0 :   using variables_tag = ::Tags::Variables<tmpl::list<Tags::U>>;
      38           0 :   using flux_variables = tmpl::list<Tags::U>;
      39           0 :   using gradient_variables = tmpl::list<>;
      40             : 
      41           0 :   using compute_volume_time_derivative_terms = TimeDerivativeTerms<Dim>;
      42             : 
      43           0 :   using compute_largest_characteristic_speed =
      44             :       Tags::LargestCharacteristicSpeedCompute<Dim>;
      45             : };
      46             : }  // namespace ScalarAdvection

Generated by: LCOV version 1.14