Are you calling close on all vector/matrix objects? close() will internally
call Vec/MatAssemblyBegin/End which is what you need to be able to switch
from inserting to adding.

On Sun, May 17, 2015 at 11:31 AM, Hafez Asgharzadeh <[email protected]>
wrote:

> Thanks for replying,
> still (after calling close() in between) i got this error:
> [0]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
> [0]PETSC ERROR: Object is in wrong state
> [0]PETSC ERROR: You have already added values; you cannot now insert
>
>
> On Sun, May 17, 2015 at 1:22 AM, Roy Stogner <[email protected]>
> wrote:
>
> >
> >
> > On Sat, 16 May 2015, Hafez Asgharzadeh wrote:
> >
> >  *[0]PETSC ERROR: Object is in wrong state*
> >> *[0]PETSC ERROR: You have already inserted values; you cannot now add*
> >>
> >> Could kindly let me know what i can do about this?
> >>
> >
> > Try calling close() on the vector in between the insertion and
> > addition?
> > ---
> > Roy
> >
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to