BoundaryCondition.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <pup.h>
7 
8 #include "Domain/BoundaryConditions/BoundaryCondition.hpp"
9 #include "Domain/BoundaryConditions/Periodic.hpp"
10 #include "Utilities/TMPL.hpp"
11 
12 /// \brief Boundary conditions for the M1Grey radiation transport system
14 
15 /// \cond
16 template <typename NeutrinoSpeciesList>
17 class DirichletAnalytic;
18 /// \endcond
19 
20 /// \brief The base class off of which all boundary conditions must inherit
21 template <typename NeutrinoSpeciesList>
23  public:
24  using creatable_classes =
25  tmpl::list<DirichletAnalytic<NeutrinoSpeciesList>,
28 
29  BoundaryCondition() = default;
30  BoundaryCondition(BoundaryCondition&&) noexcept = default;
31  BoundaryCondition& operator=(BoundaryCondition&&) noexcept = default;
32  BoundaryCondition(const BoundaryCondition&) = default;
33  BoundaryCondition& operator=(const BoundaryCondition&) = default;
34  ~BoundaryCondition() override = default;
35 
36  explicit BoundaryCondition(CkMigrateMessage* const msg) noexcept
38 
39  void pup(PUP::er& p) override {
40  domain::BoundaryConditions::BoundaryCondition::pup(p);
41  }
42 };
43 } // namespace RadiationTransport::M1Grey::BoundaryConditions
domain::BoundaryConditions::BoundaryCondition
Base class from which all system-specific base classes must inherit.
Definition: BoundaryCondition.hpp:18
domain::BoundaryConditions::Periodic
Periodic boundary conditions.
Definition: Periodic.hpp:47
RadiationTransport::M1Grey::BoundaryConditions::BoundaryCondition
The base class off of which all boundary conditions must inherit.
Definition: BoundaryCondition.hpp:22
RadiationTransport::M1Grey::BoundaryConditions
Boundary conditions for the M1Grey radiation transport system.
Definition: BoundaryCondition.hpp:13
TMPL.hpp