Line data Source code
1 0 : // 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 : 10 : namespace gh { 11 : /// \brief Boundary conditions for the generalized harmonic system 12 : namespace BoundaryConditions { 13 : /// \brief The base class off of which all boundary conditions must inherit 14 : template <size_t Dim> 15 1 : class BoundaryCondition : public domain::BoundaryConditions::BoundaryCondition { 16 : public: 17 0 : BoundaryCondition() = default; 18 0 : BoundaryCondition(BoundaryCondition&&) = default; 19 0 : BoundaryCondition& operator=(BoundaryCondition&&) = default; 20 0 : BoundaryCondition(const BoundaryCondition&) = default; 21 0 : BoundaryCondition& operator=(const BoundaryCondition&) = default; 22 0 : ~BoundaryCondition() override = default; 23 0 : explicit BoundaryCondition(CkMigrateMessage* msg); 24 : 25 0 : void pup(PUP::er& p) override; 26 : }; 27 : } // namespace BoundaryConditions 28 : } // namespace gh