SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/NewtonianEuler/BoundaryCorrections - BoundaryCorrection.hpp Hit Total Coverage
Commit: edb1b5199a4a86c269aedbb831767801169f3e8a Lines: 2 11 18.2 %
Date: 2021-04-19 16:23:01
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 "Parallel/CharmPupable.hpp"
      10             : #include "Utilities/TMPL.hpp"
      11             : 
      12             : /// Boundary corrections/numerical fluxes
      13           1 : namespace NewtonianEuler::BoundaryCorrections {
      14             : /// \cond
      15             : template <size_t Dim>
      16             : class Hll;
      17             : template <size_t Dim>
      18             : class Rusanov;
      19             : /// \endcond
      20             : 
      21             : /*!
      22             :  * \brief The base class used to create boundary corrections from input files
      23             :  * and store them in the global cache.
      24             :  */
      25             : template <size_t Dim>
      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) noexcept
      37             :       : PUP::able(msg) {}
      38             :   WRAPPED_PUPable_abstract(BoundaryCorrection<Dim>);  // NOLINT
      39             :   /// \endcond
      40             : 
      41           0 :   using creatable_classes = tmpl::list<Hll<Dim>, Rusanov<Dim>>;
      42             : 
      43           0 :   virtual std::unique_ptr<BoundaryCorrection<Dim>> get_clone()
      44             :       const noexcept = 0;
      45             : };
      46             : }  // namespace NewtonianEuler::BoundaryCorrections

Generated by: LCOV version 1.14