@@ -724,15 +724,15 @@ contains
724724
725725 Ma = vel(dir_idx(1))/c
726726
727- if ((cbc_loc == -1 .and. bc ${XYZ}$b == BC_CHAR_SLIP_WALL) &
728- & .or. (cbc_loc == 1 .and. bc ${XYZ}$e == BC_CHAR_SLIP_WALL)) then
727+ if ((cbc_loc == -1 .and. bc_ ${XYZ}$%beg == BC_CHAR_SLIP_WALL) &
728+ & .or. (cbc_loc == 1 .and. bc_ ${XYZ}$%end == BC_CHAR_SLIP_WALL)) then
729729 call s_compute_slip_wall_L(lambda, L, rho, c, dpres_ds, dvel_ds)
730- else if ((cbc_loc == -1 .and. bc ${XYZ}$b == BC_CHAR_NR_SUB_BUFFER) &
731- & .or. (cbc_loc == 1 .and. bc ${XYZ}$e == BC_CHAR_NR_SUB_BUFFER)) then
730+ else if ((cbc_loc == -1 .and. bc_ ${XYZ}$%beg == BC_CHAR_NR_SUB_BUFFER) &
731+ & .or. (cbc_loc == 1 .and. bc_ ${XYZ}$%end == BC_CHAR_NR_SUB_BUFFER)) then
732732 call s_compute_nonreflecting_subsonic_buffer_L(lambda, L, rho, c, mf, dalpha_rho_ds, dpres_ds, &
733733 & dvel_ds, dadv_ds, dYs_ds)
734- else if ((cbc_loc == -1 .and. bc ${XYZ}$b == BC_CHAR_NR_SUB_INFLOW) &
735- & .or. (cbc_loc == 1 .and. bc ${XYZ}$e == BC_CHAR_NR_SUB_INFLOW)) then
734+ else if ((cbc_loc == -1 .and. bc_ ${XYZ}$%beg == BC_CHAR_NR_SUB_INFLOW) &
735+ & .or. (cbc_loc == 1 .and. bc_ ${XYZ}$%end == BC_CHAR_NR_SUB_INFLOW)) then
736736 call s_compute_nonreflecting_subsonic_inflow_L(lambda, L, rho, c, dpres_ds, dvel_ds)
737737 ! Add GRCBC for Subsonic Inflow
738738 if (bc_${XYZ}$%grcbc_in) then
@@ -755,8 +755,8 @@ contains
755755 L(advxe) = rho*c**2._wp*(1._wp + Ma)*(vel(dir_idx(1)) + vel_in(${CBC_DIR}$, dir_idx(1))*sign(1, &
756756 & cbc_loc))/Del_in(${CBC_DIR}$) + c*(1._wp + Ma)*(pres - pres_in(${CBC_DIR}$))/Del_in(${CBC_DIR}$)
757757 end if
758- else if ((cbc_loc == -1 .and. bc ${XYZ}$b == BC_CHAR_NR_SUB_OUTFLOW) &
759- & .or. (cbc_loc == 1 .and. bc ${XYZ}$e == BC_CHAR_NR_SUB_OUTFLOW)) then
758+ else if ((cbc_loc == -1 .and. bc_ ${XYZ}$%beg == BC_CHAR_NR_SUB_OUTFLOW) &
759+ & .or. (cbc_loc == 1 .and. bc_ ${XYZ}$%end == BC_CHAR_NR_SUB_OUTFLOW)) then
760760 call s_compute_nonreflecting_subsonic_outflow_L(lambda, L, rho, c, mf, dalpha_rho_ds, dpres_ds, &
761761 & dvel_ds, dadv_ds, dYs_ds)
762762 ! Add GRCBC for Subsonic Outflow (Pressure)
@@ -769,19 +769,19 @@ contains
769769 & dir_idx(1))*sign(1, cbc_loc))/Del_out(${CBC_DIR}$)
770770 end if
771771 end if
772- else if ((cbc_loc == -1 .and. bc ${XYZ}$b == BC_CHAR_FF_SUB_OUTFLOW) &
773- & .or. (cbc_loc == 1 .and. bc ${XYZ}$e == BC_CHAR_FF_SUB_OUTFLOW)) then
772+ else if ((cbc_loc == -1 .and. bc_ ${XYZ}$%beg == BC_CHAR_FF_SUB_OUTFLOW) &
773+ & .or. (cbc_loc == 1 .and. bc_ ${XYZ}$%end == BC_CHAR_FF_SUB_OUTFLOW)) then
774774 call s_compute_force_free_subsonic_outflow_L(lambda, L, rho, c, mf, dalpha_rho_ds, dpres_ds, dvel_ds, &
775775 & dadv_ds)
776- else if ((cbc_loc == -1 .and. bc ${XYZ}$b == BC_CHAR_CP_SUB_OUTFLOW) &
777- & .or. (cbc_loc == 1 .and. bc ${XYZ}$e == BC_CHAR_CP_SUB_OUTFLOW)) then
776+ else if ((cbc_loc == -1 .and. bc_ ${XYZ}$%beg == BC_CHAR_CP_SUB_OUTFLOW) &
777+ & .or. (cbc_loc == 1 .and. bc_ ${XYZ}$%end == BC_CHAR_CP_SUB_OUTFLOW)) then
778778 call s_compute_constant_pressure_subsonic_outflow_L(lambda, L, rho, c, mf, dalpha_rho_ds, dpres_ds, &
779779 & dvel_ds, dadv_ds)
780- else if ((cbc_loc == -1 .and. bc ${XYZ}$b == BC_CHAR_SUP_INFLOW) &
781- & .or. (cbc_loc == 1 .and. bc ${XYZ}$e == BC_CHAR_SUP_INFLOW)) then
780+ else if ((cbc_loc == -1 .and. bc_ ${XYZ}$%beg == BC_CHAR_SUP_INFLOW) &
781+ & .or. (cbc_loc == 1 .and. bc_ ${XYZ}$%end == BC_CHAR_SUP_INFLOW)) then
782782 call s_compute_supersonic_inflow_L(L)
783- else if ((cbc_loc == -1 .and. bc ${XYZ}$b == BC_CHAR_SUP_OUTFLOW) &
784- & .or. (cbc_loc == 1 .and. bc ${XYZ}$e == BC_CHAR_SUP_OUTFLOW)) then
783+ else if ((cbc_loc == -1 .and. bc_ ${XYZ}$%beg == BC_CHAR_SUP_OUTFLOW) &
784+ & .or. (cbc_loc == 1 .and. bc_ ${XYZ}$%end == BC_CHAR_SUP_OUTFLOW)) then
785785 call s_compute_supersonic_outflow_L(lambda, L, rho, c, mf, dalpha_rho_ds, dpres_ds, dvel_ds, dadv_ds, &
786786 & dYs_ds)
787787 end if
0 commit comments