Re: [Libmesh-users] get the ghosted vector of an additional vector added to a system

2012-07-20 Thread Ataollah Mesgarnejad
Roy, I don't think I did. I always assumed that: we build the ghosted vector in the functions when needed somewhat like DMDA ghosted vectors in PETSc. Thanks for the help, Ata On Jul 19, 2012, at 11:39 PM, Roy Stogner wrote: > > On Thu, 19 Jul 2012, Ataollah Mesgarnejad wrote: > >> NumericV

Re: [Libmesh-users] get the ghosted vector of an additional vector added to a system

2012-07-19 Thread Roy Stogner
On Thu, 19 Jul 2012, Ataollah Mesgarnejad wrote: > NumericVector &load = system.get_vector("load"); > system.project_vector(load_function,grad_load_function,es.parameters,load); > > but it seems like when I access "wo" later with operator() the ghosted part > is missing? The important bit of cod

[Libmesh-users] get the ghosted vector of an additional vector added to a system

2012-07-19 Thread Ataollah Mesgarnejad
Dear all, I'm looking for a way to get the ghosted vector (something similar to current_local_solution) of an additional vector I have in one of my systems. Right now I'm doing: NumericVector &load = system.get_vector("load"); system.project_vector(load_function,grad_load_function,es.parameters,l