[petsc-dev] ugliness due to missing lapack routines
Jed Brown
jedbrown at mcs.anl.gov
Thu Feb 7 17:36:58 CST 2013
On Thu, Feb 7, 2013 at 5:18 PM, Matthew Knepley <knepley at gmail.com> wrote:
> 5)
>> #define KSPGMRES "gmres"
>>
>> ?
>>
>
> We had this argument. The typedef behaves in a weird was with 'const'.
>
Huh? We already have typedef const char *KSPType. It's easy to replace
these with constant data (extern KSPType KSPGMRES), but that's harder to
read and we still have to define it for Fortran as well.
>
>
>> 6)
>> #if defined(PETSC_HAVE_SOMEINCLUDE)
>> #include <someinclude.h>
>>
>> I was thinking we could auto generate empty someinclude.h for these
>> (putting in $PETSC_ARCH/include) Cheesy but ?
>>
>
> Hmm, that seems fragile. I would rather generate the header lists.
>
Where is the programmer going to state which headers they need in a
specific source file?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130207/09abf468/attachment.html>
More information about the petsc-dev
mailing list