SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/Burgers - Fluxes.hpp Hit Total Coverage
Commit: 3c2e9d3ed337bca2146eee9de07432e292a38c3a Lines: 1 5 20.0 %
Date: 2024-06-11 22:56:19
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 "DataStructures/DataBox/Prefixes.hpp"  // IWYU pragma: keep
       7             : #include "DataStructures/Tensor/TypeAliases.hpp"
       8             : #include "Utilities/TMPL.hpp"
       9             : 
      10             : /// \cond
      11             : class DataVector;
      12             : // IWYU pragma: no_forward_declare Tensor
      13             : namespace Burgers {
      14             : namespace Tags {
      15             : struct U;
      16             : }  // namespace Tags
      17             : }  // namespace Burgers
      18             : namespace gsl {
      19             : template <typename T>
      20             : class not_null;
      21             : }  // namespace gsl
      22             : /// \endcond
      23             : 
      24             : namespace Burgers {
      25             : /// The flux of \f$U\f$ is \f$\frac{1}{2} U^2\f$.
      26           1 : struct Fluxes {
      27           0 :   using argument_tags = tmpl::list<Tags::U>;
      28           0 :   using return_tags =
      29             :       tmpl::list<::Tags::Flux<Tags::U, tmpl::size_t<1>, Frame::Inertial>>;
      30           0 :   static void apply(gsl::not_null<tnsr::I<DataVector, 1>*> flux,
      31             :                     const Scalar<DataVector>& u);
      32             : };
      33             : }  // namespace Burgers

Generated by: LCOV version 1.14