Dear all,

I am initializing a PetscVector from a Vec ( PetscVector<Number>
x_vector(x) ). Then I follow what I saw in your implementation of SNES
solver (
http://libmesh.sourceforge.net/doxygen/petsc__nonlinear__solver_8C_source.php),
 swapping my vector with the solution vector of my system to make sure a
good local version. Then I use x_vector in a loop over elements (using
usual element iterator). When I run in parallel I get the following
assertion failure:

*Assertion `it!=_global_to_local_map.end()' failed.*
*
*
My question is two folds:
1- what is this assertion exactly doing ?
2- If there is any obvious mistakes that I'm making  trying to use a
PetscVector in an element iterator loop that causes this?

Thanks for your time,
Ata
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to