On Fri, 19 May 2017, Chang, Hyonu wrote:
Thank you for your answer.
You're welcome. Please use "Reply to all" - we want answers on the
public mailing list where they're searchable for future users.
I just changed current_local_solution to solution, but it makes error message
like this:
[0]PETSC ERROR: Object is in wrong state!
[0]PETSC ERROR: Not for unassembled vector!
When I run this on single process, it works well.
What is I have to do?
You need to call "close()" on the vector in between assembly and use,
or in between different kinds (assignment vs accumulation) of
assembly. After your set() calls, but before the update(), I think.
Sorry that slipped my mind; I was assuming that update() also calls
close() on the source vector.
---
Roy
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users