Trisurf Monte Carlo simulator
Samo Penic
2016-02-15 82fa4172eadaff3e8c5f456ceefe947fb2fcec4c
Added python script that searches the VTU's xml tree
2 files added
10 ■■■■■ changed files
python/.parse_vtu.py.swp patch | view | raw | blame | history
python/parse_vtu.py 10 ●●●●● patch | view | raw | blame | history
python/.parse_vtu.py.swp
Binary files differ
python/parse_vtu.py
New file
@@ -0,0 +1,10 @@
#!/usr/bin/python3
import xml.etree.ElementTree as ET
tree = ET.parse('../src/timestep_000000.vtu')
root = tree.getroot()
trisurf=root.find('trisurf')
print(trisurf.items())