-
Izzard, Robert Dr (Maths & Physics) authored
binary_grid: * Much cleanup of binary_grid code. * Depreacted many features in binary_grid: old grid(), threaded_grid() are gone, both replaced by the flexigrid. Lots of old features that were never used have been removed. The old code is in the (unused) binary_grid-deprecated.pm module. Please don't use it! * Flexigrid now uses perl's native Thread::Queue rather than its own implementation. The code is simpler and more straightforward, also avoids the use of signals (so safer on Condor). * Binary_c is opened with Open3 instead of Open2, so STDERR can be captured. * Arguments are sent to binary_c in a question/answer session so it is easier to detect when one fails. * Better global error handling. * Better thread killing. * Written new binary_grid-flexigrid documentation. * binary_grid requires perl 5.16 (best to install this with perlbrew), latest Perl syntax often implemented where it helps * New src/perl/install_modules.pl script to install dependent modules using cpanminus * Synced latest versions of Rob's perl modules to binary_c trunk * Copied more of my grid scripts into the trunk * Added RobMerge, Interpolation modules binary_c: * S-process has been removed pending Carlo's updated s-process data (soon!) * Isotopic definitions have been back-ported from BONNFIRES, they are now more flexible and based entirely on isotopes (not elements). Note that to set isotopic properties (e.g. abundances) you should use SET_ISOTOPIC_PROPERTY and INCREMENT_ISOTOPIC_PROPERTY. However, this won't work well yet because I haven't converted all references to (e.g.) Xsurf, etc. (Note that this won't affect abundances treated inside loops, only individual settings.) At present the ISOTOPE_ARRAY_SIZE includes all isotopes, so everything will work. If ISOTOPE_ARRAY_SIZE is smaller, and the above macros are used, the code will be faster (at the expense of some isotopes that you might not care about). * Get elemental abundances or [A/B] through the dedicated functions nucsyn_elemental_abundance and nucsyn_elemental_square_bracket * New qcrit selection via the command line --qcrit_GB_method : 0 = H02, 1 = Hjellming+Webbink, 2=No comenv, 3=Chen+Han(table), 4=Chen+Han(formula) * Moved beta decay timescales to nucsyn_beta_decay_timescales.h * Split up the wind routines into individual files for each stellar type. Should be MUCH easier to maintain. * main.h and main2.c contain a lot of what was in main.c, main.c is now much simpler * removed a lot of test code from interpolate.c, improved the interpolate comments so it's easier to use for newbies * removed MULTISTAR code (it was never used) * cleaned version code to remove deprecated macros * added canberra project code
Izzard, Robert Dr (Maths & Physics) authoredbinary_grid: * Much cleanup of binary_grid code. * Depreacted many features in binary_grid: old grid(), threaded_grid() are gone, both replaced by the flexigrid. Lots of old features that were never used have been removed. The old code is in the (unused) binary_grid-deprecated.pm module. Please don't use it! * Flexigrid now uses perl's native Thread::Queue rather than its own implementation. The code is simpler and more straightforward, also avoids the use of signals (so safer on Condor). * Binary_c is opened with Open3 instead of Open2, so STDERR can be captured. * Arguments are sent to binary_c in a question/answer session so it is easier to detect when one fails. * Better global error handling. * Better thread killing. * Written new binary_grid-flexigrid documentation. * binary_grid requires perl 5.16 (best to install this with perlbrew), latest Perl syntax often implemented where it helps * New src/perl/install_modules.pl script to install dependent modules using cpanminus * Synced latest versions of Rob's perl modules to binary_c trunk * Copied more of my grid scripts into the trunk * Added RobMerge, Interpolation modules binary_c: * S-process has been removed pending Carlo's updated s-process data (soon!) * Isotopic definitions have been back-ported from BONNFIRES, they are now more flexible and based entirely on isotopes (not elements). Note that to set isotopic properties (e.g. abundances) you should use SET_ISOTOPIC_PROPERTY and INCREMENT_ISOTOPIC_PROPERTY. However, this won't work well yet because I haven't converted all references to (e.g.) Xsurf, etc. (Note that this won't affect abundances treated inside loops, only individual settings.) At present the ISOTOPE_ARRAY_SIZE includes all isotopes, so everything will work. If ISOTOPE_ARRAY_SIZE is smaller, and the above macros are used, the code will be faster (at the expense of some isotopes that you might not care about). * Get elemental abundances or [A/B] through the dedicated functions nucsyn_elemental_abundance and nucsyn_elemental_square_bracket * New qcrit selection via the command line --qcrit_GB_method : 0 = H02, 1 = Hjellming+Webbink, 2=No comenv, 3=Chen+Han(table), 4=Chen+Han(formula) * Moved beta decay timescales to nucsyn_beta_decay_timescales.h * Split up the wind routines into individual files for each stellar type. Should be MUCH easier to maintain. * main.h and main2.c contain a lot of what was in main.c, main.c is now much simpler * removed a lot of test code from interpolate.c, improved the interpolate comments so it's easier to use for newbies * removed MULTISTAR code (it was never used) * cleaned version code to remove deprecated macros * added canberra project code
Loading