bash-script

This directory contains bash scripts to manipulate PML.
Bash scripts have the advantage of being faster than XML parsing programs.


Here is a list of the scripts with a small description (more and especially
usage: see inside the scripts):
- ansysComponent2csv.bash: transform the nodal components exported from ansys into on csv for each component
- atomscsv2atomspml.bash: transform a csv into an atoms SC
- atomspml2atomscsv.bash: transform atoms of pml into a csv file (index x y z)
- extractSC.bash: extract a named structuralComponent or all structuralComponent from a pml
- node2cell.bash: transform a ANSYS node file to one cell containing all the nodes
- removeCellIndex.bash: remove all cell indexes

Other utility scripts include:
- all-on-one-line.sed: glue all lines on one line (usage: sed -nf all-on-one-line.sed fileToTransform)
- cutInBits.bash: separate a big file in smaller ones
- incr_num.sed: increment numbers in a file (+1)
