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

Generated by: LCOV version 1.14