From 5de7c8b1c54df99587f3a2e923e99b8db7a16f9f Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Wed, 14 Aug 2024 13:35:23 -0400 Subject: [PATCH] Add option for higher dimension EOSes to Spec initial data --- src/PointwiseFunctions/AnalyticData/GrMhd/SpecInitialData.hpp | 4 ++++ .../GrMhd/GhValenciaDivClean/BinaryNeutronStar.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/PointwiseFunctions/AnalyticData/GrMhd/SpecInitialData.hpp b/src/PointwiseFunctions/AnalyticData/GrMhd/SpecInitialData.hpp index 61630a7a25bb..c5a4af5f4578 100644 --- a/src/PointwiseFunctions/AnalyticData/GrMhd/SpecInitialData.hpp +++ b/src/PointwiseFunctions/AnalyticData/GrMhd/SpecInitialData.hpp @@ -65,6 +65,10 @@ class SpecInitialData : public evolution::initial_data::InitialData, gr::Tags::Lapse, gr::Tags::Shift>, hydro::grmhd_tags>; + static std::string name() { + return "SpecInitialData" + std::to_string(ThermodynamicDim) + "dEos"; + } + struct DataDirectory { using type = std::string; static constexpr Options::String help = { diff --git a/tests/InputFiles/GrMhd/GhValenciaDivClean/BinaryNeutronStar.yaml b/tests/InputFiles/GrMhd/GhValenciaDivClean/BinaryNeutronStar.yaml index b2e0ad275e5e..6270df7fdc29 100644 --- a/tests/InputFiles/GrMhd/GhValenciaDivClean/BinaryNeutronStar.yaml +++ b/tests/InputFiles/GrMhd/GhValenciaDivClean/BinaryNeutronStar.yaml @@ -415,7 +415,7 @@ ControlSystems: ControlError: InitialData: - # SpecInitialData: + # SpecInitialData3dEos: # DataDirectory: "/path/to/EvID" # EquationOfState: *eos # DensityCutoff: *AtmosphereDensityCutoff