<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Feb 23, 2018 at 12:23 PM, Danyang Su <span dir="ltr"><<a href="mailto:danyang.su@gmail.com" target="_blank">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">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="m_4143293119683876465moz-cite-prefix">On 18-02-23 03:04 AM, Matthew Knepley
      wrote:<br>
    </div>
    <blockquote type="cite">
      <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">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></div></blockquote><div><br></div><div> Its not hard. We would just need to add one more function. However, I would want to make sure that it conformed to what</div><div>most people want. I would like it to match the Firedrake definition for extruded meshes.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
    <blockquote type="cite">
      <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></div></blockquote><div><br></div><div>Okay, then that should work now.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
    Thanks,<br>
    <br>
    Danyang<br>
    <blockquote type="cite">
      <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"><span class="HOEnZb"><font color="#888888">
          <div><br>
          </div>
          -- <br>
          <div class="m_4143293119683876465gmail_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">https://www.cse.buffalo.edu/~<wbr>knepley/</a><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </font></span></div>
      </div>
    </blockquote>
    <br>
  </div>

</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/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div>
</div></div>