mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
85 lines
2.7 KiB
Plaintext
85 lines
2.7 KiB
Plaintext
|
|
This file contains some test graphs and meshes
|
|
|
|
4elt.graph
|
|
copter2.graph
|
|
mdual.graph
|
|
These are small to medium size graphs corresponding to 2D and 3D
|
|
finite element mesh
|
|
|
|
test.mgraph
|
|
This is a very small graph with two vertex weights (multi-constraint)
|
|
|
|
metis.mesh
|
|
This is a small 2D mesh (It is a triangulation of 'METIS')
|
|
|
|
|
|
You can use them to test the various partitioning, and ordering routines.
|
|
For example try something like
|
|
|
|
../build/ARCH/kmetis 4elt.graph 40
|
|
../build/ARCH/onmetis 4elt.graph
|
|
../build/ARCH/pmetis test.mgraph 2
|
|
../build/ARCH/kmetis test.mgraph 2
|
|
../build/ARCH/kmetis test.mgraph 5
|
|
../build/ARCH/partnmesh metis.mesh 10
|
|
../build/ARCH/partdmesh metis.mesh 10
|
|
../build/ARCH/mesh2dual metis.mesh
|
|
../build/ARCH/kmetis metis.mesh.dgraph 10
|
|
|
|
and so on...
|
|
|
|
|
|
You can also use the 'mtest' program that tests the various partitioning
|
|
routines. Here is how the correct output of 'mtest 4elt.graph' should
|
|
look like.
|
|
|
|
prompt%: mtest 4elt.graph
|
|
**********************************************************************
|
|
METIS 4.0 Copyright 1998, Regents of the University of Minnesota
|
|
|
|
Graph Information ---------------------------------------------------
|
|
Name: 4elt.graph, #Vertices: 15606, #Edges: 45878
|
|
|
|
Testing METIS_PartGraphRecursive ------------------------------------
|
|
[1:ok][2:ok][3:ok][4:ok][5:ok][6:ok]
|
|
|
|
Testing METIS_WPartGraphRecursive -----------------------------------
|
|
[1:ok][2:ok][3:ok][4:ok][5:ok][6:ok]
|
|
|
|
Testing METIS_PartGraphKway -----------------------------------------
|
|
[1:ok][2:ok][3:ok][4:ok][5:ok][6:ok][7:ok][8:ok]
|
|
|
|
Testing METIS_WPartGraphKway ----------------------------------------
|
|
[1:ok][2:ok][3:ok][4:ok][5:ok][6:ok][7:ok][8:ok]
|
|
|
|
Testing METIS_PartGraphVKway ----------------------------------------
|
|
[1:ok][2:ok][3:ok][4:ok][5:ok][6:ok][7:ok]
|
|
|
|
Testing METIS_WPartGraphVKway ---------------------------------------
|
|
[1:ok][2:ok][3:ok][4:ok][5:ok][6:ok][7:ok]
|
|
|
|
Testing METIS_mCPartGraphRecursive ----------------------------------
|
|
[1:ok][2:ok][3:ok][4:ok][5:ok][6:ok][7:ok][8:ok][9:ok][10:ok]
|
|
[11:ok][12:ok]
|
|
|
|
Testing METIS_mCPartGraphKway ---------------------------------------
|
|
[1:ok][2:ok][3:ok][4:ok][5:ok][6:ok][7:ok][8:ok][9:ok][10:ok]
|
|
[11:ok][12:ok][13:ok][14:ok]
|
|
|
|
Testing METIS_EdgeND ------------------------------------------------
|
|
[1:ok][2:ok][3:ok]
|
|
|
|
Testing METIS_NodeND ------------------------------------------------
|
|
[1:ok][2:ok][3:ok][4:ok][5:ok][6:ok][7:ok][8:ok][9:ok][10:ok]
|
|
[11:ok][12:ok][13:ok]
|
|
|
|
Testing METIS_NodeWND -----------------------------------------------
|
|
[1:ok][2:ok][3:ok][4:ok][5:ok][6:ok]
|
|
|
|
---------------------------------------------------------------------
|
|
Testing completed.
|
|
**********************************************************************
|
|
|
|
|