evTools
Tools to manipulate and display output from the binary stellar-evolution code ev/STARS/TWIN
|
List the contents of a .mod file to screen. More...
Functions/Subroutines | |
program | listmod |
Reads an input or output structure model file for Eggeltons TWIN code and lists the properties of each model it contains. One can then select a model to display its contents more precisely and optionally copy the model to a different file to serve as input. More... | |
subroutine | error_reading_header (b) |
subroutine | error_reading_block (l) |
subroutine | list_mod_file (fname, nblk, save_dh) |
List the global contents of the structure models in a .mod file to screen. More... | |
subroutine | print_mod_details (fname, blk, save_dh) |
Print the details of a structure model from a .mod file to screen. More... | |
subroutine | copy_mod (infile, blk, save_dh) |
Copy a structure model from a .mod file (H or H and DH) to a new file. More... | |
List the contents of a .mod file to screen.
AF 2003-12-17
subroutine copy_mod | ( | character, dimension(*), intent(in) | infile, |
integer, intent(in) | blk, | ||
logical, intent(in) | save_dh | ||
) |
Copy a structure model from a .mod file (H or H and DH) to a new file.
infile | Name of the input (.mod) file |
blk | Number of the structure-model block in the file to copy |
save_dh | DH is saved along H if true |
References error_reading_block(), error_reading_header(), and quit_program().
Referenced by listmod().
subroutine error_reading_block | ( | integer, intent(in) | l | ) |
Referenced by copy_mod(), and print_mod_details().
subroutine error_reading_header | ( | integer, intent(in) | b | ) |
Referenced by copy_mod(), and print_mod_details().
subroutine list_mod_file | ( | character, dimension(*), intent(in) | fname, |
integer, intent(out) | nblk, | ||
logical, intent(inout) | save_dh | ||
) |
List the global contents of the structure models in a .mod file to screen.
fname | Name of the .mod file |
nblk | Number of the structure-model block in the file to print |
save_dh | DH is saved along H if true (inout) |
Referenced by listmod().
program listmod | ( | ) |
Reads an input or output structure model file for Eggeltons TWIN code and lists the properties of each model it contains. One can then select a model to display its contents more precisely and optionally copy the model to a different file to serve as input.
References copy_mod(), findfile(), list_mod_file(), print_mod_details(), and setconstants().
subroutine print_mod_details | ( | character, dimension(*), intent(in) | fname, |
integer, intent(in) | blk, | ||
logical, intent(in) | save_dh | ||
) |
Print the details of a structure model from a .mod file to screen.
fname | Name of the .mod file |
blk | Number of the structure-model block in the file to print |
save_dh | DH is saved along H if true |
References error_reading_block(), and error_reading_header().
Referenced by listmod().