On Fri, Feb 10, 2012 at 3:54 PM, Roy Stogner <royst...@ices.utexas.edu>wrote:
>
> On Tue, 7 Feb 2012, Roy Stogner wrote:
>
> > On Mon, 6 Feb 2012, Roy Stogner wrote:
> >
> >> On Mon, 6 Feb 2012, Kirk, Benjamin (JSC-EG311) wrote:
> >>
> >>> Anyone got a snippet showing how to use the contributed fparser?
> >>>
> >>> We'd love to add that capability to some application code here...
> >>
> >> I'm going to put it into an example, but probably not until after the
> >> System::project_vector changes are committed. That latter should be
> >> this afternoon or tonight unless anyone pipes up with a problem or
> >> objection.
> >
> > A bit more delay on this - fparser isn't thread-safe by default, and
> > the new project_vector functor interface doesn't play with it in a
> > thread-safe way. For this and other reasons I'm going to break down
> > and add a FunctionBase::clone() method.
>
> project_vector (and ExactSolution and ExactErrorEstimator) changes are
> done, FunctionBase cloning's done, and I've put a snippet
> demonstrating use (for a single-variable system) into adaptivity_ex5.
>
> It's working correctly for me, but now Cody's got me worried. Adding
> an Optimize() call doesn't break anything on this end, but maybe
> there's something about my compiler/system/trivial-example that isn't
> triggering whatever problem they're seeing?
>
I wouldn't worry about it - we are using fparser in a wrapper class and we
could easily be doing something wrong there. I'll check it out soon and
let you know.
> ---
> Roy
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Libmesh-devel mailing list
> Libmesh-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libmesh-devel
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel