NumericInitialData.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include "Evolution/Protocols.hpp"
7 #include "Utilities/ProtocolHelpers.hpp"
8 
9 namespace evolution {
10 
11 /*!
12  * \brief Provides compile-time information to import numeric initial data for
13  * the given `System` from a volume data file.
14  */
15 template <typename System>
16 struct NumericInitialData : tt::ConformsTo<protocols::NumericInitialData> {
17  using import_fields =
18  db::get_variables_tags_list<typename System::variables_tag>;
19 };
20 
21 } // namespace evolution
evolution::NumericInitialData
Provides compile-time information to import numeric initial data for the given System from a volume d...
Definition: NumericInitialData.hpp:16
evolution
Functionality for evolving hyperbolic partial differential equations.
Definition: AddMeshVelocityNonconservative.hpp:29
tt::ConformsTo
Indicate a class conforms to the Protocol.
Definition: ProtocolHelpers.hpp:22