From: vbd Date: Tue, 15 Sep 2009 10:19:02 +0000 (+0000) Subject: creation of a renumbering tool that : X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8b539cbe20df243000b6f9b7e8912b97dad2136e;p=tools%2Fmedcoupling.git creation of a renumbering tool that : - takes as input a MED file (with only one cell type) - as output creates another file with the same topology, but with renumbered cells so that the mesh is more suitable for numerical computation. The renumbering can be computed with reverse cuthill mckee algorithm (boost) or with nested dissection (metis) --- diff --git a/resources/Test2D.med b/resources/Test2D.med new file mode 100644 index 000000000..8f651af39 Binary files /dev/null and b/resources/Test2D.med differ diff --git a/resources/Test2Dpoly.med b/resources/Test2Dpoly.med new file mode 100644 index 000000000..7d56fed90 Binary files /dev/null and b/resources/Test2Dpoly.med differ diff --git a/resources/Test3D.med b/resources/Test3D.med new file mode 100644 index 000000000..48eccd7a6 Binary files /dev/null and b/resources/Test3D.med differ diff --git a/resources/Test3Dpoly.med b/resources/Test3Dpoly.med new file mode 100644 index 000000000..621709411 Binary files /dev/null and b/resources/Test3Dpoly.med differ diff --git a/src/RENUMBER/testRenumbering.py b/src/RENUMBER/testRenumbering.py index 2ffba9d47..464eae017 100755 --- a/src/RENUMBER/testRenumbering.py +++ b/src/RENUMBER/testRenumbering.py @@ -7,8 +7,8 @@ import sys ## *************** ## *** TEST 2D *** ## *************** -dir_renumber="~/Renumbering/MED_INSTALL/bin/salome/renumber" -dir_mesh="." +dir_renumber="../../../MED_INSTALL/bin/salome/renumber" +dir_mesh="../../resources" filename="Test2D.med" meshname="Mesh_1"