00001 #ifndef NMWR_GB_GRID_TO_METIS_H 00002 #define NMWR_GB_GRID_TO_METIS_H 00003 00004 // $LICENSE 00005 00006 #include <iostream> 00007 00008 00009 00010 00025 template<class GRID> 00026 extern void write_metis_cell_graph(GRID const& G, 00027 std::ostream& out); 00028 00043 template<class GRID, class FACETFCT> 00044 extern void write_metis_cell_graph_edge_weights(GRID const& G, 00045 FACETFCT const& weights, 00046 std::ostream& out); 00047 00048 00062 template<class GRID> 00063 extern int write_metis_mesh(GRID const& G, std::ostream& out); 00064 00065 00074 template<class GRID> 00075 extern int metis_cell_graph_size_of_xadj(GRID const& G); 00076 00082 template<class GRID> 00083 extern int metis_cell_graph_size_of_adjncy(GRID const& G); 00084 00085 00086 00098 template<class GRID> 00099 extern void metis_cell_graph_format(GRID const& G, 00100 int * xadj, int * vwgt, 00101 int * adjncy, int * adjwgt); 00102 00103 00104 #ifdef NMWR_INCLUDE_TEMPLATE_DEFS 00105 #include "Gral/Partitioning/internal/grid-to-metis.C" 00106 #endif 00107 00108 #endif 00109
1.2.11-20011104 written by Dimitri van Heesch,
© 1997-2000