| 591294e4 | 01-Oct-2009 |
Barry Smith <bsmith@mcs.anl.gov> |
added MatMeshToVertexGraph() per Glenn Hammond request.
Would it be possible to add a wrapper for:
call ParMETIS_V3_Mesh2Dual(idxtype *elmdist, idxtype *eptr, idxtype *eind, int *numflag, int *ncom
added MatMeshToVertexGraph() per Glenn Hammond request.
Would it be possible to add a wrapper for:
call ParMETIS_V3_Mesh2Dual(idxtype *elmdist, idxtype *eptr, idxtype *eind, int *numflag, int *ncommonnodes, idxtype **xadj, idxtype **adjncy, MPI Comm *comm)
I am using this routine to compute the graph for my unstructured grid prior to passing the graph to the partitioning algorithm. However, from the Fortran side, the arrays **xadj and **adjncy are kicking my tail since they are allocated within ParMETIS through C. There are all kinds of kludges to employ as workarounds, but I figure it would be best to just access the routine through PETSc as you have your own solutions for Fortran/C addressing. What do you think?
Hg-commit: 4f79adfeae65c2215d726c3eede11b29934ca09d
show more ...
|