official example "telemac2d/confluence" shows how to set the discharge value for one boundary through fortran programming:
SUBROUTINE USER_Q(I, Q)
USE BIEF
USE DECLARATIONS_SPECIAL
USE DECLARATIONS_TELEMAC
USE DECLARATIONS_TELEMAC2D
USE INTERFACE_TELEMAC2D, EX_USER_Q => USER_Q, EX_Q => Q
IMPLICIT NONE
INTEGER , INTENT(IN) :: I
DOUBLE PRECISION, INTENT(INOUT) :: Q
Q = DEBIT(I) * MIN( AT/10.D0 , 1.D0 )
END SUBROUTINE USER_Q
In my model, there are two inflows. How to set two inflow values through user_q.f?
(I think maybe I can set different "Q" according to INTENT(IN) I, but I don't know how to write the code. Should I define Q1 and Q2?