getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] (no subject)


From: Yves Renard
Subject: [Getfem-commits] (no subject)
Date: Thu, 1 Jun 2017 04:49:53 -0400 (EDT)

branch: devel-yves
commit 4d971b35beb630ef33d39b2d9a9687328f64852e
Author: Yves Renard <address@hidden>
Date:   Thu Jun 1 08:58:11 2017 +0200

    adding pyramid element on mesh documentation
---
 doc/sphinx/source/userdoc/bmesh.rst                |  10 +-
 .../source/userdoc/images/getfemuserelem.fig       | 146 ++++++++++-----------
 2 files changed, 79 insertions(+), 77 deletions(-)

diff --git a/doc/sphinx/source/userdoc/bmesh.rst 
b/doc/sphinx/source/userdoc/bmesh.rst
index ac67633..580fb86 100644
--- a/doc/sphinx/source/userdoc/bmesh.rst
+++ b/doc/sphinx/source/userdoc/bmesh.rst
@@ -109,15 +109,16 @@ Specialized functions exist also::
   mymesh.add_prism_by_points(N, itp);
 
 The order of the points in the array of points is not important for simplices 
-(except if you care about the orientation of your simplices). For other 
elements, 
-it is important to respect the order shown in :ref:`ud-fig-elem`.
+(except if you care about the orientation of your simplices). For other 
elements, it is important to respect the vertex order shown in 
:ref:`ud-fig-elem` (first order elements).
 
 .. _ud-fig-elem:
 .. figure:: images/getfemuserelem.png
    :align: center
-   :width: 12cm
+   :width: 15cm
+
+   Vertex numeration for usual first order elements
 
-   vertex numeration for usual elements
+Note that a general rule, including for higher order transformations, is that 
the vertex numeration follows the one of the corresponding Lagrange finite 
element method (see  :ref:`ud-appendixa`).
 
 
 Remove an element from a mesh
@@ -155,6 +156,7 @@ More specialized regular mesh functions are also available::
 
   getfem::parallelepiped_regular_simplex_mesh(mymesh, N, org, ivect, iref);
   getfem::parallelepiped_regular_prism_mesh(mymesh, N, org, ivect, iref);
+  getfem::parallelepiped_regular_pyramid_mesh(mymesh, N, org, ivect, iref);
   getfem::parallelepiped_regular_mesh(mymesh, N, org, ivect, iref);
 
 where ``mymesh`` is a mesh variable in which the structured mesh will be built,
diff --git a/doc/sphinx/source/userdoc/images/getfemuserelem.fig 
b/doc/sphinx/source/userdoc/images/getfemuserelem.fig
index 69bcb53..1eb157f 100644
--- a/doc/sphinx/source/userdoc/images/getfemuserelem.fig
+++ b/doc/sphinx/source/userdoc/images/getfemuserelem.fig
@@ -1,4 +1,4 @@
-#FIG 3.2  Produced by xfig version 3.2.5a
+#FIG 3.2  Produced by xfig version 3.2.5c
 Landscape
 Center
 Metric
@@ -7,86 +7,86 @@ A4
 Single
 -2
 1200 2
-6 0 0 11250 8802
-6 154 6345 2509 8792
-2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2
-        306 8435 1586 7155
-2 3 0 1 0 7 49 0 -1 0.000 1 0 -1 0 0 4
-        309 6388 1586 7155 2353 8432 309 6388
-2 3 0 1 0 7 50 0 -1 0.000 1 0 -1 0 0 4
-        306 6388 306 8435 2353 8435 306 6388
-4 0 0 50 0 0 15 0.0000 4 165 1125 664 8792 tetrahedron\001
-4 0 0 50 0 0 15 0.0000 4 165 120 154 8638 0\001
-4 0 0 50 0 0 15 0.0000 4 165 120 2404 8586 1\001
-4 0 0 50 0 0 15 0.0000 4 165 120 154 6492 2\001
-4 0 0 50 0 0 15 0.0000 4 165 120 1738 7155 3\001
--6
-6 3221 5111 6904 8802
-2 1 0 1 0 7 50 0 -1 0.000 1 1 -1 0 0 2
-        5419 8435 6698 7155
-2 1 0 1 0 7 50 0 -1 0.000 1 1 -1 0 0 2
-        3375 6388 4651 5111
-2 1 0 1 0 7 50 0 -1 0.000 1 1 -1 0 0 2
-        4651 5111 6698 7155
-2 3 0 1 0 7 50 0 -1 0.000 1 0 -1 0 0 4
-        3375 8435 3375 6388 5419 8435 3375 8435
 2 1 1 1 0 7 50 0 -1 4.000 1 1 -1 0 0 2
         3375 8435 4651 7155
 2 3 1 1 0 7 50 0 -1 4.000 1 0 -1 0 0 4
         4651 7155 4651 5111 6698 7155 4651 7155
-4 0 0 50 0 0 15 0.0000 4 225 570 4191 8740 prism\001
-4 0 0 50 0 0 15 0.0000 4 165 120 3221 8586 0\001
-4 0 0 50 0 0 15 0.0000 4 165 120 5625 8690 1\001
-4 0 0 50 0 0 15 0.0000 4 165 120 3221 6441 2\001
-4 0 0 50 0 0 15 0.0000 4 165 120 4704 7361 3\001
-4 0 0 50 0 0 15 0.0000 4 165 120 6800 7256 4\001
-4 0 0 50 0 0 15 0.0000 4 165 120 4395 5262 5\001
--6
-6 7465 5015 11250 8792
-2 1 0 1 0 7 50 0 -1 0.000 1 1 -1 0 0 3
-        7719 6388 8998 5111 11044 5111
-2 3 0 1 0 7 50 0 -1 0.000 1 0 -1 0 0 5
-        11044 5111 9765 6388 9765 8435 11044 7155 11044 5111
-2 3 0 1 0 7 50 0 -1 0.000 1 0 -1 0 0 5
-        7719 6388 7719 8435 9765 8435 9765 6388 7719 6388
 2 1 1 1 0 7 50 0 -1 4.000 1 1 -1 0 0 2
         7719 8435 8998 7155
 2 1 1 1 0 7 50 0 -1 4.000 1 1 -1 0 0 2
         8998 7155 11044 7155
 2 1 1 1 0 7 50 0 -1 4.000 1 1 -1 0 0 2
         8998 5111 8998 7155
-4 0 0 50 0 0 15 0.0000 4 165 1125 8588 8792 hexahedron\001
-4 0 0 50 0 0 15 0.0000 4 165 120 7465 8586 0\001
-4 0 0 50 0 0 15 0.0000 4 165 120 10021 8638 1\001
-4 0 0 50 0 0 15 0.0000 4 165 120 7465 6492 2\001
-4 0 0 50 0 0 15 0.0000 4 165 120 9969 6492 3\001
-4 0 0 50 0 0 15 0.0000 4 165 120 9049 7361 4\001
-4 0 0 50 0 0 15 0.0000 4 165 120 11145 7361 5\001
-4 0 0 50 0 0 15 0.0000 4 165 120 8741 5163 6\001
-4 0 0 50 0 0 15 0.0000 4 165 120 11145 5163 7\001
--6
-6 3068 2460 5729 4970
-2 3 0 1 0 7 50 0 -1 0.000 1 0 -1 0 0 5
-        3375 2556 3375 4601 5419 4601 5419 2556 3375 2556
-4 0 0 50 0 0 15 0.0000 4 225 1320 3836 4907 quadrilateron\001
-4 0 0 50 0 0 15 0.0000 4 165 120 3068 4703 0\001
-4 0 0 50 0 0 15 0.0000 4 165 120 5625 4753 1\001
-4 0 0 50 0 0 15 0.0000 4 165 120 3169 2605 2\001
-4 0 0 50 0 0 15 0.0000 4 165 120 5625 2605 3\001
--6
-6 0 2556 2611 5000
-2 3 0 1 0 7 50 0 -1 0.000 1 0 -1 0 0 4
-        306 4601 306 2556 2353 4601 306 4601
-4 0 0 50 0 0 15 0.0000 4 225 765 766 4957 triangle\001
-4 0 0 50 0 0 15 0.0000 4 165 120 0 4703 0\001
-4 0 0 50 0 0 15 0.0000 4 165 120 2506 4703 1\001
-4 0 0 50 0 0 15 0.0000 4 165 120 53 2710 2\001
--6
-6 0 0 1093 2392
-2 1 0 1 0 7 50 0 -1 0.000 1 1 -1 0 0 2
+2 1 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 2
         306 0 306 2046
-4 0 0 50 0 0 15 0.0000 4 225 855 359 2351 Segment\001
-4 0 0 50 0 0 15 0.0000 4 165 120 0 2095 0\001
-4 0 0 50 0 0 15 0.0000 4 165 120 0 154 1\001
--6
--6
+2 3 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 4
+        306 4601 306 2556 2353 4601 306 4601
+2 3 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 5
+        3375 2556 3375 4601 5419 4601 5419 2556 3375 2556
+2 3 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 4
+        309 6388 1586 7155 2353 8432 309 6388
+2 3 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 4
+        306 6388 306 8435 2353 8435 306 6388
+2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2
+        306 8435 1586 7155
+2 3 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 4
+        3375 8435 3375 6388 5419 8435 3375 8435
+2 1 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 2
+        3375 6388 4651 5111
+2 1 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 2
+        4651 5111 6698 7155
+2 1 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 2
+        5419 8435 6698 7155
+2 3 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 5
+        7719 6388 7719 8435 9765 8435 9765 6388 7719 6388
+2 1 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 3
+        7719 6388 8998 5111 11044 5111
+2 3 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 5
+        11044 5111 9765 6388 9765 8435 11044 7155 11044 5111
+2 3 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 4
+        13500 6075 11972 8210 14019 8210 13500 6075
+2 3 0 2 0 7 50 0 -1 0.000 0 0 7 0 0 4
+        13500 6075 15300 6930 14019 8207 13500 6075
+2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 3
+        11972 8210 13230 6930 15300 6930
+2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2
+        13230 6930 13500 6075
+4 0 0 50 0 0 15 0.0000 4 225 930 359 2351 Segment\001
+4 0 0 50 0 0 15 0.0000 4 165 135 0 2095 0\001
+4 0 0 50 0 0 15 0.0000 4 165 135 0 154 1\001
+4 0 0 50 0 0 15 0.0000 4 240 825 766 4957 triangle\001
+4 0 0 50 0 0 15 0.0000 4 165 135 0 4703 0\001
+4 0 0 50 0 0 15 0.0000 4 165 135 2506 4703 1\001
+4 0 0 50 0 0 15 0.0000 4 165 135 53 2710 2\001
+4 0 0 50 0 0 15 0.0000 4 240 1440 3836 4907 quadrilateron\001
+4 0 0 50 0 0 15 0.0000 4 165 135 3068 4703 0\001
+4 0 0 50 0 0 15 0.0000 4 165 135 5625 4753 1\001
+4 0 0 50 0 0 15 0.0000 4 165 135 3169 2605 2\001
+4 0 0 50 0 0 15 0.0000 4 165 135 5625 2605 3\001
+4 0 0 50 0 0 15 0.0000 4 180 1230 664 8792 tetrahedron\001
+4 0 0 50 0 0 15 0.0000 4 165 135 154 8638 0\001
+4 0 0 50 0 0 15 0.0000 4 165 135 2404 8586 1\001
+4 0 0 50 0 0 15 0.0000 4 165 135 154 6492 2\001
+4 0 0 50 0 0 15 0.0000 4 165 135 1738 7155 3\001
+4 0 0 50 0 0 15 0.0000 4 225 600 4191 8740 prism\001
+4 0 0 50 0 0 15 0.0000 4 165 135 3221 8586 0\001
+4 0 0 50 0 0 15 0.0000 4 165 135 5625 8690 1\001
+4 0 0 50 0 0 15 0.0000 4 165 135 3221 6441 2\001
+4 0 0 50 0 0 15 0.0000 4 165 135 4704 7361 3\001
+4 0 0 50 0 0 15 0.0000 4 165 135 6800 7256 4\001
+4 0 0 50 0 0 15 0.0000 4 165 135 4395 5262 5\001
+4 0 0 50 0 0 15 0.0000 4 180 1260 8588 8792 hexahedron\001
+4 0 0 50 0 0 15 0.0000 4 165 135 7465 8586 0\001
+4 0 0 50 0 0 15 0.0000 4 165 135 10021 8638 1\001
+4 0 0 50 0 0 15 0.0000 4 165 135 7465 6492 2\001
+4 0 0 50 0 0 15 0.0000 4 165 135 9969 6492 3\001
+4 0 0 50 0 0 15 0.0000 4 165 135 9049 7361 4\001
+4 0 0 50 0 0 15 0.0000 4 165 135 11145 7361 5\001
+4 0 0 50 0 0 15 0.0000 4 165 135 8741 5163 6\001
+4 0 0 50 0 0 15 0.0000 4 165 135 11145 5163 7\001
+4 0 0 50 0 0 15 0.0000 4 240 885 12330 8567 pyramid\001
+4 0 0 50 0 0 15 0.0000 4 165 135 11820 8413 0\001
+4 0 0 50 0 0 15 0.0000 4 165 135 14070 8361 1\001
+4 0 0 50 0 0 15 0.0000 4 165 135 13404 6930 2\001
+4 0 0 50 0 0 15 0.0000 4 165 135 15345 6930 3\001
+4 0 0 50 0 0 15 0.0000 4 165 135 13455 5985 4\001



reply via email to

[Prev in Thread] Current Thread [Next in Thread]