MeshCreateFullCSR

Returns the full mesh including all nodes in CSR format.

Synopsis

#include "mesh.h" 
int MeshCreateFullCSR(Mesh mesh, PetscTruth constrain, int *numVertices, int *numEdges, int **vertOffsets, int **vertNeighbors)
Not collective

Input Parameters

mesh - The mesh
constrain - The flag for including connection between constrained nodes

Output Parameters

numVertices - The number of vertices in the graph
numEdges - The number of edges in the graph.
vertOffsets - List of offsets into the neighbor array for each vertex
vertNeighbors - List of vertex neighbors

Keywords

mesh, partition, CSR

See Also

MeshDestroyFullCSR(), 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