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 return_tags = tmpl::list<>; 26 0 : using argument_tags = 27 : tmpl::list<::Tags::Variables<Ccz4::fd::System::variables_tag_list>>; 28 : 29 0 : static DataVector apply( 30 : const Variables<Ccz4::fd::System::variables_tag_list>& evolved_vars, 31 : size_t rdmp_size); 32 : }; 33 : } // namespace Ccz4::fd