We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e3661c commit 8991b27Copy full SHA for 8991b27
1 file changed
src/simulation/m_rhs.fpp
@@ -670,7 +670,16 @@ contains
670
& qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, id)
671
end if
672
else
673
- if (all(Re_size == 0)) then
+ if (int_comp > 0) then
674
+ ! Full reconstruction so THINC can access both cont and adv in one pass
675
+ iv%beg = 1; iv%end = sys_size
676
+ call s_reconstruct_cell_boundary_values(q_prim_qp%vf(1:sys_size), qL_rsx_vf, qL_rsy_vf, qL_rsz_vf, &
677
+ & qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, id)
678
+ ! Surface tension requires energy to be first-order; overwrite after THINC
679
+ iv%beg = eqn_idx%E; iv%end = eqn_idx%E
680
+ call s_reconstruct_cell_boundary_values_first_order(q_prim_qp%vf(eqn_idx%E), qL_rsx_vf, qL_rsy_vf, &
681
+ & qL_rsz_vf, qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, id)
682
+ else if (all(Re_size == 0)) then
683
iv%beg = 1; iv%end = eqn_idx%E - 1
684
call s_reconstruct_cell_boundary_values(q_prim_qp%vf(iv%beg:iv%end), qL_rsx_vf, qL_rsy_vf, qL_rsz_vf, &
685
0 commit comments