<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 11, 2014 at 7:50 AM, Dharmendar Reddy <span dir="ltr"><<a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello,<br>
Where do i find the information on reference elements used by<br>
plex for local numbering.<br></blockquote><div><br></div><div>You can use</div><div><br></div><div> PetscDualSpaceCreateReferenceCell(sp, dim, isSimplex, &refCell)</div><div> PetscViewerPushFormat(PETSC_VIEWER_STDOUT_WORLD, PETSC_VIEWER_ASCII_INFO_DETAIL)</div>
<div> DMView(refCell, PETSC_VIEWER_STDOUT_WORLD)</div><div><br></div><div> Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I currently use the following for the tetrahedron. Is this correct ?<br>
what is the corresponding information for a triangle ?<br>
<br>
! Vertex coordiantes<br>
vert(1:3,1)=[0.0, 0.0, 0.0]<br>
vert(1:3,2)=[1.0, 0.0, 0.0]<br>
vert(1:3,3)=[0.0, 1.0, 0.0]<br>
vert(1:3,4)=[0.0, 0.0, 1.0]<br>
<br>
! vertex intdices<br>
vs(1:4)= [1, 2, 3, 4]<br>
<br>
! Edges id to node Id<br>
edge(:,1) = [3, 4]<br>
edge(:,2) = [2, 4]<br>
edge(:,3) = [2, 3]<br>
edge(:,4) = [1, 4]<br>
edge(:,5) = [1, 3]<br>
edge(:,6) = [1, 2]<br>
<br>
! Faces id to node id<br>
face(1:3,1)=[2,3,4]<br>
face(1:3,2)=[1,3,4]<br>
face(1:3,3)=[1,2,4]<br>
face(1:3,4)=[1,2,3]<br>
numFacet = 4<br>
<br>
! Tets<br>
tet(1:4,1) = [1,2,3,4]<br>
thanks<br>
<span class=""><font color="#888888">Reddy<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>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>