[petsc-users] error: 'DMDA_BOUNDARY_NONE'

Ivan Luthfi ivanluthfi5 at gmail.com
Thu Jul 11 22:51:01 CDT 2024


Hello there,
I am trying to update a very old petsc code.

When i run it i get the following error.

FormFunction.c:14:47: error: 'DMDA_BOUNDARY_NONE' undeclared (first use in
this function); did you mean 'DM_BOUNDARY_NONE'?

ierr = DMDACreate2d(PETSC_COMM_WORLD, DMDA_BOUNDARY_NONE,
DMDA_BOUNDARY_NONE, DMDA_STENCIL_BOX, -(up->Lx+1),
-(up->Ly+1), PETSC_DECIDE, PETSC_DECIDE, 1, 1, 0, 0,
&up->fine);CHKERRQ(ierr);



what is the solution for this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240712/85196fd7/attachment.html>


More information about the petsc-users mailing list