Re: [Libmesh-devel] muparser support?

2012-01-27 Thread Roy Stogner
On Fri, 27 Jan 2012, John Peterson wrote: On Friday, January 27, 2012, Roy Stogner wrote: > > > On Fri, 27 Jan 2012, John Peterson wrote: > >> http://warp.povusers.org/FunctionParser/ >> >> ?  I haven't tried mu, but the above works pretty well for us. > > What are your experiences with the op

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread John Peterson
On Friday, January 27, 2012, Roy Stogner wrote: > > > On Fri, 27 Jan 2012, John Peterson wrote: > >> http://warp.povusers.org/FunctionParser/ >> >> ? I haven't tried mu, but the above works pretty well for us. > > What are your experiences with the optimizer code? Worth the extra > code, hassle

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread John Peterson
> So my last question: if I put Warp's fparser in libMesh contrib, will > that be too much of a hassle for you guys when it conflicts with your > apps' local installation? We'd either start using it directly, or configure it off if for some reason we couldn't, so it shouldn't be an issue. -- John

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread Roy Stogner
On Fri, 27 Jan 2012, John Peterson wrote: http://warp.povusers.org/FunctionParser/ ?  I haven't tried mu, but the above works pretty well for us. What are your experiences with the optimizer code? Worth the extra code, hassle of testing for bison, etc? --- Roy--

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread Roy Stogner
On Fri, 27 Jan 2012, John Peterson wrote: Any support there for vector-valued functions?  It looks like it fixes f: R^N -> R^N? f: R^M -> R^N, but yeah. I don't think I've used it that way, but maybe you could wrap your own class around several scalar fparser objects... In hindsight tha

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread John Peterson
On Fri, Jan 27, 2012 at 12:14 PM, Roy Stogner wrote: > > On Fri, 27 Jan 2012, John Peterson wrote: > >> On Friday, January 27, 2012, David Knezevic >> wrote: >> > This could be very beneficial for the reduced basis code as well, so I'm >> > all for it too! >> >> Have you ever tried >> >> http://w

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread Roy Stogner
On Fri, 27 Jan 2012, John Peterson wrote: On Friday, January 27, 2012, David Knezevic wrote: > This could be very beneficial for the reduced basis code as well, so I'm > all for it too! Have you ever tried http://warp.povusers.org/FunctionParser/ ?  I haven't tried mu, but the above works p

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread David Knezevic
On 01/27/2012 01:59 PM, John Peterson wrote: On Friday, January 27, 2012, David Knezevic mailto:dkneze...@seas.harvard.edu>> wrote: > This could be very beneficial for the reduced basis code as well, so I'm > all for it too! Have you ever tried http://warp.povusers.org/FunctionParser/ ? I ha

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread John Peterson
On Friday, January 27, 2012, David Knezevic wrote: > This could be very beneficial for the reduced basis code as well, so I'm > all for it too! Have you ever tried http://warp.povusers.org/FunctionParser/ ? I haven't tried mu, but the above works pretty well for us. > > > > On 01/27/2012 01:

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread David Knezevic
This could be very beneficial for the reduced basis code as well, so I'm all for it too! On 01/27/2012 01:11 PM, Roy Stogner wrote: > I'm adding support to an app for setting analytic initial and boundary > conditions at runtime via math expression strings in config files, > using the muParser

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread Kirk, Benjamin (JSC-EG311)
> If opinions are positive: does anyone want to get really crazy and put > it in contrib/ I might go for that. In the meantime just add a configure option to point it to an external installation, I'll see about modifying that to use our own if/when it gets into ./contrib -Ben ---

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread Roy Stogner
On Fri, 27 Jan 2012, Kirk, Benjamin (JSC-EG311) wrote: >> Would anyone be interested in seeing some of the underlying >> infrastructure (configure-time identification of muParser 2.0+, a >> HAVE_MUPARSER dependent ParsedFunction subclass of FunctionBase) moved >> into libMesh? > > Absolutely. W

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread Paul T. Bauman
YES. This would be great for boundary/initial conditions and simple material properties. On Fri, Jan 27, 2012 at 12:11 PM, Roy Stogner wrote: > > I'm adding support to an app for setting analytic initial and boundary > conditions at runtime via math expression strings in config files, > using the

Re: [Libmesh-devel] muparser support?

2012-01-27 Thread Kirk, Benjamin (JSC-EG311)
> Would anyone be interested in seeing some of the underlying > infrastructure (configure-time identification of muParser 2.0+, a > HAVE_MUPARSER dependent ParsedFunction subclass of FunctionBase) moved > into libMesh? Absolutely. We'd really like to have user-defined bc functions in CATPISS (er,

[Libmesh-devel] muparser support?

2012-01-27 Thread Roy Stogner
I'm adding support to an app for setting analytic initial and boundary conditions at runtime via math expression strings in config files, using the muParser library to turn the strings into bytecode and the bytecode into vector-valued function evaluations. Would anyone be interested in seeing som