[petsc-dev] implementation header incluing ../src

Jed Brown jed at jedbrown.org
Thu Feb 19 14:39:24 CST 2015

Matthew Knepley <knepley at gmail.com> writes:

> On Thu, Feb 19, 2015 at 1:42 AM, Lisandro Dalcin <dalcinl at gmail.com> wrote:
>> Please take look to the last line of the following output:
>> $ grep include $PETSC_DIR/include/petsc-private/dmpleximpl.h
>> #include <petscmat.h>       /*I      "petscmat.h"          I*/
>> #include <petscdmplex.h> /*I      "petscdmplex.h"    I*/
>> #include <petscbt.h>
>> #include <petscsf.h>
>> #include <petsc-private/dmimpl.h>
>> #include <../src/sys/utils/hash.h>
> It does not look like anything else uses hash.h. Can we just move it to
> include/petschash.h?

Why does it need to be included by a header?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150219/a7c56a5a/attachment.sig>

More information about the petsc-dev mailing list