Skip to content
Snippets Groups Projects
Commit 0e39f70c authored by lhausamm's avatar lhausamm
Browse files

Update testReading with grackle modifications

parent 02324c88
No related branches found
No related tags found
1 merge request!486Add chemistry in part
......@@ -42,8 +42,8 @@ int main() {
const double boxSize = 1.;
const size_t L = 4;
const double rho = 2.;
#ifdef COOLING_GRACKLE
const float He_density = rho * 0.24;
#ifdef CHEMISTRY_GRACKLE
const float he_density = rho * 0.24;
#endif
/* Read data */
......@@ -96,8 +96,8 @@ int main() {
assert(parts[n].a_hydro[1] == 0.);
assert(parts[n].a_hydro[2] == 0.);
#ifdef COOLING_GRACKLE
assert(parts[n].cooling_data.He_density == He_density);
#ifdef CHEMISTRY_GRACKLE
assert(parts[n].chemistry_data.he_density == he_density);
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment