Yes.

Ok, well, MeshFunction itself doesn't care (as you found out)... but
if you want to evaluate your solution in elements containing
off-processor degrees of freedom then you need to serialize that
vector.

Think of it this way: MeshFunction doesn't do parallel
communication... you are responsible for feeding it the values you
need.

Derek

Sent from my iPad

On May 24, 2013, at 7:54 AM, Manav Bhatia <[email protected]> wrote:

> Hi,
>
>  Does MeshFunction expect the vector (input argument for constructor) to be 
> serialized and hold the global solution?
>
>  I am attempting to use the class in my code. Passing it the system.solution 
> without serializing it is leading to nans as the interpolated solution at the 
> boundary of each partition on processor_id != 0.
>
>  I looked at the code in exact_solution.C and exact_error_estimator.C, both 
> of which serialize the solution before passing it to MeshFunction. Not sure 
> why this would be necessary.
>
> Thanks,
> Manav
>
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to