SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/Burgers/BoundaryCorrections - BoundaryCorrection.hpp Hit Total Coverage
Commit: edb1b5199a4a86c269aedbb831767801169f3e8a Lines: 2 12 16.7 %
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 Burgers::BoundaryCorrections {
      14             : /// \cond
      15             : class Hll;
      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           1 : class BoundaryCorrection : public PUP::able {
      24             :  public:
      25           0 :   BoundaryCorrection() = default;
      26           0 :   BoundaryCorrection(const BoundaryCorrection&) = default;
      27           0 :   BoundaryCorrection& operator=(const BoundaryCorrection&) = default;
      28           0 :   BoundaryCorrection(BoundaryCorrection&&) = default;
      29           0 :   BoundaryCorrection& operator=(BoundaryCorrection&&) = default;
      30           0 :   ~BoundaryCorrection() override = default;
      31             : 
      32           0 :   explicit BoundaryCorrection(CkMigrateMessage* msg) noexcept
      33             :       : PUP::able(msg) {}
      34             : 
      35             :   /// \cond
      36             :   WRAPPED_PUPable_abstract(BoundaryCorrection);  // NOLINT
      37             :   /// \endcond
      38             : 
      39           0 :   using creatable_classes = tmpl::list<Hll, Rusanov>;
      40             : 
      41           0 :   virtual std::unique_ptr<BoundaryCorrection> get_clone() const noexcept = 0;
      42             : };
      43             : }  // namespace Burgers::BoundaryCorrections

Generated by: LCOV version 1.14