53 subroutine readsufacemesh(glb,NumProcs,iunit,iElType2D,myid)
58 integer :: iaux,
k,kk,id2d
60 READ(15,*) iaux, glb%iElType2D
63 IF(id2d.EQ.myid+1)
THEN
67 READ(iunit,*) glb%InterfaceSNumNodes, glb%InterfaceSNumElems
68 ALLOCATE(glb%InterfaceSNodalCoors(1:3,1:glb%InterfaceSNumNodes))
69 ALLOCATE(glb%MapNodeS(1:glb%InterfaceSNumNodes))
71 DO j = 1, glb%InterfaceSNumNodes
72 READ(iunit,*) glb%InterfaceSNodalCoors(1,
j), &
73 glb%InterfaceSNodalCoors(2,
j), &
74 glb%InterfaceSNodalCoors(3,
j), glb%MapNodeS(
j)
77 ALLOCATE(glb%InterfaceSElemConn(1:glb%iElType2D,1:glb%InterfaceSNumElems))
78 IF(glb%EnforceTractionS)
THEN
79 ALLOCATE(glb%MapSElVolEl(1:glb%InterfaceSNumElems))
80 DO j = 1, glb%InterfaceSNumElems
81 IF ( glb%iElType2D==3)
THEN
82 READ(iunit,*) glb%InterfaceSElemConn(1,
j),&
83 glb%InterfaceSElemConn(2,
j),&
84 glb%InterfaceSElemConn(3,
j),&
86 ELSE IF ( glb%iElType2D==6)
THEN
87 READ(iunit,*) glb%InterfaceSElemConn(1,
j),&
88 glb%InterfaceSElemConn(2,
j),&
89 glb%InterfaceSElemConn(3,
j),&
90 glb%InterfaceSElemConn(4,
j),&
91 glb%InterfaceSElemConn(5,
j),&
92 glb%InterfaceSElemConn(6,
j),&
94 ELSE IF ( glb%iElType2D==4)
THEN
95 READ(iunit,*) glb%InterfaceSElemConn(1,
j),&
96 glb%InterfaceSElemConn(2,
j),&
97 glb%InterfaceSElemConn(3,
j),&
98 glb%InterfaceSElemConn(4,
j),&
104 DO j = 1, glb%InterfaceSNumElems
105 IF ( glb%iElType2D==3)
THEN
106 READ(iunit,*) glb%InterfaceSElemConn(1,
j),&
107 glb%InterfaceSElemConn(2,
j),&
108 glb%InterfaceSElemConn(3,
j)
109 ELSE IF ( glb%iElType2D==6)
THEN
110 READ(iunit,*) glb%InterfaceSElemConn(1,
j),&
111 glb%InterfaceSElemConn(2,
j),&
112 glb%InterfaceSElemConn(3,
j),&
113 glb%InterfaceSElemConn(4,
j),&
114 glb%InterfaceSElemConn(5,
j),&
115 glb%InterfaceSElemConn(6,
j)
116 ELSE IF ( glb%iElType2D==4)
THEN
117 READ(iunit,*) glb%InterfaceSElemConn(1,
j),&
118 glb%InterfaceSElemConn(2,
j),&
119 glb%InterfaceSElemConn(3,
j),&
120 glb%InterfaceSElemConn(4,
j)