Skip to content

Commit

Permalink
Add option for higher dimension EOSes to Spec initial data
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrandrsn committed Aug 14, 2024
1 parent e57053b commit 5de7c8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/PointwiseFunctions/AnalyticData/GrMhd/SpecInitialData.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ class SpecInitialData : public evolution::initial_data::InitialData,
gr::Tags::Lapse<DataType>, gr::Tags::Shift<DataType, 3>>,
hydro::grmhd_tags<DataType>>;

static std::string name() {
return "SpecInitialData" + std::to_string(ThermodynamicDim) + "dEos";
}

struct DataDirectory {
using type = std::string;
static constexpr Options::String help = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ ControlSystems:
ControlError:

InitialData:
# SpecInitialData:
# SpecInitialData3dEos:
# DataDirectory: "/path/to/EvID"
# EquationOfState: *eos
# DensityCutoff: *AtmosphereDensityCutoff
Expand Down

0 comments on commit 5de7c8b

Please sign in to comment.