Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #include "DataStructures/VariablesTag.hpp" 7 : #include "Evolution/Systems/Ccz4/FiniteDifference/System.hpp" 8 : #include "Utilities/TMPL.hpp" 9 : 10 : /// \cond 11 : class DataVector; 12 : template <typename T> 13 : class Variables; 14 : /// \endcond 15 : 16 : namespace Ccz4::fd { 17 : /*! 18 : * \brief Get the Ccz4 evolution variables for ghost 19 : * 20 : * This mutator is passed to 21 : * `evolution::dg::subcell::Actions::SendDataForReconstruction`. 22 : */ 23 1 : class GhostVariables { 24 : public: 25 0 : using ghost_variables_tag_list = Ccz4::fd::System::variables_tag_list; 26 0 : using return_tags = tmpl::list<>; 27 0 : using argument_tags = 28 : tmpl::list<::Tags::Variables<Ccz4::fd::System::variables_tag_list>>; 29 : 30 0 : static DataVector apply( 31 : const Variables<Ccz4::fd::System::variables_tag_list>& evolved_vars, 32 : size_t rdmp_size); 33 : }; 34 : } // namespace Ccz4::fd