On Mon, Jun 21, 2010 at 9:32 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@59a2.org">jed@59a2.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, 21 Jun 2010 21:09:40 +0000, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:<br>
> You can say that about any name.<br>
<br>
</div>But "ALE" has no connection to "PETSc" or "Sieve" (admittedly KSP, SNES,<br>
TS are arbitrary too). It's an obscure connection, and I don't even<br>
know what it stands for. But already PETSc has a "PETSc" namespace, so<br>
it would make sense to me that ALE go inside the PETSc namespace (at<br>
least if you're going to tout how correctly namespaced your C++ is).</blockquote><div><br></div><div>It is arbitrary, but as you point out so are the other names. The idea behind not using</div><div>PETSc, at the time, was to make it possible to use apart from PETSc. This now seems</div>
<div>unlikely.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
> We both do mesh stuff. I do not see why it is "more legitimate" for them to<br>
> do it.<br>
<br>
</div>Because it's the name of their library and has been for about a decade.</blockquote><div><br></div><div>The name is so common that this argument is incoherent. I am sure I can find other</div><div>libraries with Mesh in them which are older.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
> I thought this was changed for PETSc 3. Now it should be<br>
> sieve/Mesh.hh.<br>
<br>
</div>In -dev:<br>
<br>
petscmesh.h:#include <Mesh.hh><br>
petscmesh.h:#include <CartesianSieve.hh><br>
petscmesh.h:#include <Distribution.hh><br>
petscmesh.h:#include <Generator.hh><br></blockquote><div><br></div><div>Yep, this should be changed.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It also looks like there is a bunch of unnamespaced non-C stuff in<br>
petscmesh*.hh.</blockquote><div><br></div><div>Just functions, not objects. These are templates for C functions, so I kept</div><div>the same names (thus there should be no collisions).</div><div><br></div><div> Matt</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font color="#888888"><br>
Jed</font></blockquote></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>