<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Matt,</p>
    <p>Thanks for the quick reply. Will let you know when I am confused
      in using it.<br>
    </p>
    <p>Regards,</p>
    <p>Danyang<br>
    </p>
    <div class="moz-cite-prefix">On 2019-08-15 9:22 a.m., Matthew
      Knepley wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMYG4G=Pi4zUURPk0OMdzd_aosCbzQvxRJqGZ+YhUVcqTnFZMA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">On Thu, Aug 15, 2019 at 12:18 PM Danyang Su <<a
            href="mailto:danyang.su@gmail.com" moz-do-not-send="true">danyang.su@gmail.com</a>>
          wrote:<br>
        </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">Hi Barry and Matt,<br>
            <br>
            Would you please give me some advice on the functions I need
            to use to <br>
            set different dof to the specified nodes. For now, I use <br>
            DMPlexCreateSection that dof is uniform throughout the
            domain. I am a <br>
            bit lost in choosing the right DMPlex functions,
            unfortunately.<br>
          </blockquote>
          <div><br>
          </div>
          <div>Chapter 10 of the PETSc User Manual discusses low-level
            data layout using Section. How about we start</div>
          <div>there and then clarify anything that is confusing.</div>
          <div><br>
          </div>
          <div>  Thanks,</div>
          <div><br>
          </div>
          <div>    Matt</div>
          <div> </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            Thanks and regards,<br>
            <br>
            Danyang<br>
            <br>
            On 2019-02-07 1:53 p.m., Danyang Su wrote:<br>
            > Thanks, Barry. DMPlex also works for my code.<br>
            ><br>
            > Danyang<br>
            ><br>
            > On 2019-02-07 1:14 p.m., Smith, Barry F. wrote:<br>
            >>    No, you would need to use the more flexible
            DMPlex<br>
            >><br>
            >><br>
            >>> On Feb 7, 2019, at 3:04 PM, Danyang Su via
            petsc-users <br>
            >>> <<a href="mailto:petsc-users@mcs.anl.gov"
              target="_blank" moz-do-not-send="true">petsc-users@mcs.anl.gov</a>>
            wrote:<br>
            >>><br>
            >>> Dear PETSc Users,<br>
            >>><br>
            >>> Does DMDA support different number of degrees
            of freedom for <br>
            >>> different node? For example I have a 2D
            subsurface flow problem with <br>
            >>> the default dof = 1 throughout the domain. Now
            I want to add some <br>
            >>> sparse fractures in the domain. For the nodes
            connected to the <br>
            >>> sparse fractures, I want to set dof to 2. Is it
            possible to set dof <br>
            >>> to 2 for those nodes only?<br>
            >>><br>
            >>> Thanks,<br>
            >>><br>
            >>> Danyang<br>
            >>><br>
          </blockquote>
        </div>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr" class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>What most experimenters take for granted before
                      they begin their experiments is infinitely more
                      interesting than any results to which their
                      experiments lead.<br>
                      -- Norbert Wiener</div>
                    <div><br>
                    </div>
                    <div><a href="http://www.cse.buffalo.edu/~knepley/"
                        target="_blank" moz-do-not-send="true">https://www.cse.buffalo.edu/~knepley/</a><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>