70 TYPE(t_region
),
INTENT(INOUT) :: region
73 INTEGER :: iplag,ipeul,iedge
76 INTEGER,
PARAMETER :: nedges_max = 20
78 CHARACTER(CHRLEN) :: rcsidentstring
80 INTEGER ::
nedges,nplag,npeul
81 INTEGER :: matindplag,matindpeul
82 INTEGER :: ipeularr(nedges_max),iplagarr(nedges_max)
91 rcsidentstring =
'$RCSfile: INRT_DefineScouring.F90,v $ $Revision: 1.5 $'
93 global => region%global
96 'INRT_DefineScouring.F90' )
102 input => region%inrtInput
103 inrt =>
input%inrts(inrt_type_scouring)
105 inrt%name =
"Scouring"
117 matindpeul = region%peulInput%ptypes(ipeul)%material%index
121 matindpeul = region%specInput%specType(ipeul)%pMaterial%index
127 matindplag = region%plagInput%materialIndex(iplag)
130 IF (matindplag == matindpeul)
THEN
134 IF (iedge > nedges_max) &
135 CALL
errorstop( global,err_exceeds_decl_mem,__line__ )
137 ipeularr(iedge) = ipeul
138 iplagarr(iedge) = iplag
151 inrt_swi_scouring_total,inrt_dat_scouring_total0 +
nedges)
161 edge => inrt%edges(iedge)
163 edge%tEdge = inrt_edge_mass
164 edge%iNode(1) =
input%indPeul0 + ipeularr(iedge)
165 edge%iNode(2) =
input%indPlag0 + iplagarr(iedge)
subroutine registerfunction(global, funName, fileName)
subroutine inrt_allocateauxillary(global, inrt, nEdges, nSwitches, nData)
subroutine inrt_definescouring(region)
subroutine input(X, NNODE, NDC, NCELL, NFCE, NBPTS, NBFACE, ITYP, NPROP, XBNDY, XFAR, YFAR, ZFAR)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)