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 /// \cond
14 template <size_t Dim>
15 class ConstraintPreservingBjorhus;
16 template <size_t Dim>
17 class DirichletAnalytic;
18 template <size_t Dim>
19 class Outflow;
20 } // namespace GeneralizedHarmonic::BoundaryConditions
21 /// \endcond
22 
23 /// \brief Boundary conditions for the generalized harmonic system
25 /// \brief The base class off of which all boundary conditions must inherit
26 template <size_t Dim>
28  public:
29  using creatable_classes =
30  tmpl::list<ConstraintPreservingBjorhus<Dim>, DirichletAnalytic<Dim>,
33 
34  BoundaryCondition() = default;
35  BoundaryCondition(BoundaryCondition&&) noexcept = default;
36  BoundaryCondition& operator=(BoundaryCondition&&) noexcept = default;
37  BoundaryCondition(const BoundaryCondition&) = default;
38  BoundaryCondition& operator=(const BoundaryCondition&) = default;
39  ~BoundaryCondition() override = default;
40  explicit BoundaryCondition(CkMigrateMessage* msg) noexcept;
41 
42  void pup(PUP::er& p) override;
43 };
44 } // namespace GeneralizedHarmonic::BoundaryConditions
domain::BoundaryConditions::BoundaryCondition
Base class from which all system-specific base classes must inherit.
Definition: BoundaryCondition.hpp:18
GeneralizedHarmonic::BoundaryConditions
Boundary conditions for the generalized harmonic system.
Definition: Bjorhus.hpp:38
domain::BoundaryConditions::Periodic
Periodic boundary conditions.
Definition: Periodic.hpp:47
GeneralizedHarmonic::BoundaryConditions::Outflow
A BoundaryCondition that only verifies that all characteristic speeds are directed out of the domain;...
Definition: Outflow.hpp:30
GeneralizedHarmonic::BoundaryConditions::DirichletAnalytic
Sets Dirichlet boundary conditions using the analytic solution or analytic data.
Definition: DirichletAnalytic.hpp:42
GeneralizedHarmonic::BoundaryConditions::BoundaryCondition
The base class off of which all boundary conditions must inherit.
Definition: BoundaryCondition.hpp:27
TMPL.hpp