[petsc-users] DMPlexMatSetClosure from Fortran

Jed Brown jedbrown at mcs.anl.gov
Mon Jan 13 12:41:22 CST 2014


Dharmendar Reddy <dharmareddy84 at gmail.com> writes:

> Hello Jed,
>               I see that plex.c has the following lines in the
> function DMPLexMatSetClosure:
>
> 5640   PetscValidHeaderSpecific(section, PETSC_SECTION_CLASSID, 2);
> 5641  PetscValidHeaderSpecific(globalSection, PETSC_SECTION_CLASSID, 3);
>
> the petsc code i have is at : v3.4.3-2568-gb45093d
>
> Does the fix you pushed takes care of above calls, even if i pass null object ?

It was not documented to work that way, but it is a reasonable request
so I added it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140113/91a9ae94/attachment.pgp>


More information about the petsc-users mailing list