SpECTRE Documentation Coverage Report
Current view: top level - Evolution/DgSubcell/Tags - DidRollback.hpp Hit Total Coverage
Commit: 52f20d7d69c179a8fabd675cc9d8c5355c7d621c Lines: 1 3 33.3 %
Date: 2024-04-17 15:32:38
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 1.14