|
|
using | equation_of_state_type = EquationsOfState::EquationOfState< true, ThermodynamicDim > |
| |
|
template<typename DataType > |
| using | tags = tmpl::append< tmpl::list< gr::Tags::SpatialMetric< DataType, 3 >, gr::Tags::ExtrinsicCurvature< DataType, 3 >, gr::Tags::Lapse< DataType >, gr::Tags::Shift< DataType, 3 > >, hydro::grmhd_tags< DataType > > |
| |
|
using | options = tmpl::list< DataDirectory, hydro::OptionTags::InitialDataEquationOfState< true, ThermodynamicDim >, DensityCutoff, AtmosphereDensity, ElectronFraction > |
| |
|
template<typename DataType > |
| using | tags = tmpl::push_back< typename gr::AnalyticSolution< 3 >::template tags< DataType >, hydro::Tags::RestMassDensity< DataType >, hydro::Tags::ElectronFraction< DataType >, hydro::Tags::SpecificInternalEnergy< DataType >, hydro::Tags::Temperature< DataType >, hydro::Tags::Pressure< DataType >, hydro::Tags::SpatialVelocity< DataType, 3 >, hydro::Tags::MagneticField< DataType, 3 >, hydro::Tags::DivergenceCleaningField< DataType >, hydro::Tags::LorentzFactor< DataType >, hydro::Tags::SpecificEnthalpy< DataType > > |
| |
template<size_t ThermodynamicDim>
class grmhd::AnalyticData::SpecInitialData< ThermodynamicDim >
Hydro initial data generated by SpEC.
This class loads numerical data written out by the SpEC initial data solver. It uses the spec::Exporter linked in from SpEC to interpolate to arbitrary grid points. The coordinates are assumed to be in SpEC's "grid" frame. We interpolate the following quantities:
- "g": spatial metric
- "K": (lower) extrinsic curvature
- "Lapse": lapse
- "Shift": (upper) shift
- "BaryonDensity": rest mass density
- "u_i": lower spatial four-velocity
The remaining hydro quantities are computed from the interpolated data and the equation of state. The magnetic field is set to zero and the electron fraction is set to a constant read from the input file.