Skip to content

Commit

Permalink
Merge branch 'main' into cleanup_restart
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnonaka committed Feb 14, 2025
2 parents 3150717 + f0c127d commit 7bd0577
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src_compressible/main_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,13 @@ void main_driver(const char* argv)

MultiFab surfcov;
MultiFab dNadsdes;
MultiFab dNads;
MultiFab dNdes;
if (n_ads_spec>0) {
surfcov.define(ba,dmap,n_ads_spec,ngc);
dNadsdes.define(ba,dmap,n_ads_spec,ngc);
dNads.define(ba,dmap,n_ads_spec,ngc);
dNdes.define(ba,dmap,n_ads_spec,ngc);
}

//statistics
Expand Down Expand Up @@ -564,7 +568,7 @@ void main_driver(const char* argv)
#ifdef MUI
mui_push(cu, prim, dx, uniface, step);
#endif
if (n_ads_spec>0) sample_MFsurfchem(cu, prim, surfcov, dNadsdes, geom, dt);
if (n_ads_spec>0) sample_MFsurfchem(cu, prim, surfcov, dNadsdes, dNads, dNdes, geom, dt);

// FHD
RK3step(cu, cup, cup2, cup3, prim, source, eta, zeta, kappa, chi, D, flux,
Expand All @@ -583,7 +587,7 @@ void main_driver(const char* argv)
#endif
if (n_ads_spec>0) {

update_MFsurfchem(cu, prim, surfcov, dNadsdes, geom);
update_MFsurfchem(cu, prim, surfcov, dNadsdes, dNads, dNdes, geom);

conservedToPrimitive(prim, cu);

Expand Down

0 comments on commit 7bd0577

Please sign in to comment.