35 . IXS ,IXTG ,AREA ,X ,
36 . XREFS ,XREFC ,XREFTG ,IPM ,
48#include "implicit_f.inc"
58 TYPE(),
TARGET,
DIMENSION(NGROUP) :: ELBUF_TAB
59 TYPE (NLOCAL_STR_) ,
TARGET :: NLOC_DMG
60 INTEGER IPARG(NPARG,NGROUP),IXS(NIXS,*),IXC(NIXC,*),IXTG(NIXTG,*),
62 my_real ,
DIMENSION(NUMELC+NUMELTG),
INTENT(IN) ::
65 . x(3,*),xrefc(4,3,*),xreftg(3,3,*),xrefs(8,3,*),bufmat
69 LOGICAL :: CONVERGED,FAILURE
70 INTEGER :: L_NLOC,,ILOC,NEL,NFT,ITY,FORMU
72 . dt_nl,time,norm_1,
norm,d
74 .
PARAMETER :: tol1 = 5.0d-4
76 .
PARAMETER :: tol2 = 1.0d-8
78 .
DIMENSION(:),
POINTER :: fnl,unl,vnl,dnl,mnl
85 l_nloc = nloc_dmg%L_NLOC
87 fnl => nloc_dmg%FNL(1:l_nloc,1)
88 vnl => nloc_dmg%VNL(1:l_nloc)
89 dnl => nloc_dmg%DNL(1:l_nloc)
90 unl => nloc_dmg%UNL(1:l_nloc)
91 mnl => nloc_dmg%MASS(1:l_nloc)
100 DO WHILE (.NOT.converged)
117 IF ((formu>10).AND.(formu<29))
THEN
119 . dt_nl ,x ,xrefc ,nft ,
120 . nel ,ng ,ipm ,bufmat ,
124 . dt_nl ,x ,xrefc ,nft ,
125 . nel ,ng ,ipm ,bufmat ,
128 ELSEIF (ity == 7)
THEN
129 IF ((formu==1).OR.(formu==2))
THEN
131 . dt_nl ,x ,xreftg ,nft ,
132 . nel ,ng ,ipm ,bufmat ,
134 ELSEIF ((formu==30).OR.(formu==31))
THEN
136 . dt_nl ,x ,xreftg ,nft ,
137 . nel ,ng ,ipm ,bufmat ,
146 vnl = vnl + dt_nl*fnl
150 norm_1 = sqrt(dot_product(dnl,dnl))
154 norm = sqrt(dot_product
158 converged = ((
norm<tol1).AND.(abs(
norm-norm_1)<tol2).AND.(time/=zero))
161 CALL ancmsg(msgid=1765,msgtype=msgerror,
162 . anmode=aninfo_blind_1)
175 . anmode=aninfo_blind_1)
subroutine c3fint_reg_ini(elbuf_tab, nloc_dmg, area, ixtg, dt_nl, x, xreftg, nft, nel, ng, ipm, bufmat, time, failure)
subroutine cbafint_reg_ini(elbuf_tab, nloc_dmg, area, ixc, dt_nl, x, xrefc, nft, nel, ng, ipm, bufmat, time, failure)
subroutine cdkfint_reg_ini(elbuf_tab, nloc_dmg, area, ixtg, dt_nl, x, xreftg, nft, nel, ng, ipm, bufmat, time, failure)
subroutine cfint_reg_ini(elbuf_tab, nloc_dmg, area, ixc, dt_nl, x, xrefc, nft, nel, ng, ipm, bufmat, time, failure)
norm(diag(diag(diag(inv(mat))) -id.SOL), 2) % destroy mumps instance id.JOB
subroutine area(d1, x, x2, y, y2, eint, stif0)
subroutine nlocal_init_sta(elbuf_tab, nloc_dmg, iparg, ixc, ixs, ixtg, area, x, xrefs, xrefc, xreftg, ipm, bufmat)
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)