SpECTRE Documentation Coverage Report
Current view: top level - Evolution/DgSubcell/Tags - DidRollback.hpp Coverage Total Hit
Commit: 0d1d717af84a81fb1284a20c4013708fe85cc2f0 Lines: 33.3 % 3 1
Test Date: 2026-10-22 17:29:42
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/Tag.hpp"
       7              : 
       8              : namespace evolution::dg::subcell::Tags {
       9              : /// \brief Tag indicating whether we are retrying a step after a rollback of a
      10              : /// failed DG step
      11              : ///
      12              : /// Set to `true` by the DG scheme when the predicted step failed and a rollback
      13              : /// is performed. The subcell solver checks the tag, and uses the DG boundary
      14              : /// data if a rollback occurred in order to maintain conservation. The subcell
      15              : /// solver then sets `DidRollback` to `false`.
      16            1 : struct DidRollback : db::SimpleTag {
      17            0 :   using type = bool;
      18              : };
      19              : }  // namespace evolution::dg::subcell::Tags
        

Generated by: LCOV version 2.0-1