Skip to content

Commit

Permalink
Merge pull request #136 from dolfin-adjoint/interp_tag
Browse files Browse the repository at this point in the history
Add test for interpolation method tag
  • Loading branch information
nbouziani committed Feb 21, 2024
2 parents f8cb3aa + 2f39c25 commit d752d79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/firedrake_adjoint/test_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"constant assign",
"function assign",
"project",
"interpolate_method",
"supermesh project",
"project method",
"supermesh project method",
Expand All @@ -34,6 +35,8 @@ def test_tags(tag):
f2.assign(1.0)
if tag == "function assign":
f1.assign(f2, ad_block_tag=tag)
elif tag == "interpolate_method":
f1.interpolate(f2, ad_block_tag=tag)
elif "project method" in tag:
f1.project(f2, ad_block_tag=tag)
elif "project" in tag:
Expand Down

0 comments on commit d752d79

Please sign in to comment.