SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/GeneralizedHarmonic/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 <cstddef>
       7             : #include <memory>
       8             : #include <pup.h>
       9             : 
      10             : #include "Parallel/CharmPupable.hpp"
      11             : #include "Utilities/TMPL.hpp"
      12             : 
      13             : /// Boundary corrections/numerical fluxes
      14           1 : namespace GeneralizedHarmonic::BoundaryCorrections {
      15             : /// \cond
      16             : template <size_t Dim>
      17             : class UpwindPenalty;
      18             : /// \endcond
      19             : 
      20             : /*!
      21             :  * \brief The base class used to make boundary corrections factory createable so
      22             :  * they can be specified in the input file.
      23             :  */
      24             : template <size_t Dim>
      25           1 : class BoundaryCorrection : public PUP::able {
      26             :  public:
      27           0 :   BoundaryCorrection() = default;
      28           0 :   BoundaryCorrection(const BoundaryCorrection&) = default;
      29           0 :   BoundaryCorrection& operator=(const BoundaryCorrection&) = default;
      30           0 :   BoundaryCorrection(BoundaryCorrection&&) = default;
      31           0 :   BoundaryCorrection& operator=(BoundaryCorrection&&) = default;
      32           0 :   ~BoundaryCorrection() override = default;
      33             : 
      34             :   /// \cond
      35             :   explicit BoundaryCorrection(CkMigrateMessage* msg) noexcept
      36             :       : PUP::able(msg) {}
      37             :   WRAPPED_PUPable_abstract(BoundaryCorrection<Dim>);  // NOLINT
      38             :   /// \endcond
      39             : 
      40           0 :   using creatable_classes = tmpl::list<UpwindPenalty<Dim>>;
      41             : 
      42           0 :   virtual std::unique_ptr<BoundaryCorrection<Dim>> get_clone()
      43             :       const noexcept = 0;
      44             : };
      45             : }  // namespace GeneralizedHarmonic::BoundaryCorrections

Generated by: LCOV version 1.14