Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/common/m_boundary_common.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ contains
call s_dirichlet(q_prim_vf, 1, -1, k, l)
end select

if (qbmm .and. (.not. polytropic) .and. &
if (qbmm .and. (.not. polytropic) .and. present(pb_in) .and. present(mv_in) .and. &
(bc_type(1, 1)%sf(0, k, l) <= BC_GHOST_EXTRAP)) then
call s_qbmm_extrapolation(1, -1, k, l, pb_in, mv_in)
end if
Expand Down Expand Up @@ -146,7 +146,7 @@ contains
call s_dirichlet(q_prim_vf, 1, 1, k, l)
end select

if (qbmm .and. (.not. polytropic) .and. &
if (qbmm .and. (.not. polytropic) .and. present(pb_in) .and. present(mv_in) .and. &
(bc_type(1, 2)%sf(0, k, l) <= BC_GHOST_EXTRAP)) then
call s_qbmm_extrapolation(1, 1, k, l, pb_in, mv_in)
end if
Expand Down Expand Up @@ -184,7 +184,7 @@ contains
call s_dirichlet(q_prim_vf, 2, -1, k, l)
end select

if (qbmm .and. (.not. polytropic) .and. &
if (qbmm .and. (.not. polytropic) .and. present(pb_in) .and. present(mv_in) .and. &
(bc_type(2, 1)%sf(k, 0, l) <= BC_GHOST_EXTRAP) .and. &
(bc_type(2, 1)%sf(k, 0, l) /= BC_AXIS)) then
call s_qbmm_extrapolation(2, -1, k, l, pb_in, mv_in)
Expand Down Expand Up @@ -215,7 +215,7 @@ contains
call s_dirichlet(q_prim_vf, 2, 1, k, l)
end select

if (qbmm .and. (.not. polytropic) .and. &
if (qbmm .and. (.not. polytropic) .and. present(pb_in) .and. present(mv_in) .and. &
(bc_type(2, 2)%sf(k, 0, l) <= BC_GHOST_EXTRAP)) then
call s_qbmm_extrapolation(2, 1, k, l, pb_in, mv_in)
end if
Expand Down Expand Up @@ -253,7 +253,7 @@ contains
call s_dirichlet(q_prim_vf, 3, -1, k, l)
end select

if (qbmm .and. (.not. polytropic) .and. &
if (qbmm .and. (.not. polytropic) .and. present(pb_in) .and. present(mv_in) .and. &
(bc_type(3, 1)%sf(k, l, 0) <= BC_GHOST_EXTRAP)) then
call s_qbmm_extrapolation(3, -1, k, l, pb_in, mv_in)
end if
Expand Down Expand Up @@ -283,7 +283,7 @@ contains
call s_dirichlet(q_prim_vf, 3, 1, k, l)
end select

if (qbmm .and. (.not. polytropic) .and. &
if (qbmm .and. (.not. polytropic) .and. present(pb_in) .and. present(mv_in) .and. &
(bc_type(3, 2)%sf(k, l, 0) <= BC_GHOST_EXTRAP)) then
call s_qbmm_extrapolation(3, 1, k, l, pb_in, mv_in)
end if
Expand Down
Loading