diff --git a/inputs/precipitator_mhd_lowres.in b/inputs/precipitator_mhd_lowres.in index 023d3a8c..250eeeac 100644 --- a/inputs/precipitator_mhd_lowres.in +++ b/inputs/precipitator_mhd_lowres.in @@ -11,7 +11,7 @@ dt = 50.0 # time increment between outputs file_type = hdf5 # HDF5 data dump variables = prim, drho_over_rho, dP_over_P, dK_over_K, dT_over_T, entropy, temperature, tcool_over_tff, dv_x, dv_y, dv_z -dt = 500.0 # Time increment between outputs +dt = 50.0 # Time increment between outputs id = prim # Name to append to output diff --git a/src/pgen/precipitator.cpp b/src/pgen/precipitator.cpp index 1bbc20d2..6deab6ed 100644 --- a/src/pgen/precipitator.cpp +++ b/src/pgen/precipitator.cpp @@ -1078,7 +1078,7 @@ void ProblemGenerator(MeshBlock *pmb, parthenon::ParameterInput *pin) { u_dev(IM2, k, j, i) = 0.0; u_dev(IM3, k, j, i) = 0.0; u_dev(IEN, k, j, i) = P / gm1; - u_dev(IB1, k, j, k) = Bx; + u_dev(IB1, k, j, i) = Bx; u_dev(IB2, k, j, i) = By; u_dev(IB3, k, j, i) = Bz; });