<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
  #pfptBannerzes2gmg { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #D0D8DC !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButtonzes2gmg:hover, .pfptPrimaryButtonzes2gmg:focus {
    background-color: #b4c1c7 !important; }
  .pfptPrimaryButtonzes2gmg:active {
    background-color: #90a4ae !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->
</head><!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
 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'?
</div>
<!-- Preheader Text : END -->

<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>

<!--[if ((ie)|(mso))]>
  <table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
    <table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
      <table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
        <tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
          This Message Is From an External Sender
        </td></tr>
        <tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
          This message came from outside your organization.
        </td></tr>

      </table>

    </td></tr></table>
  </td></tr></table>
<![endif]-->

<![if !((ie)|(mso))]>
  <div dir="ltr"  id="pfptBannerzes2gmg" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
    <div id="pfptBannerzes2gmg" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBannerzes2gmg" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
        This Message Is From an External Sender
      </div>
      <div id="pfptBannerzes2gmg" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
      </div>

    </div>

    <div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
  </div>
<![endif]>

<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->

<!-- BaNnErBlUrFlE-BoDy-end -->
<div dir="ltr">Hello there,<br>I am trying to update a very old petsc code. <br><br>When i run it i get the following error.<br><br>FormFunction.c:14:47: error: 'DMDA_BOUNDARY_NONE' undeclared (first use in this function); did you mean 'DM_BOUNDARY_NONE'?<div><br></div><div><div style="display:inline-block;white-space:pre;background-color:rgb(31,31,31);font-family:Consolas,monospace;font-size:10pt;padding:4px"><span style="color:rgb(250,250,250)"> ierr = DMDACreate2d(PETSC_COMM_WORLD, </span><span style="color:rgb(241,76,76)">DMDA_BOUNDARY_NONE</span><span style="color:rgb(250,250,250)">, DMDA_BOUNDARY_NONE, DMDA_STENCIL_BOX, -(up->Lx+1), <br>-(up->Ly+1), PETSC_DECIDE, PETSC_DECIDE, 1, 1, 0, 0, &up->fine);CHKERRQ(ierr);</span></div><br></div><div><div style="display:inline-block;white-space:pre;background-color:rgb(31,31,31);font-family:Consolas,monospace;font-size:10pt;padding:4px"><span style="color:rgb(250,250,250)"><br></span></div></div><div><div style="display:inline-block;white-space:pre;background-color:rgb(31,31,31);font-family:Consolas,monospace;font-size:10pt;padding:4px"><span style="color:rgb(250,250,250)"><br></span></div></div><div><font color="#fafafa" face="Consolas, monospace"><span style="font-size:13.3333px;white-space:pre;background-color:rgb(31,31,31)">what is the solution for this?</span></font></div></div>