Re: [Libmesh-users] Access to sparsity pattern

2016-12-13 Thread Jonas Ballani
-users] Access to sparsity pattern On Mon, 12 Dec 2016, Jonas Ballani wrote: > I wondered if there is a way to access the SparsityPattern::Graph > corresponding to a DofMap object once the sparsity has been > computed. Your best bet may be to attach a callback function or functor to t

Re: [Libmesh-users] Access to sparsity pattern

2016-12-12 Thread Roy Stogner
On Mon, 12 Dec 2016, Jonas Ballani wrote: > I wondered if there is a way to access the SparsityPattern::Graph > corresponding to a DofMap object once the sparsity has been > computed. Your best bet may be to attach a callback function or functor to the DofMap. Those get called after the built-i

[Libmesh-users] Access to sparsity pattern

2016-12-12 Thread Jonas Ballani
Hi all, I wondered if there is a way to access the SparsityPattern::Graph corresponding to a DofMap object once the sparsity has been computed. In principle I could just loop over all elements in the mesh to mimic the graph myself but this looks rather redundant. Best, Jonas --