Skip to content

Commit

Permalink
fix case-opt
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisZYJ committed Oct 29, 2024
1 parent 0b8e68b commit eae5954
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/simulation/m_mpi_proxy.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ contains
#:endfor
end if
#:for VAR in [ 'dt','weno_eps','wenoz_q','teno_CT','pref','rhoref','R0ref','Web','Ca', 'sigma', &
#:for VAR in [ 'dt','weno_eps','teno_CT','pref','rhoref','R0ref','Web','Ca', 'sigma', &
& 'Re_inv', 'poly_sigma', 'palpha_eps', 'ptgalpha_eps', 'pi_fac', &
& 'bc_x%vb1','bc_x%vb2','bc_x%vb3','bc_x%ve1','bc_x%ve2','bc_x%ve2', &
& 'bc_y%vb1','bc_y%vb2','bc_y%vb3','bc_y%ve1','bc_y%ve2','bc_y%ve3', &
Expand All @@ -230,6 +230,7 @@ contains
call MPI_BCAST(weno_order, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
call MPI_BCAST(nb, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
call MPI_BCAST(num_fluids, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
call MPI_BCAST(wenoz_q, 1, MPI_DOUBLE_PRECISION, 0, MPI_COMM_WORLD, ierr)
#:endif
do i = 1, num_fluids_max
Expand Down
4 changes: 2 additions & 2 deletions toolchain/mfc/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def __get_sim_fpp(self, print: bool) -> str:
else:
weno_num_stencils = weno_polyn

# Throw error if wenoz_q or teno_CT are required but not set
# Throw error if wenoz_q is required but not set
return f"""\
#:set MFC_CASE_OPTIMIZATION = {ARG("case_optimization")}
#:set weno_order = {weno_order}
Expand All @@ -213,7 +213,7 @@ def __get_sim_fpp(self, print: bool) -> str:
#:set mapped_weno = {mapped_weno}
#:set wenoz = {wenoz}
#:set teno = {teno}
#:set wenoz_q = {int(self.params.get("wenoz_q", -1))}
#:set wenoz_q = {self.params.get("wenoz_q", -1)}
"""

return """\
Expand Down

0 comments on commit eae5954

Please sign in to comment.