SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/ForceFree/BoundaryCorrections - BoundaryCorrection.hpp Hit Total Coverage
Commit: 9a905b0737f373631c1b8e8389b8f26e67fa5313 Lines: 2 11 18.2 %
Date: 2024-03-28 09:03:18
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 <memory>
       7             : #include <pup.h>
       8             : 
       9             : #include "Utilities/Serialization/CharmPupable.hpp"
      10             : #include "Utilities/TMPL.hpp"
      11             : 
      12             : namespace ForceFree {
      13             : /*!
      14             :  * \brief Boundary corrections/numerical fluxes for the GRFFE sytem.
      15             :  */
      16           1 : namespace BoundaryCorrections {
      17             : 
      18             : /// \cond
      19             : class Rusanov;
      20             : /// \endcond
      21             : 
      22             : /*!
      23             :  * \brief The base class used to create boundary corrections from input files
      24             :  * and store them in the global cache.
      25             :  */
      26           1 : class BoundaryCorrection : public PUP::able {
      27             :  public:
      28           0 :   BoundaryCorrection() = default;
      29           0 :   BoundaryCorrection(const BoundaryCorrection&) = default;
      30           0 :   BoundaryCorrection& operator=(const BoundaryCorrection&) = default;
      31           0 :   BoundaryCorrection(BoundaryCorrection&&) = default;
      32           0 :   BoundaryCorrection& operator=(BoundaryCorrection&&) = default;
      33           0 :   ~BoundaryCorrection() override = default;
      34             : 
      35             :   /// \cond
      36             :   explicit BoundaryCorrection(CkMigrateMessage* msg) : PUP::able(msg) {}
      37             :   WRAPPED_PUPable_abstract(BoundaryCorrection);  // NOLINT
      38             :   /// \endcond
      39             : 
      40           0 :   using creatable_classes = tmpl::list<Rusanov>;
      41             : 
      42           0 :   virtual std::unique_ptr<BoundaryCorrection> get_clone() const = 0;
      43             : };
      44             : }  // namespace BoundaryCorrections
      45             : }  // namespace ForceFree

Generated by: LCOV version 1.14