[petsc-users] [FORGED] Re: NULL section fortran

Justin Pogacnik j.pogacnik at auckland.ac.nz
Mon Aug 7 13:57:40 CDT 2017


?Thanks Matt!

________________________________
From: Matthew Knepley <knepley at gmail.com>
Sent: Tuesday, August 8, 2017 6:49 AM
To: Justin Pogacnik
Cc: petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] [FORGED] Re: NULL section fortran

On Mon, Aug 7, 2017 at 1:44 PM, Justin Pogacnik <j.pogacnik at auckland.ac.nz<mailto:j.pogacnik at auckland.ac.nz>> wrote:
Any word on this? Thanks again!

Should be in master.

 Thanks,

    Matt

-Justin
________________________________________
From: Justin Pogacnik
Sent: Tuesday, July 18, 2017 8:38 AM
To: Barry Smith
Cc: petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>
Subject: Re: [FORGED] Re: [petsc-users] NULL section fortran

Thanks for the response Barry. Matt, is this something that will be pushed out soon(ish)?

Thanks guys!

Justin
________________________________________
From: Barry Smith <bsmith at mcs.anl.gov<mailto:bsmith at mcs.anl.gov>>
Sent: Thursday, July 13, 2017 7:59 AM
To: Justin Pogacnik
Cc: petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>
Subject: [FORGED] Re: [petsc-users] NULL section fortran

  Matt needs to add something like

     PetscSection, parameter :: PETSC_NULL_SECTION = tPetscSection(-1)
     PetscSectionSym, parameter :: PETSC_NULL_SECTIONSYM = tPetscSectionSym(-1)

to src/vec/f90-mod/petscis.h in the master branch.

   Barry


> On Jul 12, 2017, at 2:52 PM, Justin Pogacnik <j.pogacnik at auckland.ac.nz<mailto:j.pogacnik at auckland.ac.nz>> wrote:
>
> Hello,
>
> I'm assembling a global finite element stiffness matrix and using the DMPlexMatSetClosure command in fortran. Long ago, in the past, I've used to set the section input parameters to PETSC_NULL_OBJECT. That now returns an error -- no implicit type -- during compilation. Looking at the defined null objects for fortran I don't see a section option. What should I use to invoke the default sections?
>
> Hope this makes sense. Thanks!
>
> Justin



--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener

http://www.caam.rice.edu/~mk51/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170807/ec786034/attachment.html>


More information about the petsc-users mailing list