25!||
fxbwrest ../engine/source/output/restart/wrrest.f
44#include "implicit_f.inc"
58 INTEGER LEN_IPM,LEN_MOD,NRECM, NRECS, IRCM, IRCM0, IRCM1,
59 . IRCS, IRCS0, IRCS1, LREC, I, J
73 IF (len_mod>0)
CALL write_db(fxbmod,len_mod)
74 IF (lenglm>0)
CALL write_db(fxbglm,lenglm)
75 IF (lencp>0)
CALL write_db(fxbcpm,lencp )
76 IF (lencp>0)
CALL write_db(fxbcps,lencp )
77 IF (lenlm>0)
CALL write_db(fxblm, lenlm )
78 IF (lenfls>0)
CALL write_db(fxbfls,lenfls)
79 IF (lendls>0)
CALL write_db(fxbdls,lendls)
84 IF (lensig>0)
CALL write_db(fxbsig,lensig)
85 IF (lengrvr>0)
CALL write_db(fxbgrvr,lengrvr)
96 nrecm=nrecm+ircm1-ircm0
97 nrecs=nrecs+ircs1-ircs0
104 READ(ifxm,rec=ircm) (vv(j),j=1,lrec)
109 READ(ifxs,rec=ircs) (vv(j),j=1,lrec)
135#include "implicit_f.inc"
139#include "units_c.inc"
140#include "com04_c.inc"
141#include "scr05_c.inc"
146 INTEGER EIGIPM(*), EIGIBUF(*)
151 INTEGER NRECM, , , NBM, IAD, LREC, I, J
157 IF (irform/5<=1)
THEN
158 CALL wrtsqi (eigipm,neig*neipm,irform)
159 CALL wrtsqi (eigibuf,leibuf,irform)
167 IF (irform/5<=1)
THEN
168 CALL wrtsqr (eigrpm,neig*nerpm,irform)
186 READ(ieigm,rec=ircm) (vv(j),j=1,lrec)
211#include "implicit_f.inc"
215#include "com01_c.inc"
216#include "scr05_c.inc"
224 INTEGER I, J, TN(7), N, NDDL, DSNDDL, DSLEN, K, NSDEC
230 dsnddl=graphe(i)%NDDL_INI
231 dslen=graphe(i)%NSUPEL
232 nsdec=graphe(i)%NSDEC
235 tn(3)=graphe(i)%NSLEVEL
237 tn(5)=graphe(i)%NSVMAX
239 tn(7)=graphe(i)%NDDL_GLOB
241 IF (irform/5<=1)
THEN
242 CALL wrtsqi(tn, n, irform)
250 cutfreq=graphe(i)%CUTFREQ
251 IF (irform/5<=1)
THEN
252 CALL wrtsqr(cutfreq, n, irform)
260 IF (irform/5<=1)
THEN
261 CALL wrtsqi(graphe(i)%LSDDL_INI(j,1:dsnddl),
264 CALL write_i_c(graphe(i)%LSDDL_INI(j,1:dsnddl), dsnddl)
267 IF (irform/5<=1)
THEN
268 CALL wrtsqi(graphe(i)%LSDDL_GLOB_INI, dsnddl, irform)
270 CALL write_i_c(graphe(i)%LSDDL_GLOB_INI, dsnddl)
276 tn(1)=graphe(i)%DGRAPH(j)%NDDL_I_INI
277 tn(2)=graphe(i)%DGRAPH(j)%NDDL_F_INI
278 tn(3)=graphe(i)%DGRAPH(j)%NSDMAX
280 IF (irform/5<=1)
THEN
282 CALL wrtsqi(tn, n, irform)
283 CALL wrtsqi(graphe(i)%DGRAPH(j)%CHILD, nsdec, irform)
284 CALL wrtsqi(graphe(i)%DGRAPH(j)%DDLS_INI, nddl, irform)
287 CALL wrtsqi(graphe(i)%DGRAPH(j)
288 . %IFAC_INI(1:n,k), n, irform)
290 CALL wrtsqi(graphe(i)%DGRAPH(j)%IFACM_INI, tn(2), irform)
294 CALL write_i_c(graphe(i)%DGRAPH(j)%CHILD, nsdec)
295 CALL write_i_c(graphe(i)%DGRAPH(j)%DDLS_INI, nddl)
299 . %IFAC_INI(1:n,k), n)
301 CALL write_i_c(graphe(i)%DGRAPH(j)%IFACM_INI, tn(2))
322#include
"implicit_f.inc"
326#include "flowcom.inc"
361#include "implicit_f.inc"
365#include "com01_c.inc"
366#include "com04_c.inc"
367#include "impl1_c.inc"
385 IF (iroddl/=0)
CALL write_db(dy_ar,nd)
406#include "implicit_f.inc"
410#include "impl1_c.inc"
426 IF(
ALLOCATED(imp_rr))
DEALLOCATE(imp_rr)
448#include "implicit_f.inc"
484#include "implicit_f.inc"
492 INTEGER LEN, I, NNS, NNTR, LENP, NPOLY, LENH, NPOLH, TABI(11),
493 . LENP_ANIM, NPOLH_ANIM, LENH_ANIM, NNS_ANIM
533 IF (ispmd/=
fvspmd(i)%PMAIN-1) cycle
549 npolh_anim=
fvdata(i)%NPOLH_ANIM
550 IF (npolh_anim>0)
THEN
551 lenp_anim=
fvdata(i)%IFVTADR_ANIM(npoly+1)
552 lenh_anim=
fvdata(i)%IFVPADR_ANIM(npolh_anim+1)
553 nns_anim=
fvdata(i)%NNS_ANIM
586 IF (npolh_anim>0)
THEN
621 IF (npolh_anim>0)
THEN
646#include "implicit_f.inc"
650#include "com04_c.inc"
651#include "scr05_c.inc"
662 IF (irform/5 <= 1)
THEN
663 CALL wrtsqr (mcp,numnod,irform)
664 CALL wrtsqr (temp,numnod,irform)
673!||====================================================================
685#include "implicit_f.inc"
689#include "com04_c.inc"
690#include "scr05_c.inc"
701 IF (irform/5 <= 1)
THEN
702 CALL wrtsqr (forneqs,3*numnod,irform
728#include "implicit_f.inc"
732#include "com04_c.inc"
733#include "scr05_c.inc"
734#include "param_c.inc"
740 type (glob_therm_) ,
intent(in) :: GLOB_THERM
747 IF (irform/5 <= 1)
THEN
748 CALL wrtsqr (fconv,glob_therm%LFACTHER*glob_therm%NUMCONV,irform)
749 CALL wrtsqi (ibcv,glob_therm%NICONV*glob_therm%NUMCONV,irform)
751 CALL write_db(fconv,glob_therm%LFACTHER*glob_therm%NUMCONV)
752 CALL write_i_c(ibcv,glob_therm%NICONV*glob_therm%NUMCONV)
775#include "implicit_f.inc"
779#include "com04_c.inc"
780#include "scr05_c.inc"
781#include "param_c.inc"
787 type (glob_therm_),
intent(in) :: GLOB_THERM
794 IF (irform/5 <= 1)
THEN
795 CALL wrtsqr (fradia,glob_therm%LFACTHER*glob_therm%NUMRADIA,irform)
796 CALL wrtsqi (ibcr,glob_therm%NIRADIA*glob_therm%NUMRADIA,irform)
798 CALL write_db(fradia,glob_therm%LFACTHER*glob_therm%NUMRADIA)
799 CALL write_i_c(ibcr,glob_therm%NIRADIA*glob_therm%NUMRADIA)
822#include "implicit_f.inc"
826#include "com04_c.inc"
827#include "scr05_c.inc"
828#include "param_c.inc"
834 type (glob_therm_) ,
intent(in) :: glob_therm
841 IF (irform/5 <= 1)
THEN
842 CALL wrtsqr (fbft,glob_therm%LFACTHER*glob_therm%NFXTEMP,irform)
843 CALL wrtsqi (ibft,glob_therm%NIFT*glob_therm%NFXTEMP,irform)
845 CALL write_db(fbft,glob_therm%LFACTHER*glob_therm%NFXTEMP)
846 CALL write_i_c(ibft,glob_therm%NIFT*glob_therm%NFXTEMP)
863#include "implicit_f.inc"
867#include "com04_c.inc"
871 INTEGER IRBYM(*) ,LCRBYM(*),WEIGHT_RM(*)
899#include "implicit_f.inc"
903#include "com01_c.inc"
904#include "com04_c.inc"
905#include "param_c.inc"
909 my_real ms_ply(*),zi_ply(*),msz2
910 INTEGER ICODE(*),ISKEW(*),IEL(*),INOD(*)
917 CALL write_db(ms_ply,nplyxfe*nplymax)
918 CALL write_db(zi_ply,nplyxfe*nplymax)
945#include "implicit_f.inc"
949#include "param_c.inc"
953 INTEGER K,I,ELSZ,NDSZ
988#include "implicit_f.inc"
992#include "com04_c.inc"
993#include "com_xfem1.inc"
997 INTEGER INOD(*),IEL(*),NODLEVXF(*)
1028#include "implicit_f.inc"
1032#include "com01_c.inc"
1033#include "com04_c.inc"
1034#include "com_xfem1.inc"
1038 INTEGER,
DIMENSION(*) :: INDX_CRK
1039 INTEGER,
DIMENSION(4,*) :: XEDGE4N
1040 INTEGER,
DIMENSION(3,*) :: XEDGE3N
1041 TYPE (XFEM_EDGE_) ,
DIMENSION(NXLAYMAX) :: CRKEDGE
1042 TYPE (XFEM_SKY_) ,
DIMENSION(*) ::
1046 INTEGER I,J,K,NENR,ELSZ,LEN,ELSZC,ELSZTG,LENLAY,CRKNUMNODS
1092 crknumnods =
crknod(k)%CRKNUMNODS
1097 nenr = int(ienrnod/nlevmax)
1108 CALL write_i_c(crkedge(k)%LAYCUT ,lenlay)
1109 CALL write_i_c(crkedge(k)%IEDGEC ,elszc*4)
1110 CALL write_i_c(crkedge(k)%IEDGETG ,elsztg*3)
1111 CALL write_i_c(crkedge(k)%EDGEICRK ,len)
1112 CALL write_i_c(crkedge(k)%EDGEIFI ,len*2)
1113 CALL write_i_c(crkedge(k)%EDGEENR ,len*2)
1114 CALL write_i_c(crkedge(k)%EDGETIP ,len*2)
1115 CALL write_i_c(crkedge(k)%IBORDEDGE ,len)
1116 CALL write_i_c(crkedge(k)%ICUTEDGE ,len)
1117 CALL write_db (crkedge(k)%RATIO ,len)
1122 len = 2*(numelc+numeltg)
1133!||--- called by ------------------------------------------------------
1146#include "implicit_f.inc"
1150#include "param_c.inc"
1183#include "implicit_f.inc"
1187#include "com04_c.inc"
1217#include "implicit_f.inc"
1221#include "tabsiz_c.inc"
1244#include "implicit_f.inc"
1248#include "param_c.inc"
1260 lsiz =(4*npt_stack +2)*ns_stack
1262 lsiz =(6*npt_stack + 1)*ns_stack
1274!||
write_i_c ../common_source/tools/input_output/write_routtines.c
1284#include "implicit_f.inc"
1288#include "com04_c.inc"
1292 TYPE(
drape_),
DIMENSION(:),
TARGET:: DRAPE_SH4N(NUMELC_DRAPE),DRAPE_SH3N(NUMELTG_DRAPE)
1293 TYPE(
drapeg_) ,
TARGET :: DRAPEG
1297 INTEGER LEN,OFF,I,J,NPT,NDIM,N1,N2,N3,NDIM_INDX_PLY,
1299 my_real,
DIMENSION(:,:),
ALLOCATABLE :: rtmp
1300 my_real,
DIMENSION(:) ,
ALLOCATABLE :: thk
1301 INTEGER,
DIMENSION(:,:),
ALLOCATABLE :: ITMP
1302 INTEGER,
DIMENSION(:) ,
ALLOCATABLE :: NPTDRP_ELT,ISLICE,INDX_PLY,
1304 INTEGER ,
DIMENSION(:),
POINTER :: INDXSH4N,INDXSH3N
1308 IF(numelc_drape > 0)
THEN
1309 ndim = drapeg%NDIM_SH4N
1310 ndim_slice = drapeg%NDIM_SLICE_SH4N
1311 ndim_indx_ply = drapeg%NDIM_INDX_PLY_SH4N
1312 indxsh4n => drapeg%INDX_SH4N(1:numelc)
1318 ALLOCATE(npt_elt(numelc_drape),nptdrp_elt(numelc_drape),thk(numelc_drape))
1319 ALLOCATE(itmp(ndim,2),rtmp(ndim,2),islice(ndim_slice),indx_ply(ndim_indx_ply))
1326 npt_drp = drape_sh4n(i)%NPLY_DRAPE
1327 npt = drape_sh4n(i)%NPLY
1328 thk(i) = drape_sh4n(i)%THICK
1329 nptdrp_elt(i) = npt_drp
1332 nslice = drape_sh4n(i)%DRAPE_PLY(j)%NSLICE
1333 islice(n2 + j) = nslice
1335 itmp(n1 + is,1) = drape_sh4n(i)%DRAPE_PLY(j)%IDRAPE(is,1)
1336 itmp(n1 + is,2) = drape_sh4n(i)%DRAPE_PLY(j)%IDRAPE(is,2)
1337 rtmp(n1 + is,1) = drape_sh4n(i)%DRAPE_PLY(j)%RDRAPE(is,1)
1338 rtmp(n1 + is,2) = drape_sh4n(i)%DRAPE_PLY(j)%RDRAPE(is,2)
1344 indx_ply(n3 + j) = drape_sh4n(i)%INDX_PLY(j)
1355 DEALLOCATE(npt_elt,nptdrp_elt,itmp,rtmp,islice,indx_ply, thk)
1359 IF(numeltg_drape > 0 )
THEN
1360 ndim = drapeg%NDIM_SH3N
1361 ndim_slice = drapeg%NDIM_SLICE_SH3N
1362 ndim_indx_ply = drapeg%NDIM_INDX_PLY_SH3N
1363 indxsh3n => drapeg%INDX_SH3N(1:numeltg)
1369 ALLOCATE(npt_elt(numeltg_drape),nptdrp_elt(numeltg_drape), thk(numeltg_drape))
1370 ALLOCATE(itmp(ndim,2),rtmp(ndim,2),islice(ndim_slice),indx_ply(ndim_indx_ply))
1375 DO i=1,numeltg_drape
1376 npt_drp = drape_sh3n(i)%NPLY_DRAPE
1377 npt = drape_sh3n(i)%NPLY
1378 thk(i) = drape_sh3n(i)%THICK
1379 nptdrp_elt(i) = npt_drp
1382 nslice = drape_sh3n(i)%DRAPE_PLY(j)%NSLICE
1383 islice(n2 + j) = nslice
1385 itmp(n1 + is,1) = drape_sh3n(i)%DRAPE_PLY(j)%IDRAPE(is,1)
1386 itmp(n1 + is,2) = drape_sh3n(i)%DRAPE_PLY(j)%IDRAPE(is,2)
1387 rtmp(n1 + is,1) = drape_sh3n(i)%DRAPE_PLY(j)%RDRAPE(is,1)
1388 rtmp(n1 + is,2) = drape_sh3n(i)%DRAPE_PLY(j)%RDRAPE(is,2)
1394 indx_ply(n3 + j) = drape_sh3n(i)%INDX_PLY(j)
1398 CALL write_i_c(nptdrp_elt,numeltg_drape)
1405 DEALLOCATE(npt_elt,nptdrp_elt,itmp,rtmp,islice,indx_ply, thk)
1420#include
"implicit_f.inc"
1424#include "com04_c.inc"
subroutine rigmatwrest(rbym, irbym, lcrbym, weight_rm)
subroutine drape_wrest(drape_sh4n, drape_sh3n, drapeg)
subroutine plyxfem_wrestanim()
subroutine ply_info_wrest(ply_info)
subroutine plyxfem_wrest(ms_ply, zi_ply, inod, iel, icode, iskew, msz2)
subroutine crkxfem_wrestanim(crkedge, crksky, indx_crk, xedge4n, xedge3n)
subroutine nfwrest(iflow, rflow)
subroutine crkxfem_wrest(inod, iel, nodlevxf)
subroutine nitschewrest(forneqs)
subroutine fxtempwrest(ibft, fbft, glob_therm)
subroutine thcwrest(mcp, temp)
subroutine radiawrest(ibcr, fradia, glob_therm)
subroutine eigwrest(eigipm, eigibuf, eigrpm)
subroutine dswrest(graphe)
subroutine convwrest(ibcv, fconv, glob_therm)
subroutine stack_wrest(igeo, geo, pm)
subroutine plyxfem_wravuply()
subroutine imp_trans0(r_imp, nr)
subroutine impwrest(nimpr)
subroutine alelag_wrest()
subroutine imp_trans(r_imp)
type(xfem_phantom_), dimension(:), allocatable xfem_phantom
type(xfem_nodes_), dimension(:), allocatable crknod
type(xfem_avx_), dimension(:), allocatable crkavx
type(xfem_shell_), dimension(:), allocatable crkshell
type(xfem_lvset_), dimension(:), allocatable crklvset
type(fvbag_spmd), dimension(:), allocatable fvspmd
type(fvbag_data), dimension(:), allocatable fvdata
integer, dimension(:), allocatable kmesh
integer, dimension(:,:), allocatable fxbipm
integer, dimension(:), allocatable fxbnod
integer, dimension(:), allocatable fxbelm
integer, dimension(:), allocatable fxbgrvi
type(plynods), dimension(:), allocatable plynod
type(ply_data), dimension(:), allocatable ply
integer, dimension(:), allocatable indx_ply
integer, dimension(:), allocatable idpid_ply
integer, dimension(:), allocatable plysizg
type(plyshells), dimension(:), allocatable plyshell
integer, dimension(:), allocatable nodenr
integer, dimension(:), allocatable kxfenod2elc
integer, dimension(:), allocatable enrtag
integer, dimension(:), allocatable elcutc
subroutine write_db(a, n)
void write_i_c(int *w, int *len)