On Mon, 8 Jun 2015, Harshad Sahasrabudhe wrote:

> I tried to use CouplingMatrix in DofMap for building a "wrong" Jacobian
> just for the non-zero structure. Apparently the DofMap class contains a
> NULL pointer to the Coupling matrix. Do I need to call any function to
> initialize that?

Just a CouplingMatrix constructor.  (and make sure it's not destructed
too early; you're responsible for memory management)  Then reassign
that pointer.

This was kind of an "experimental" feature, mostly unused, for a long
time.  We should add a better accessor API...
---
Roy

------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to