[petsc-dev] VecScatter problem

Mark Adams mfadams at lbl.gov
Thu Aug 25 14:11:06 CDT 2016


>
>
>>   ! end
>>   call VecScatterEnd(  a_ts%from_petsc(0),a_XX,xxvec
>> (0),INSERT_VALUES,SCATTER_FORWARD,ierr)
>>   a_n1 = n1
>>
>
> Why is the line above in here?
>

a_n1 is the return value of the subroutine.  I just did this to keep the
types clear, real kind=8 vs PetscScalar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160825/b09e0786/attachment.html>


More information about the petsc-dev mailing list