97 & INODE, ISON, NSLAVES_PERE, NFRONT_PERE,
98 & NASS_PERE, LMAP, NFS4FATHER,
99 & SLAVES_PERE, !size NSLAVES_PERE
106 INTEGER,
INTENT(IN) :: inode, ison, nslaves_pere, nfront_pere,
107 & nass_pere, lmap, nfs4father
108 INTEGER,
INTENT(IN) :: slaves_pere (
max(1,nslaves_pere))
109 INTEGER,
INTENT(IN) :: trow( lmap)
110 INTEGER,
INTENT(INOUT) :: iwhandler, info(2)
115 TYPE() :: maprow_struc
118 & inode, ison, nslaves_pere, nfront_pere,
119 & nass_pere, lmap, nfs4father,
123 IF (info(1) .LT. 0)
RETURN
143 INTEGER,
INTENT(INOUT) :: IWHANDLER, INFO(2)
144 TYPE(MAPROW_STRUC_T),
INTENT(IN) :: MAPROW_STRUC
150 INTEGER :: OLD_SIZE, NEW_SIZE
154 CALL MUMPS_FDM_START_IDX(
'A',
'MAPROW', IWHANDLER, INFO)
155 IF (info(1) .LT. 0)
RETURN
159 new_size =
max( (old_size * 3) / 2 + 1, iwhandler)
161 ALLOCATE(fmrd_array_tmp(new_size),stat=ierr)
171 DO i=old_size+1, new_size
172 fmrd_array_tmp(i)%INODE = -9999
173 NULLIFY(fmrd_array_tmp(i)%SLAVES_PERE)
174 NULLIFY(fmrd_array_tmp(i)%TROW)
178 NULLIFY(fmrd_array_tmp)
184 & INODE, ISON, NSLAVES_PERE, NFRONT_PERE,
185 & NASS_PERE, LMAP, NFS4FATHER,
186 & SLAVES_PERE, !size NSLAVES_PERE
197 INTEGER,
INTENT(IN) :: INODE, ISON, NSLAVES_PERE, NFRONT_PERE,
198 & NASS_PERE, LMAP, NFS4FATHER
199 INTEGER,
INTENT(IN) :: SLAVES_PERE(max(1,NSLAVES_PERE))
200 INTEGER,
INTENT(IN) :: TROW( LMAP)
201 TYPE (MAPROW_STRUC_T),
INTENT(OUT) :: MAPROW_STRUC
202 INTEGER,
INTENT(INOUT) :: INFO(2)
209 maprow_struc%INODE = inode
210 maprow_struc%ISON = ison
211 maprow_struc%NSLAVES_PERE = nslaves_pere
212 maprow_struc%NFRONT_PERE = nfront_pere
213 maprow_struc%NASS_PERE = nass_pere
214 maprow_struc%LMAP = lmap
215 maprow_struc%NFS4FATHER = nfs4father
216 ALLOCATE(maprow_struc%SLAVES_PERE(max(1,nslaves_pere)),
217 & maprow_struc%TROW(lmap), stat=ierr)
220 info(2) = nslaves_pere + lmap
224 maprow_struc%SLAVES_PERE(i) = slaves_pere(i)
227 maprow_struc%TROW(i) = trow(i)
subroutine, public mumps_fmrd_save_maprow(iwhandler, inode, ison, nslaves_pere, nfront_pere, nass_pere, lmap, nfs4father, slaves_pere, trow, info)
subroutine mumps_fmrd_fill_maprow(maprow_struc, inode, ison, nslaves_pere, nfront_pere, nass_pere, lmap, nfs4father, slaves_pere, trow, info)