Re: [Libmesh-devel] DofObject::var_to_vg()

2018-06-20 Thread Derek Gaston
On Wed, Jun 20, 2018 at 2:06 PM Roy Stogner 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

Re: [Libmesh-devel] DofObject::var_to_vg()

2018-06-20 Thread Roy Stogner
On Wed, 20 Jun 2018, Derek Gaston wrote: Right now I have exactly _one_ var group (which makes this even more puzzling)... No kidding. How many variables in the group? and I'm trying to just pull out the first dof from that group using dof_indices().  I then do all the rest of my indexing

Re: [Libmesh-devel] DofObject::var_to_vg()

2018-06-20 Thread Derek Gaston
Interesting thoughts. Right now I have exactly _one_ var group (which makes this even more puzzling)... and I'm trying to just pull out the first dof from that group using dof_indices(). I then do all the rest of my indexing off of that first dof for all the other dofs in the group. Maybe there'

Re: [Libmesh-devel] DofObject::var_to_vg()

2018-06-20 Thread Roy Stogner
On Tue, 19 Jun 2018, Derek Gaston wrote: (Note: this falls into the category of "microptimization" but with my current app that's important). I've seen this method show up in other timings too... maybe it was RELAP-7? Anyway, if we can speed it up your current app won't be the only beneficia

[Libmesh-devel] DofObject::var_to_vg()

2018-06-19 Thread Derek Gaston
(Note: this falls into the category of "microptimization" but with my current app that's important). Something that consistently shows up in my timing with MOOSE and my new app is DofObject::var_to_vg(). It is gets called in a number of places throughout DofObject... and I'm wondering if it's cur