Re: [Libmesh-users] [Libmesh-devel] FEMContext and FEAbstract (fwd)

2012-10-29 Thread Paul T. Bauman
r6248 has accessors for FEMContext. Will finish up non-rb examples tomorrow. Let me know if there are any issues. Best, Paul -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download A

Re: [Libmesh-users] [Libmesh-devel] FEMContext and FEAbstract (fwd)

2012-10-29 Thread Paul T. Bauman
No one seems to care and, after talking to Roy in meat space, he didn't seem to mind too terribly much if I kept the current API, so I did. DiffContext accessors (and fem_system_ex1 update) committed in r6247. FEMContext coming soon. Thanks!

Re: [Libmesh-users] Plotting a subset of systems from an EquationSystems

2012-10-29 Thread David Knezevic
On 10/29/2012 11:13 PM, Paul T. Bauman wrote: > On Mon, Oct 29, 2012 at 10:09 PM, Roy Stogner > mailto:royst...@ices.utexas.edu>> wrote: > > While we're at it should we just go whole hog and > figure out how to supply a list of sysname/varname pairs if desired > too? That FEType para

Re: [Libmesh-users] Plotting a subset of systems from an EquationSystems

2012-10-29 Thread Paul T. Bauman
On Mon, Oct 29, 2012 at 10:09 PM, Roy Stogner wrote: > While we're at it should we just go whole hog and > figure out how to supply a list of sysname/varname pairs if desired > too? That FEType parameter is kind of a poor hack. That'll be a bit more work, I think, because Exodus output, for exa

Re: [Libmesh-users] Plotting a subset of systems from an EquationSystems

2012-10-29 Thread Roy Stogner
On Mon, 29 Oct 2012, David Knezevic wrote: > The attached patch does the job for me. Let me know if there are any > suggestions, otherwise I'll go ahead and check it in. Looks good. While we're at it should we just go whole hog and figure out how to supply a list of sysname/varname pairs if de

Re: [Libmesh-users] Plotting a subset of systems from an EquationSystems

2012-10-29 Thread David Knezevic
The attached patch does the job for me. Let me know if there are any suggestions, otherwise I'll go ahead and check it in. David On 10/29/2012 07:18 PM, Kirk, Benjamin (JSC-EG311) wrote: That would be a very, very welcome patch. -Ben On Oct 29, 2012, at 4:30 PM, "David Knezevic" wrote

Re: [Libmesh-users] Plotting a subset of systems from an EquationSystems

2012-10-29 Thread Kirk, Benjamin (JSC-EG311)
That would be a very, very welcome patch. -Ben On Oct 29, 2012, at 4:30 PM, "David Knezevic" wrote: > I'd like to be able to plot data from a subset of the Systems in an > EquationSystems object. I generally use write_equation_systems, which > writes out data from all the systems. I didn'

[Libmesh-users] Plotting a subset of systems from an EquationSystems

2012-10-29 Thread David Knezevic
I'd like to be able to plot data from a subset of the Systems in an EquationSystems object. I generally use write_equation_systems, which writes out data from all the systems. I didn't notice functionality for specifying a subset of the systems, but I wanted to check? Otherwise, I guess a patch

Re: [Libmesh-users] [Libmesh-devel] FEMContext and FEAbstract (fwd)

2012-10-29 Thread Paul T. Bauman
On Sun, Oct 28, 2012 at 6:56 PM, Roy Stogner wrote: > > You could probably leave it to David or one of the other rbOOmit > people to fix up the reduced_basis internal code. In any case it's > not urgent that library code be *using* the accessors before the next > release, it's just critical that

Re: [Libmesh-users] [Libmesh-devel] Averaging element fields to the nodes.

2012-10-29 Thread Roy Stogner
On Mon, 29 Oct 2012, Kirk, Benjamin (JSC-EG311) wrote: I don't think there are any examples that currently show this - I'll try to add one after the next release. See the attached ~300 lines of code. It reads a mesh and solution, L2 projects and then plots all gradient components of all solu

Re: [Libmesh-users] Averaging element fields to the nodes.

2012-10-29 Thread Kirk, Benjamin (JSC-EG311)
That method lets you conveniently access all the elements sharing a given node, which is not what you want in this case. The usual way to do this is by solving an L2 projection onto a continuous field - think of this as finding the continuous gradient field that best approximates your disconti

[Libmesh-users] Averaging element fields to the nodes.

2012-10-29 Thread Subramanya Gautam Sadasiva
Hi, I need to extrapolate element fields to the nodes in order to compute approximate gradients for some quantities defined at the quadrature points. What is the easiest way to accomplish this? I saw meshtools has a nodes to elem map function.Does this work for parallel meshes? Thanks. Subraman