Fundamentals of elements. #836
Replies: 4 comments 10 replies
-
What is meant by "cutting connectivity" in the description of scikit-fem/skfem/element/element_dg.py Lines 4 to 5 in c25c9a8 |
Beta Was this translation helpful? Give feedback.
-
Derivative is not continuous. These are all "H^1-conforming elements" meaning that only the value is continuous. Elements that have continuous derivatives are called "H^2-conforming elements", e.g., |
Beta Was this translation helpful? Give feedback.
-
Sure! Makes sense. I think that is from
Possibly yes but maintaining such a list can be tedious. Any ideas welcome. |
Beta Was this translation helpful? Give feedback.
-
Almost, except that the |
Beta Was this translation helpful? Give feedback.
-
I'm trying to write down some "elements for beginners" type notes. Are these statements correct?
Note:
Tri
can be changed toQuad
when using quadratic meshes instead of triangular meshes.ElementTriP0
Piecewise constant over the mesh cell. Discontinuous (having two values) on the boundary between cells.ElementTriP1
Piecewise linear over the mesh cell. Continuity enforced at boundary. Derivative is discontinuous at boundary.* For beginners, start here. This element can solve a huge space of problems, especially with refined meshes.
ElementTriPx
Piecewise quadratic, etc. over the mesh cell. Continuity enforced at boundary. Derivative is also continuous.* Only use when solution is quite smooth, because of the enforcement of continuous derivate(s).
ElementTriRT0
Lowest order Raviart-Thomas element. Divergence of a function inElementTriRT0
will be inElementTriP0
.ElementDG(element)
will remove the continuity constraints at the boundary. Note thatElementDG(ElementTriP0()) == ElementTriP0()
Edit: should I expand the
Element
class docstrings with this info so it ends up in https://scikit-fem.readthedocs.io/en/latest/api.html#module-skfem.element?Edit 2: I assume
.. autosummary::
will only include the first line of the docstring... perhaps the element names should be links to respective element pages with notes, caveats, and an example usage of that element?Beta Was this translation helpful? Give feedback.
All reactions