THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#184 - Naming conventions
User who did this - Thomas Fetzer (Thomas Fetzer)

----------
Here is one possibility to get rid of undesired variable names (expemlarily for 
the "ElementIterator" type and "eIt" or "eEndIt" as target variable names). I 
think these are the basic commands Zheng has used.

# get all lines with the type of the variable, which is to be renamed
grep -nri "ElementIterator" dumux/* test/* tutorial/* > file1.txt

# remove all lines containing desired variable name (see excel sheet), -v 
inverses the grep command
grep -iv "ElementIterator eIt"  file1.txt > file2.txt
grep -iv "ElementIterator eEndIt"  file2.txt > file3.txt

# remove all typedefs
grep -iv "typedef typename GridView::template Codim<0>::Iterator 
ElementIterator"  file3.txt > file4.txt
----------

More information can be found at the following URL:
http://www.dumux.org/flyspray/index.php?do=details&task_id=184#comment445

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.
_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to