README.md 1.05 KiB
Newer Older
Leon Pyka's avatar
Leon Pyka committed
# Offsetting the starting point of a hierechically structured network in z-direction
Leon Pyka's avatar
Leon Pyka committed
For each offset a simulation is run.  
`plot_broken_edges.py` shows number of broken edges with respect to z-position on different offsets for 10 runs with different seeds.
# Howto     
# offset hierarchical structure
in _/2_offset_hierarchical_structure/_ run (on cluster) ```nohup python3 hierarchical_offset.py```.     
Make sure to adjust:     
- list of different seeds    
- offset 
- target dir to move the data to in func: ```push_data_to(destination) ``` (imported from _/lib/_ )     
Then run ``` parse_iv_data.py ``` (also make sure to adjust offset and taget dir). It should produce _ivcat.txt_ containing    
In the respective storage folder e.g. FASTEMP/.../offset_1 run (compiled version of _fs_strength.cpp_). ```fs_strength```    
Genrates output file called strength of stucture:  
   |              |                          |  
   |--------------|--------------------------|
   | peak current | standard dev of current  |    
   | toughness    | standard dev of toughness|