for multigroup fission matrix does not have same nonzero pattern as destruction matrix, fixed PETSC flag

This commit is contained in:
Bryan Herman 2012-04-05 06:28:18 -07:00
parent 7e8a023381
commit bf9ae7045a

View file

@ -223,7 +223,7 @@ contains
call MPI_BCAST(lambda,1,MPI_REAL8,n_procs_cmfd-1,PETSC_COMM_WORLD,ierr)
! compute math (M-lambda*F) M is overwritten here
call MatAXPY(ctx%loss%M,-1.0_8*lambda,ctx%prod%F,SUBSET_NONZERO_PATTERN,ierr)
call MatAXPY(ctx%loss%M,-1.0_8*lambda,ctx%prod%F,DIFFERENT_NONZERO_PATTERN,ierr)
! create tmp petsc vector for source
call VecCreateMPI(PETSC_COMM_WORLD,ctx%loss%localn,PETSC_DECIDE,source,ierr)