![]() |
evTools
Tools to manipulate and display output from the binary stellar-evolution code ev/STARS/TWIN
|
Routines to help plot the data contained in mdl[12] files. More...
Data Types | |
| module | mdl_data |
| Shared variables for mdl[12] programs. More... | |
Functions/Subroutines | |
| subroutine | compute_mdl_variables (dat) |
| Compute secondary variables from the primary variables in a .mdl[12] file. More... | |
| subroutine | list_mdl_models (infile, nblk) |
| Read all structure models in the file and display main properties. More... | |
| subroutine | print_mdl_details (infile, blk, svblk) |
| Print the details of model blk in file infile to screen. More... | |
| subroutine | read_first_mdls (infile, blk) |
| Open a .mdl[12] file and read the first blk models without storing the data. More... | |
| subroutine | read_chosen_mdl (blk, mdl, age, dat) |
| Read the chosen structure model from an open .mdl[12] file. More... | |
| subroutine | set_mdl_labels |
| Defines the variable labels for the mdl[12] format. More... | |
Routines to help plot the data contained in mdl[12] files.
| subroutine compute_mdl_variables | ( | real(double), dimension(nq,nm), intent(inout) | dat | ) |
| subroutine list_mdl_models | ( | character, dimension(*), intent(in) | infile, |
| integer, intent(out) | nblk | ||
| ) |
| subroutine print_mdl_details | ( | character, dimension(99), intent(in) | infile, |
| integer, intent(in) | blk, | ||
| logical, intent(inout) | svblk | ||
| ) |
Print the details of model blk in file infile to screen.
| infile | Name of the input file |
| blk | Number of the stellar-structure block to display |
| svblk | Save block or not (in/out) |
References read_first_mdls().
Referenced by listmdl().
| subroutine read_chosen_mdl | ( | integer, intent(in) | blk, |
| integer, intent(out) | mdl, | ||
| real(double), intent(out) | age, | ||
| real(double), dimension(nq,nn), intent(out) | dat | ||
| ) |
Read the chosen structure model from an open .mdl[12] file.
| blk | Number of the stellar-structure block to display |
| mdl | Model number of the selected model |
| age | Age of the selected model |
| dat | Data for the selected model |
Referenced by plotmdl().
| subroutine read_first_mdls | ( | character, dimension(*), intent(in) | infile, |
| integer, intent(in) | blk | ||
| ) |
Open a .mdl[12] file and read the first blk models without storing the data.
| infile | Name of the input file |
| blk | Number of the stellar-structure blocks to read (and ignore) |
Referenced by plotmdl(), and print_mdl_details().
| subroutine set_mdl_labels | ( | ) |
Defines the variable labels for the mdl[12] format.
Referenced by plotmdl().
1.8.5