getfem-commits
[Top][All Lists]
Advanced

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

[Getfem-commits] r5217 - in /trunk/getfem/doc/sphinx/source/userdoc: bme


From: Yves . Renard
Subject: [Getfem-commits] r5217 - in /trunk/getfem/doc/sphinx/source/userdoc: bmesh.rst gasm_high.rst
Date: Wed, 06 Jan 2016 07:29:09 -0000

Author: renard
Date: Wed Jan  6 08:29:07 2016
New Revision: 5217

URL: http://svn.gna.org/viewcvs/getfem?rev=5217&view=rev
Log:
minor modifications

Modified:
    trunk/getfem/doc/sphinx/source/userdoc/bmesh.rst
    trunk/getfem/doc/sphinx/source/userdoc/gasm_high.rst

Modified: trunk/getfem/doc/sphinx/source/userdoc/bmesh.rst
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/doc/sphinx/source/userdoc/bmesh.rst?rev=5217&r1=5216&r2=5217&view=diff
==============================================================================
--- trunk/getfem/doc/sphinx/source/userdoc/bmesh.rst    (original)
+++ trunk/getfem/doc/sphinx/source/userdoc/bmesh.rst    Wed Jan  6 08:29:07 2016
@@ -194,9 +194,11 @@
 convexes and convex faces. They are used to define boundaries, or a partition 
of
 the mesh for parallel solvers, etc.::
 
-  mymesh.region(30).add(3);   // add convex 3 into region 30
-  mymesh.region(30).add(4,3); // add face 3 of convex 4 into region 30
-  mymesh.sup_convex(4);       // the corresponding entry will be removed from 
mesh.region(30)
+  mymesh.region(30).add(2);   // adds convex 2 into region 30
+  mymesh.region(30).add(3);   // adds convex 3 into region 30
+  mymesh.region(30).add(4,3); // adds face 3 of convex 4 into region 30
+  mymesh.region(30).sup(3);   // Removes convex 3 from region 30
+  mymesh.sup_convex(4);       // Removes convex 4 from both the mesh and all 
the regions
   for (getfem::mr_visitor i(mymesh.region(30)); !i.finished(); ++i) {
     cout << "convex: " << i.cv() << " face:" << i.f() << endl;
   }

Modified: trunk/getfem/doc/sphinx/source/userdoc/gasm_high.rst
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/doc/sphinx/source/userdoc/gasm_high.rst?rev=5217&r1=5216&r2=5217&view=diff
==============================================================================
--- trunk/getfem/doc/sphinx/source/userdoc/gasm_high.rst        (original)
+++ trunk/getfem/doc/sphinx/source/userdoc/gasm_high.rst        Wed Jan  6 
08:29:07 2016
@@ -709,6 +709,25 @@
 
 Compared to other interpolate transformations, this transformation is more 
optimized and benefits from finite element and geometric transformation 
pre-computations.
 
+Evaluating discontinuities across inter-element edges/faces
+-----------------------------------------------------------
+
+A specific interpolate transformation (see previous section), called 
``neighbour_elt`` is defined by default in all models. This transformation can 
only be used when a computation is made on an internal edge/face of a mesh, 
i.e. an element face shared at least by two elements. It aims to compute 
discontinuity jumps of a variable across inter-element faces. It is 
particularly suitable to implement Discontinuous Galerkin and interior penalty 
methods, Ghost penalty terms or a posteriori estimators. The expressions::
+
+  Interpolate(Normal, neighbour_elt)
+  Interpolate(X, neighbour_elt)
+  Interpolate(u, neighbour_elt)
+  Interpolate(Grad_u, neighbour_elt)
+  Interpolate(Div_u, neighbour_elt)
+  Interpolate(Hess_u, neighbour_elt)
+  Interpolate(Test_u, neighbour_elt)
+  Interpolate(Grad_Test_u, neighbour_elt)
+  Interpolate(Div_Test_u, neighbour_elt)
+  Interpolate(Hess_Test_u, neighbour_elt)
+
+
+.. _ud-gasm-high-elem-trans:
+
 Elementary transformations
 --------------------------
 




reply via email to

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