Skip to content

Commit

Permalink
do_2D mode structure factors at least runs now...
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnonaka committed Jan 27, 2025
1 parent 17ddf08 commit de2bff2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src_compressible_stag/main_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,9 @@ void main_driver(const char* argv)
if ((do_1D==0) and (do_2D==0)) {
structFactPrim.define(ba,dmap,prim_var_names,var_scaling_prim);
structFactCons.define(ba,dmap,cons_var_names,var_scaling_cons);
}

if (do_1D==0) {
structFactConsMF.define(ba,dmap,structVarsCons,0);
structFactPrimMF.define(ba,dmap,structVarsPrim,0);
}
Expand Down Expand Up @@ -1438,7 +1441,7 @@ void main_driver(const char* argv)
}

if (do_2D) {

MultiFab prim_mag, prim_realimag, cons_mag, cons_realimag;

prim_mag.define(ba_flat,dmap_flat,structFactPrimArray[0].get_ncov(),0);
Expand Down

0 comments on commit de2bff2

Please sign in to comment.