Skip to content

Commit

Permalink
Merge branch 'miklos1/register-bernstein'
Browse files Browse the repository at this point in the history
* register-bernstein:
  register Bernstein element
  • Loading branch information
miklos1 committed Oct 27, 2018
2 parents d4587c1 + 0161c30 commit 5e6ed42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ufl/finiteelement/elementlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ def show_elements():
register_alias("Lob",
lambda family, dim, order, degree: ("Gauss-Lobatto-Legendre", order))

register_element2("Bernstein", 0, H1, "identity", (1, None), simplices)


# Let Nedelec H(div) elements be aliases to BDMs/RTs
register_alias("Nedelec 1st kind H(div)",
Expand Down

0 comments on commit 5e6ed42

Please sign in to comment.