[petsc-users] Problems with a Laplacian problem with Neumann boundary condition

SONG Pengyang Peterspy at outlook.com
Wed Oct 24 10:06:40 CDT 2018


Hi all,
I am trying to change PETSC KSP tutorial ex34 to fortran code ex34f and I referred to ex22f, but it somehow seems wrong in my code.
Important error information points to MatSetValuesStencil() [argument out of range].
Can anyone look over my code and give any advice?
Many thanks.
----------------------------------------------------------------
SONG Pengyang (宋朋洋)
MSc candidate in Physical Oceanography
College of Oceanic and Atmospheric Sciences
Ocean University of China
No. 238 Songling Road, Qingdao 266100, Shandong, China
TEL: (+86)15762264643

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181024/8666509c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex34f.F90
Type: application/octet-stream
Size: 9597 bytes
Desc: ex34f.F90
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181024/8666509c/attachment.obj>


More information about the petsc-users mailing list