On Wed, Jun 20, 2018 at 2:06 PM Roy Stogner <royst...@ices.utexas.edu>
wrote:

> No kidding.  How many variables in the group?
>

For my current problem: 8.  But the problems I'll actually be running tend
to have more like 64.


> You mean using dof_number()?  DofMap::dof_indices() will at minimum
> return you all the dofs for a single variable.
>

Yep - sorry about that


> No, but (if you're using dof_number()) it sounds like what you want is
> a dof_number_group() call instead.  Then you can determine vg and vig
> *once* rather than in each dof_number() call.
>

Yep - that would be good!


> Wait, I'm being stupid.  We don't actually have to make a pointer to
> it a member variable!  Every time we call dof_number() we're doing so
> with a DofMap in hand, so it would be easy to cache lookups there and
> then pass a DofMap * to the DofObject as an argument with which to
> access that cache.
>

Sounds good to me!

Derek
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to