-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select element types/dimension/order to be built via cmake #1092
Conversation
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/1411/ |
Fixed it. |
Jenkins: OGS-6/Gui/Gui-Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Gui/job/Gui-Linux-PRs/1390/ |
Jenkins: OGS-6/Gui/Mac-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Gui/job/Mac-PRs/1281/ |
Jenkins: OGS-6/Gui/Win-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Gui/job/Win-PRs/1279/ |
At least for non-GUI. ^^ |
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/1417/ |
Be aware that when for example only pyramids are enabled the triangles and quads should also be available because of the boundary. ✅ |
Gonna rethink it. |
Also line element should be enabled by default because it is used as edge type to assign BCs for all types of element. |
The macro |
Note: Just added an error message for nonexistent mesh element types. 50269d1 |
@@ -0,0 +1,24 @@ | |||
# Definitions controlling which FEM elements will be compiled | |||
if(NOT OGS_MAX_ELEMENT_DIM MATCHES "^[0-9]$") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0-3 is sufficient. ✅
⏩ from my side. |
👍 |
Select element types/dimension/order to be built via cmake
OpenGeoSys development has been moved to GitLab. |
This PR adds the following cmake options, which enable selection of element types to be built via cmake. That possibly saves compile time. The effect will be more significant for fixed-size shape matrices, not so much for dynamically allocated ones.