49 INTEGER :: I,J,K,nxt, prv, idx, ndx
55 IF (nobclsf == 0 .and. par)
THEN 58 ELSE IF (nobclsf < 2 .and. serial)
THEN 60 &(
'There are less than two long shore flow nodes',&
61 &
'You must change the _lsf.dat file to contain atleast two nodes!.')
71 &(
"THE FIRST NODE IN THE LSF LIST MUST BE NEXT TO THE SOLID BOUNDARY",&
72 &
"OR (IN THE PARALLEL CASE) NEXT TO THE HALO?")
76 if(
isonb(ndx) == 1 .or. (ndx > m .and. ndx <= mt))
THEN 85 if (
isonb(j) /= 2)
THEN 87 write(ipt,*)
"LONG SHORE FLOW ERROR ON GLOBAL NODE NUMBER: ",
ngid_x(j)
89 &(
"A LONG SHORE FLOW BOUNDARY NODE IS NOT ON THE OPEN BOUNDARY:", &
90 &
"CHECK YOUR BOUNDARY FILES!")
104 &(
"Two long shore flow nodes in the file list are the same!")
111 &(
"Two long shore flow nodes are not next to eachother!")
135 &(
"CAN'T FIND ANOTHER OPEN BOUNDARY NODE FOR LONG SHORE FLOW?",&
136 &
"IF THERE IS ONLY ONE NODE IN THE DOMAIN IT MUST BE NEXT TO THE HALO!")
140 if(
isonb(ndx) == 2 .and. ndx > m )
THEN 151 &(
"CAN'T FIND ANOTHER OPEN BOUNDARY NODE FOR LONG SHORE FLOW?",&
152 &
"The list can't contain the entire open boundary!")
156 if(
isonb(ndx) == 2 .and. ndx /= prv .and. ndx /= idx )
THEN 174 write(ipt,*)
"! LONG SHORE FLOW BOUNDARY CONDITION METRICS" 175 WRITE(ipt,*)
"! NodeList, NextNode, Angle, Distance" 180 &
"! The next node value shown above is in the halo and does not appear co& 181 &rrectly in ngid: Don't worry about it ;-)" integer, dimension(:), allocatable, target ntsn
integer, dimension(:), allocatable, target ibclsf
logical function dbg_set(vrb)
integer, dimension(:), allocatable, target nbclsf
integer, dimension(:), pointer ngid_x
real(sp), dimension(:), allocatable, target vx
real(sp), dimension(:), allocatable, target vy
subroutine longshore_flow
real(sp), dimension(:), allocatable, target wdf_ang
subroutine fatal_error(ER1, ER2, ER3, ER4)
real(sp), dimension(:), allocatable, target wdf_dist
integer, dimension(:,:), allocatable, target nbsn
integer, parameter dbg_sbr
integer, dimension(:), allocatable, target isonb
integer, parameter dbg_log