-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feature][ElementTypes] Added 4d types pentatope (4d simplex) and tes…
…seract (4d cube). (#95) Co-authored-by: Jack S. Hale <[email protected]> Co-authored-by: David A. Ham <[email protected]> Co-authored-by: Matthew Scroggs <[email protected]>
- Loading branch information
1 parent
a49736c
commit ef3c7ae
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
# Modified by Marie E. Rognes <[email protected]>, 2010 | ||
# Modified by Lizao Li <[email protected]>, 2015, 2016 | ||
# Modified by Massimiliano Leoni, 2016 | ||
# Modified by Robert Kloefkorn, 2022 | ||
|
||
import warnings | ||
from numpy import asarray | ||
|
@@ -82,12 +83,12 @@ def show_elements(): | |
# the future, add mapping name as another element property. | ||
|
||
# Cell groups | ||
simplices = ("interval", "triangle", "tetrahedron") | ||
cubes = ("interval", "quadrilateral", "hexahedron") | ||
simplices = ("interval", "triangle", "tetrahedron", "pentatope") | ||
cubes = ("interval", "quadrilateral", "hexahedron", "tesseract") | ||
any_cell = (None, | ||
"vertex", "interval", | ||
"triangle", "tetrahedron", "prism", | ||
"pyramid", "quadrilateral", "hexahedron") | ||
"pyramid", "quadrilateral", "hexahedron", "pentatope", "tesseract") | ||
|
||
# Elements in the periodic table # TODO: Register these as aliases of | ||
# periodic table element description instead of the other way around | ||
|