[petsc-users] nnz's in finite element stiffness matrix

2010-09-08 Thread Matthew Knepley
On Wed, Sep 8, 2010 at 2:28 AM, Dave Makhija makhijad at colorado.edu wrote: I used to have a decent setup that worked as follows: 1. Build node-element table (For a given node, which elements contain this node. You may already have this) OR build a node connectivity table (For a given node,

[petsc-users] nnz's in finite element stiffness matrix

2010-09-07 Thread stali
Petsc-users How can I efficiently calculate the _exact_ number of non-zeros that would be in the global sparse (stiffness) matrix given an unstructured mesh? Thanks

[petsc-users] nnz's in finite element stiffness matrix

2010-09-07 Thread Dave Makhija
I used to have a decent setup that worked as follows: 1. Build node-element table (For a given node, which elements contain this node. You may already have this) OR build a node connectivity table (For a given node, which nodes are connected). 2. Build element-node table (For a given element,