]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
creation of a renumbering tool that :
authorvbd <vbd>
Tue, 15 Sep 2009 10:19:02 +0000 (10:19 +0000)
committervbd <vbd>
Tue, 15 Sep 2009 10:19:02 +0000 (10:19 +0000)
- 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)

resources/Test2D.med [new file with mode: 0644]
resources/Test2Dpoly.med [new file with mode: 0644]
resources/Test3D.med [new file with mode: 0644]
resources/Test3Dpoly.med [new file with mode: 0644]
src/RENUMBER/testRenumbering.py

diff --git a/resources/Test2D.med b/resources/Test2D.med
new file mode 100644 (file)
index 0000000..8f651af
Binary files /dev/null and b/resources/Test2D.med differ
diff --git a/resources/Test2Dpoly.med b/resources/Test2Dpoly.med
new file mode 100644 (file)
index 0000000..7d56fed
Binary files /dev/null and b/resources/Test2Dpoly.med differ
diff --git a/resources/Test3D.med b/resources/Test3D.med
new file mode 100644 (file)
index 0000000..48eccd7
Binary files /dev/null and b/resources/Test3D.med differ
diff --git a/resources/Test3Dpoly.med b/resources/Test3Dpoly.med
new file mode 100644 (file)
index 0000000..6217094
Binary files /dev/null and b/resources/Test3Dpoly.med differ
index 2ffba9d47b14322a5e34de86874c8c968ecf0627..464eae017fb509f6cf9fa4f446ce91365b193314 100755 (executable)
@@ -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"