On Tue, Aug 21, 2012 at 2:23 PM, David Knezevic
<dkneze...@seas.harvard.edu> wrote:
> I have a system with many decoupled variables, so I'd like to set
> entries of DofMap::_dof_coupling to zero (I presume that this means we
> get a sparser sparsity pattern, yes?)
>
> How is this meant to be done, do I set the _dof_coupling entries to zero
> after adding variables but before calling init()?

Basically.  I think you have to allocate it yourself, either on the
stack or on the heap, and set the _dof_coupling pointer manually
(doesn't seem to be a nice interface for this).

This is a little confusing... our underscore-prefixed variables are
usually protected/private.  Guess we should change that for
consistency.

-- 
John

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to