posydon_setup_grid
- posydon_setup_grid.construct_command_line(number_of_mpi_processes, path_to_grid, binary_exe, star1_exe, star2_exe, inlist_binary_project, inlist_star1_binary, inlist_star2_binary, inlist_star1_formation, inlist_star2_formation, star_history_columns, binary_history_columns, profile_columns, run_directory, grid_type, path_to_run_grid_exec, psycris_inifile=None, keep_profiles=False, keep_photos=False)[source]
Based on the inifile construct the command line call to posydon-run-grid
- posydon_setup_grid.construct_static_inlist(mesa_inlists, grid_parameters, working_directory=os.getcwd())[source]
Based on all the inlists that were passed construc the MESA project dir
- Parameters
- mesa_inlists:
All of the values from the mesa_inlists section of the inifile (dict)
- grid_parameters:
A list of the parameters from the csv file so we can determine all of the inlist parameters for binary, star1 and star2 that will be changing with this grid
- Returns:
inlists
- posydon_setup_grid.find_inlist_from_scenario(source, gitcommit, system_type)[source]
Dynamically find the inlists the user wants to from the supplied info
- Parameters:
source
gitcommit
system_type