Changeset a16eb98
- Timestamp:
- 01/30/11 12:35:33 (2 years ago)
- Branches:
- fix-prolong
- Parents:
- 3c81144
- git-author:
- Oleg Batrashev <ogbash@…> (01/30/11 12:35:33)
- git-committer:
- Oleg Batrashev <ogbash@…> (01/30/11 12:35:33)
- Location:
- src
- Files:
-
- 3 edited
-
coarse/CoarseMtx.F90 (modified) (2 diffs)
-
datatypes/SpMtx/SpMtx_aggregation.F90 (modified) (1 diff)
-
main/aggr.F90 (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/coarse/CoarseMtx.F90
r3c81144 ra16eb98 116 116 integer :: nnz 117 117 type(SpMtx) :: extR 118 integer :: k, k2 118 119 119 120 ! collect restrict values from external node to local coarse support 120 121 call collectRestrictValues(extR) 121 extR%indj = M%gl_fmap(extR%indj)122 122 write(stream,*) "extRESTRICT" 123 123 call SpMtx_printRaw(extR) 124 125 ! debug, test if all values are present 126 do k=1,extR%nnz 127 k2 = SpMtx_findElem(R, extR%indi(k), extR%indj(k)) 128 if (k2<=0) then 129 write(stream,*) "NOT FOUND", k 130 cycle 131 end if 132 if (abs(R%val(k2)-extR%val(k))>1E-6) then 133 write(stream,*) "NOT EQUAL", k 134 end if 135 end do 124 136 125 137 contains … … 257 269 nnz = nnz+ninds 258 270 end do 271 272 ! localize 273 eR%indi = cdat%gl_cfmap(eR%indi) 274 eR%indj = M%gl_fmap(eR%indj) 259 275 260 276 ! wait for all data to be sent -
src/datatypes/SpMtx/SpMtx_aggregation.F90
rd277181 ra16eb98 614 614 if (plot==1.or.plot==3) then 615 615 if (numprocs>1) then 616 write(stream,*) "PLOTTING" 616 617 if (ismaster()) then 617 618 allocate(aggrnum(M%ngf)) -
src/main/aggr.F90
r3c81144 ra16eb98 160 160 endif 161 161 if (numprocs>1) then 162 plotting= 0162 plotting=sctls%plotting 163 163 else 164 164 plotting=sctls%plotting … … 211 211 call CoarseMtxBuild(A,cdat%LAC,Restrict,A_ghost) 212 212 !write(stream,*) "A%aggr%num", A%aggr%num 213 !call KeepGivenRowIndeces(Restrict,A%aggr%num)213 call KeepGivenRowIndeces(Restrict,A%aggr%num) 214 214 !write(stream,*) "Restrict%nrows", Restrict%nrows 215 215 !write(stream,*)'Restrict local is:=================='
Note: See TracChangeset
for help on using the changeset viewer.
