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 class DirichletAnalytic;
15 class Outflow;
16 } // namespace grmhd::ValenciaDivClean::BoundaryConditions
17 /// \endcond
18 
19 /// \brief Boundary conditions for the GRMHD Valencia Divergence Cleaning system
21 /// \brief The base class off of which all boundary conditions must inherit
23  public:
24  using creatable_classes =
25  tmpl::list<DirichletAnalytic, Outflow,
27 
28  BoundaryCondition() = default;
29  BoundaryCondition(BoundaryCondition&&) noexcept = default;
30  BoundaryCondition& operator=(BoundaryCondition&&) noexcept = default;
31  BoundaryCondition(const BoundaryCondition&) = default;
32  BoundaryCondition& operator=(const BoundaryCondition&) = default;
33  ~BoundaryCondition() override = default;
34  explicit BoundaryCondition(CkMigrateMessage* msg) noexcept;
35 
36  void pup(PUP::er& p) override;
37 };
38 } // namespace grmhd::ValenciaDivClean::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
grmhd::ValenciaDivClean::BoundaryConditions::DirichletAnalytic
Sets Dirichlet boundary conditions using the analytic solution or analytic data.
Definition: DirichletAnalytic.hpp:42
grmhd::ValenciaDivClean::BoundaryConditions::BoundaryCondition
The base class off of which all boundary conditions must inherit.
Definition: BoundaryCondition.hpp:22
TMPL.hpp
grmhd::ValenciaDivClean::BoundaryConditions
Boundary conditions for the GRMHD Valencia Divergence Cleaning system.
Definition: BoundaryCondition.hpp:20
grmhd::ValenciaDivClean::BoundaryConditions::Outflow
A BoundaryCondition that only verifies that all characteristic speeds are directed out of the domain;...
Definition: Outflow.hpp:27