[petsc-dev] DMDABoundaryType

Jed Brown jed at 59A2.org
Mon Mar 14 09:39:21 CDT 2011


On Mon, Mar 14, 2011 at 15:34, Ethan Coon <ecoon at lanl.gov> wrote:

> Related to this, do you guys have a standard way of finding all such
> instances?  I was using grep/find (and then checking the compilation
> output), but I'm sure my find was missing a few files.
>

Depends on your editor, but there are "tags" for Emacs and Vim (slightly
different in each case, but basically the same). Most IDEs have some sort of
symbol-reference lookup functionality built in. You can also use GNU Global
which retains a bit more information than the usual TAGS. I often end up
using recursive grep to locate files with a certain property and then edit
them using sed or perl -pi -e (for mechanical things). In addition to the
tags searches, you can have Emacs visit every location that matches a grep
query.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110314/a1c000eb/attachment.html>


More information about the petsc-dev mailing list