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