On Thu, Mar 28, 2013 at 2:52 PM, Roy Stogner <[email protected]>wrote:

> In fact, would you try that fix and see if it works for you?
> Instead of adding:
>
> +    // copy the system solution to the current vector
> +    // this assumes that the syste vector has already been resized
> and projected
> +    NumericVector<Number> &old_nonlinear_soln =
> +    _system.get_vector("_old_**nonlinear_solution");
> +    NumericVector<Number> &nonlinear_solution =
> +    *(_system.solution);
> + +    old_nonlinear_soln = nonlinear_solution;
> + +    old_nonlinear_soln.localize
> +    (*old_local_nonlinear_**solution,
> +     _system.get_dof_map().get_**send_list());
>
> just add:
>
> +    // localize the old solution vector
> +    NumericVector<Number> &old_nonlinear_soln =
> +    _system.get_vector("_old_**nonlinear_solution");
> + +    old_nonlinear_soln.localize
> +    (*old_local_nonlinear_**solution,
> +     _system.get_dof_map().get_**send_list());
>
> If it works, then we'll add that and no need to worry about the
> example.
> ---
> Roy



Hi Roy,

   Your fix seems to be working fine!  Thanks for correcting the mistake in
my patch.

Manav
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to