vec/vec/examples/tests/ex37.c "Nest vector functionality. has bugs
20 Feb
2011
20 Feb
'11
1:52 p.m.
ierr = VecDestroy(a);CHKERRQ(ierr); ierr = VecDestroy(b);CHKERRQ(ierr); ierr = VecAssemblyBegin(X);CHKERRQ(ierr); ierr = VecAssemblyEnd(X);CHKERRQ(ierr); ierr = VecMax( b, &index, &val );CHKERRQ(ierr); PetscPrintf( PETSC_COMM_WORLD, "(max-b) = %f : index = %d \n", val, index ); b is destroyed and then used later. Barry
5651
Age (days ago)
5651
Last active (days ago)
0 comments
1 participants
participants (1)
-
Barry Smith