[Dune] Removal of deprecated VTKOptions

Markus Blatt markus at dr-blatt.de
Thu Jun 14 14:57:14 CEST 2012


On Thu, Jun 14, 2012 at 02:46:35PM +0200, Markus Blatt wrote:
> Fixing it needs some more changes than expected:
> 
> for i in `find . -name \*.[ch][ch] | xargs grep VTKOption | cut \
> --delimiter=":" -f 1`; do 
> sed "s/VTKOptions/Options/g" $i > tmp && mv tmp $i
>  done

Damn it!

This should have been 

 for i in `find . -name \*.[ch][ch] | xargs grep VTKOption | cut \
 --delimiter=":" -f 1`; do 
 sed "s/VTKOptions/VTK/g" $i > tmp && mv tmp $i
  done

If you already applied my wrong instructions do a 

for i in `find . -name \*.[ch][ch] | xargs grep Dune::Options | cut \
--delimiter=":" -f 1`; do
   sed "s/Dune::Options/Dune::VTK/g" $i > tmp && mv tmp $i
 done

And proceed as below.
> 
> for i in `find . -name \*.[ch][ch] | xargs grep binaryappended | cut \
> --delimiter=":" -f 1`; do 
>  sed "s/VTK::binaryappended/VTK::appendedraw/g" $i > tmp && mv tmp $i
> done
> 
> BTW: Why VTK::appendedraw and not VTK::appendeddraw ?
> 
> Cheers,
> 
> Markus

-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 




More information about the Dune mailing list