SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/RadiationTransport/M1Grey/BoundaryCorrections - BoundaryCorrection.hpp Hit Total Coverage
Commit: 990bc653376fc4a4068db06123ec02659d814816 Lines: 2 11 18.2 %
Date: 2021-05-16 17:17:32
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 RadiationTransport::M1Grey::BoundaryCorrections {
      14             : /// \cond
      15             : template <typename NeutrinoSpeciesList>
      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 <typename NeutrinoSpeciesList>
      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) noexcept
      35             :       : PUP::able(msg) {}
      36             :   WRAPPED_PUPable_abstract(BoundaryCorrection<NeutrinoSpeciesList>);  // NOLINT
      37             :   /// \endcond
      38             : 
      39           0 :   using creatable_classes = tmpl::list<Rusanov<NeutrinoSpeciesList>>;
      40             : 
      41           0 :   virtual std::unique_ptr<BoundaryCorrection<NeutrinoSpeciesList>> get_clone()
      42             :       const noexcept = 0;
      43             : };
      44             : }  // namespace RadiationTransport::M1Grey::BoundaryCorrections

Generated by: LCOV version 1.14