Skip to content

Commit

Permalink
fix typo in b field init
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWibking committed Oct 10, 2024
1 parent f8e2d0a commit abc14ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inputs/precipitator_mhd_lowres.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dt = 50.0 # time increment between outputs
<parthenon/output2>
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

<parthenon/output3>
Expand Down
2 changes: 1 addition & 1 deletion src/pgen/precipitator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit abc14ad

Please sign in to comment.