Re: [petsc-dev] DMSetDefaultSection destroys old sections
30 Aug
2012
30 Aug
'12
5:30 p.m.
How would I use PetscObjectReference((PetscObject)section) in Fortran? On Thu, Aug 30, 2012 at 4:16 PM, Jed Brown <[email protected]> wrote:
On Thu, Aug 30, 2012 at 5:12 PM, Matthew Knepley <[email protected]> wrote:
Its not wrong. This is the way I wanted it. You set the PetscSection and give up control. If you do not want to give up control, then call PetscObjectReference() before passing it in.
Since this is (a) different from everything else in PETSc and (b) not explicitly documented, it is doubly wrong.
-- Chris Eldred DOE Computational Science Graduate Fellow Graduate Student, Atmospheric Science, Colorado State University B.S. Applied Computational Physics, Carnegie Mellon University, 2009 [email protected]
5094
Age (days ago)
5094
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Eldred