Re: [Libmesh-users] Modifying the solution vector

2014-09-03 Thread Miguel Angel Salazar de Troya
I ended up writing the conditional to let work just one processor work for only the routines where I'm writing global vectors. A barrier right after this conditional synchronizes the processors. I leave the assembly and solve routines out so I can call them with all the processors. Including them i

Re: [Libmesh-users] Modifying the solution vector

2014-09-01 Thread Miguel Angel Salazar de Troya
One caveat that I just found out is what happens with the functions that work in parallel. For example, what happens with System::solve() when I call it within a conditional in which I only let one processor work? On Mon, Sep 1, 2014 at 11:09 PM, Miguel Angel Salazar de Troya < salazardetr...@gma

Re: [Libmesh-users] Modifying the solution vector

2014-09-01 Thread Miguel Angel Salazar de Troya
I've been thinking that since what I want is to have each processor do their work in their mesh partition one processor at a time, I could serialize the work. I think I could loop over all processors, include a conditional that only lets them do the work if the loop index coincides with the process

Re: [Libmesh-users] Modifying the solution vector

2014-09-01 Thread Miguel Angel Salazar de Troya
Thanks for your response. I would love to collaborate more with the community. I'm enjoying learning how to use this library and I would like to help others in the same process. Each dof is modified simply by adding a small perturbation, then I call assemble_qoi because I want to see the effect of

Re: [Libmesh-users] Modifying the solution vector

2014-08-31 Thread Roy Stogner
On Sun, 31 Aug 2014, Miguel Angel Salazar de Troya wrote: > I apologize for the big amount of questions I'm asking lately. Clearly, a > deadline is looming... I apologize for the questions that have (and probably will) go unanswered. There's a catch-22 wherein people qualified to answer complex