<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 18-02-23 03:04 AM, Matthew Knepley
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMYG4G=YsiW-rmPVER0i-j=a8HAkH21+8HnVBn3yP4v4a4HKzA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Fri, Feb 23, 2018 at 1:33 AM,
            Danyang Su <span dir="ltr"><<a
                href="mailto:danyang.su@gmail.com" target="_blank"
                moz-do-not-send="true">danyang.su@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
              <br>
              What cell types does DMPlexCreateFromCellList support? I
              test this with triangle, tetrahedron and prism. Both
              triangle and tetrahedron work but prism mesh throws error
              saying "Cone size 6 not supported for dimension 3".<br>
              <br>
              Could anyone tell me all the supported cell types?<br>
            </blockquote>
            <div><br>
            </div>
            <div>The limitation occurs in two places:</div>
            <div><br>
            </div>
            <div>  1) Calculating edges and faces: I only know how to do
              this for tri, tet, quad, and hex. Give PETSC_FALSE to
              CreateFromCellList() and this error will go away.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Passing PETSC_FALSE to CreateFromCellList() works. There is no
    problem in the distributed nodes and cells. Is there any plan to add
    prism(wedge) in the near future? <br>
    <br>
    <blockquote type="cite"
cite="mid:CAMYG4G=YsiW-rmPVER0i-j=a8HAkH21+8HnVBn3yP4v4a4HKzA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>      You could also provide the information for
              interpolating prisms, which would depend on how they are
              ordered when you read in cells.</div>
            <div><br>
            </div>
            <div>  2) Even if you read them in, I have no geometric
              routines for prisms.</div>
          </div>
        </div>
      </div>
    </blockquote>
    That's fine for me. I just need to create dmplex based on the given
    cell/vertex list and distribute over all the processors. Then follow
    the general routines that have been used in the structured grid.<br>
    <br>
    Thanks,<br>
    <br>
    Danyang<br>
    <blockquote type="cite"
cite="mid:CAMYG4G=YsiW-rmPVER0i-j=a8HAkH21+8HnVBn3yP4v4a4HKzA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div><br>
            </div>
            <div>  Thanks,</div>
            <div><br>
            </div>
            <div>     Matt</div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Thanks,<br>
              <br>
              Danyang<br>
              <br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature" data-smartmail="gmail_signature">
            <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.caam.rice.edu/%7Emk51/"
                      target="_blank" moz-do-not-send="true">https://www.cse.buffalo.edu/~knepley/</a><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>