Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-codegen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Christian Heinigk
dune-codegen
Commits
204ffcde
Commit
204ffcde
authored
7 years ago
by
Dominic Kempf
Browse files
Options
Downloads
Patches
Plain Diff
Update UFL to 2017.2
parent
201fe2b8
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitmodules
+1
-1
1 addition, 1 deletion
.gitmodules
patches/apply_patches.sh
+0
-4
0 additions, 4 deletions
patches/apply_patches.sh
patches/ufl/tensor-product-element.patch
+0
-19
0 additions, 19 deletions
patches/ufl/tensor-product-element.patch
python/ufl
+1
-1
1 addition, 1 deletion
python/ufl
with
2 additions
and
25 deletions
.gitmodules
+
1
−
1
View file @
204ffcde
...
...
@@ -3,7 +3,7 @@
url = https://gitlab.tiker.net/inducer/loopy.git
[submodule "python/ufl"]
path = python/ufl
url = https://
parcomp-git.iwr.uni-heidelberg.de/dominic
/ufl.git
url = https://
bitbucket.org/fenics-project
/ufl.git
[submodule "python/pymbolic"]
path = python/pymbolic
url = https://github.com/inducer/pymbolic.git
...
...
This diff is collapsed.
Click to expand it.
patches/apply_patches.sh
+
0
−
4
View file @
204ffcde
...
...
@@ -13,7 +13,3 @@ pushd python/ufl
git apply ../../patches/ufl/conditional-uflid.patch
git apply ../../patches/ufl/0001-Remove-special-case-for-variable-in-ufl2dot.patch
popd
pushd
python/ufl
git apply ../../patches/ufl/tensor-product-element.patch
popd
This diff is collapsed.
Click to expand it.
patches/ufl/tensor-product-element.patch
deleted
100644 → 0
+
0
−
19
View file @
201fe2b8
commit f87dcd18d765b0200808b79b2e7374f82a0c6199
Author: René Heß <rene.hess@iwr.uni-heidelberg.de>
Date: Tue Aug 29 14:56:17 2017 +0200
Patch for TensorProductElements
diff --git a/ufl/algorithms/compute_form_data.py b/ufl/algorithms/compute_form_data.py
index 3388bbfc..1cef3924 100644
--- a/ufl/algorithms/compute_form_data.py
+++ b/ufl/algorithms/compute_form_data.py
@@ -56,7 +56,7 @@
def _auto_select_degree(elements):
"""
# Use max degree of all elements, at least 1 (to work with
# Lagrange elements)
- return max({e.degree() for e in elements} - {None} | {1})
+ return max({e.degree() if not isinstance(e.degree(), tuple) else max(e.degree()) for e in elements} - {None} | {1})
def _compute_element_mapping(form):
This diff is collapsed.
Click to expand it.
ufl
@
5a9593c9
Subproject commit
962d56f65821fb9c50ca4a5a858882c472243431
Subproject commit
5a9593c956fc843eee6ce3a2ae2b9cbc4aec62bf
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment