Figure 1

  To make the data for Figure 1, first create the necessary XML files. Then compile the analysis codes by typing

cd ~/projects/nucnet-tools-code/examples/analysis/  
 
make all_analysis

Once these codes are made, change into your data directory by typing

cd ../../data_pub/s15a28a28/

Now type

../../examples/analysis/print_properties s15a28a28_presn.xml "mass below" > mass_pre.txt  
 
../../examples/analysis/print_mass_fractions_in_zones s15a28a28_presn.xml n15 > n15_pre.txt  
 
../../examples/analysis/print_mass_fractions_in_zones s15a28a28_presn.xml o18 > o18_pre.txt  
 
../../examples/analysis/print_properties s15a28c_expl_decayed.xml "mass below" > mass_post.txt  
 
../../examples/analysis/print_mass_fractions_in_zones s15a28c_expl_decayed.xml n15 > n15_post.txt  
 
../../examples/analysis/print_mass_fractions_in_zones s15a28c_expl_decayed.xml o18 > o18_post.txt

These commands create the text files mass_pre.txt, n15_pre.txt, o18_pre.txt, mass_post.txt, n15_post.txt, and o18_post.txt. To make the first panel of Figure 1, plot column 2 of n15_pre.txt versus column 2 of mass_pre.txt (divided by 1.9891 × 1033 to convert grams to solar masses) and column 2 of n15_post.txt versus column 2 of mass_post.txt (divided by 1.9891 × 1033). To make the second panel of Figure 1, plot column 2 of o18_pre.txt versus column 2 of mass_pre.txt and column 2 of o18_post.txt versus column 2 of mass_post.txt (again converting grams to solar masses).