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?