MeshCreateDualCSR

Returns the dual of the mesh in distributed CSR format

Synopsis

#include "mesh.h" 
int MeshCreateDualCSR(Mesh mesh, int **elemOffsets, int **elemNeighbors, int **edgeWeights, int weight)
Collective on Mesh

Input Parameter

mesh -The mesh

Output Parameters

elemOffsets - List of offsets into the neighbor array for each element
elemNeighbors - List of element neighbors
edgeWeights - [Optional] List of edge weights for the dual graph
weight - [Optional] Weight for each edge

Keywords

mesh, partition, dual

See Also

MeshDestroyDualCSR(), MeshPartition()

Level:advanced
Location:
src/mesh/interface/meshCSR.c
Index of all Mesh routines
Table of Contents for all manual pages
Index of all manual pages