[petsc-dev] Preprocessor hell: #define VecType

2012-09-30 Thread Karl Rupp
Hi, >>> ^^^ Note that this const is superfluous. >> Why is it superfluous? Isn't the second argument type const char* const >> this way? >> >> It's superfluous for the same reason we don't "set" by passing "const >> PetscInt". The const is irrelevant to the caller. All it means is that the >>

[petsc-dev] Preprocessor hell: #define VecType

2012-09-30 Thread Jed Brown
usion, we have not only eliminated the preprocessor magic, we are > also able to provide a cleaned-up interface for XYZSetType() and > XYZGetType(). Thanks, Barry, for making the decision in favor of a typedef > :-) > > Best regards, > Karli > > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120930/300c2f89/attachment.html>

[petsc-dev] Preprocessor hell: #define VecType

2012-09-30 Thread Karl Rupp
> High five, Karl. High five! :-) > On Sep 30, 2012 6:46 AM, "Karl Rupp" > wrote: > > Hi, > > >>> ^^^ Note that this const is superfluous. > > Why is it superfluous? Isn't the second argument type const > char* const this way? > >

[petsc-dev] Check these out

2012-09-30 Thread Jed Brown
An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120930/ee8121e0/attachment.html>

[petsc-dev] Check these out

2012-09-30 Thread Jed Brown
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 >> > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120930/266adeb0/attachment.html>

[petsc-dev] Check these out

2012-09-30 Thread Barry Smith
Note that Barry Smith is not only a famous numerical analyst but also a famous ontologist http://ontology.buffalo.edu/smith/:-) On Sep 30, 2012, at 4:03 PM, Jed Brown wrote: > See the context here, for example. > > http://ontolog.cim3.net/forum/ontolog-forum/2006-12/pdfelJJ2BZVKn.pdf >