Re: [Libmesh-devel] PETSc vector fixes

2011-03-02 Thread John Peterson
On Wed, Mar 2, 2011 at 10:24 AM, Roy Stogner wrote: > > On Tue, 1 Mar 2011, David Andrs wrote: > >> Attached patch is improving 2 things in PETSc vector: >> 1) improving the detection of PETSc vector type in a copy c-tor (current >> check was ok for parallel runs, but not for serial runs) >> 2) en

Re: [Libmesh-devel] PETSc vector fixes

2011-03-02 Thread John Peterson
On Tue, Mar 1, 2011 at 4:14 PM, David Andrs wrote: > > Hi! > > Attached patch is improving 2 things in PETSc vector: > 1) improving the detection of PETSc vector type in a copy c-tor (current > check was ok for parallel runs, but not for serial runs) > 2) enabling the assignment of parallel vector

Re: [Libmesh-devel] PETSc vector fixes

2011-03-02 Thread Kirk, Benjamin (JSC-EG311)
>> Can you try it again with Petsc 3 just to be sure? Sorry for the >> inconvenience. > > Still works fine here, thanks. Works for me with PETSC 3.0 and 3.1. Sure looks weird having to put a const in there so you can pass its address :-P ---

Re: [Libmesh-devel] PETSc vector fixes

2011-03-02 Thread Roy Stogner
On Wed, 2 Mar 2011, John Peterson wrote: > Can you try it again with Petsc 3 just to be sure? Sorry for the > inconvenience. Still works fine here, thanks. --- Roy -- Free Software Download: Index, Search & Analyze Lo

Re: [Libmesh-devel] PETSc vector fixes

2011-03-02 Thread Roy Stogner
On Tue, 1 Mar 2011, David Andrs wrote: > Attached patch is improving 2 things in PETSc vector: > 1) improving the detection of PETSc vector type in a copy c-tor (current > check was ok for parallel runs, but not for serial runs) > 2) enabling the assignment of parallel vector into ghosted vector

[Libmesh-devel] PETSc vector fixes

2011-03-02 Thread David Andrs
Hi! Attached patch is improving 2 things in PETSc vector: 1) improving the detection of PETSc vector type in a copy c-tor (current check was ok for parallel runs, but not for serial runs) 2) enabling the assignment of parallel vector into ghosted vector Please review and check in, if ok. Thanks