Line data Source code
1 1 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : /// \file 5 : /// Defines DataBox tags for the Poisson system 6 : 7 : #pragma once 8 : 9 : #include <string> 10 : 11 : #include "DataStructures/DataBox/Tag.hpp" 12 : #include "DataStructures/Tensor/TypeAliases.hpp" 13 : 14 : /// \cond 15 : class DataVector; 16 : /// \endcond 17 : 18 : /*! 19 : * \ingroup EllipticSystemsGroup 20 : * \brief Items related to solving a Poisson equation \f$-\Delta u(x)=f(x)\f$. 21 : */ 22 : namespace Poisson { 23 0 : namespace Tags { 24 : 25 : /*! 26 : * \brief The scalar field \f$u(x)\f$ to solve for 27 : */ 28 : template <typename DataType> 29 1 : struct Field : db::SimpleTag { 30 0 : using type = Scalar<DataType>; 31 : }; 32 : 33 : } // namespace Tags 34 : } // namespace Poisson