Skip to content

Commit 9565f62

Browse files
author
Teseo Schneider
committed
added new test and updated polyfem for fixing diagnosting error
1 parent 1a80c9e commit 9565f62

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

cmake/PolyfemPythonDownloadExternal.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ endfunction()
2727
function(polyfem_python_download_polyfem)
2828
polyfem_python_download_project(polyfem
2929
GIT_REPOSITORY https://github.com/polyfem/polyfem.git
30-
GIT_TAG 5e3ff2cff7083dd92fb99b7a06d46cdc195f7032
30+
GIT_TAG 112a04d67931764e4f8b8f54034370a700bb6911
3131
)
3232
endfunction()
3333

test/test_plane_hole.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@
88

99
class BendingTest(unittest.TestCase):
1010
def test_run(self):
11+
self.run_one(1)
12+
self.run_one(2)
13+
14+
def run_one(self, discr_order):
1115
root_folder = os.path.join("..", "3rdparty.nosync" if platform.system() == 'Darwin' else "3rdparty", "data")
1216

1317
dir_path = os.path.dirname(os.path.realpath(__file__))
1418
mesh_path = os.path.join(dir_path, root_folder, "plane_hole.obj")
1519

1620
settings = pf.Settings()
17-
settings.discr_order = 1
21+
settings.discr_order = discr_order
1822
settings.normalize_mesh = True
1923
# settings.vismesh_rel_area = 0.1
2024

0 commit comments

Comments
 (0)