Go to the source code of this file.
|
subroutine | changekon (ne, ipkon, lakon, mi, nkon, thicke, ielmat, kon) |
|
◆ changekon()
subroutine changekon |
( |
integer |
ne, |
|
|
integer, dimension(*) |
ipkon, |
|
|
character*8, dimension(*) |
lakon, |
|
|
integer, dimension(*) |
mi, |
|
|
integer |
nkon, |
|
|
real*8, dimension(mi(3),*) |
thicke, |
|
|
integer, dimension(mi(3),*) |
ielmat, |
|
|
integer, dimension(*) |
kon |
|
) |
| |
42 integer ne,ipkon(*),mi(*),nkon,ielmat(mi(3),*),nkondiff,i,j,k,
43 & kon(*),nexp,nopeexp,nlayer,ipointer
45 real*8 thicke(mi(3),*)
51 if(ipkon(i).lt.0) cycle
52 if(lakon(i)(1:1).ne.
'S') cycle
53 if(lakon(i)(8:8).ne.
'C') cycle
55 if(ielmat(j,i).ne.0)
then 56 if(lakon(i)(2:2).eq.
'8')
then 58 elseif(lakon(i)(2:2).eq.
'6')
then 71 if(ipkon(i).lt.0) cycle
75 if(lakon(i)(1:5).eq.
'C3D8I')
then 77 elseif(lakon(i)(4:5).eq.
'20')
then 80 & (lakon(i)(1:4).eq.
'CPE8').or.(lakon(i)(1:4).eq.
'CPS8').or.
81 & (lakon(i)(1:4).eq.
'CAX8').or.(lakon(i)(1:2).eq.
'S8'))
then 84 & (lakon(i)(1:4).eq.
'CPE6').or.(lakon(i)(1:4).eq.
'CPS6').or.
85 & (lakon(i)(1:4).eq.
'CAX6').or.(lakon(i)(1:2).eq.
'S6'))
then 87 elseif(lakon(i)(1:1).eq.
'B')
then 89 elseif(lakon(i)(4:4).eq.
'8')
then 91 elseif(lakon(i)(4:5).eq.
'10')
then 93 elseif(lakon(i)(4:4).eq.
'4')
then 95 elseif(lakon(i)(4:5).eq.
'15')
then 97 elseif(lakon(i)(4:4).eq.
'6')
then 99 elseif(lakon(i)(1:8).eq.
'DASHPOTA')
then 101 elseif(lakon(i)(1:1).eq.
'D')
then 103 elseif(lakon(i)(1:1).eq.
'G')
then 105 elseif(lakon(i)(1:7).eq.
'SPRINGA')
then 108 write(*,*)
'*ERROR in changekon: element type unknown:',
109 &
' element: ',i,
' type: ',lakon(i)
115 if(lakon(i)(8:8).eq.
'C')
then 117 if(ielmat(j,i).ne.0)
then 127 if(lakon(i)(2:2).eq.
'8')
then 129 elseif(lakon(i)(2:2).eq.
'6')
then 133 ipointer=ipointer-nopeexp-nlayer*nexp
136 kon(ipointer+j)=kon(ipkon(i)+j)
138 thicke(k,ipointer+j)=thicke(k,ipkon(i)+j)