Module for input/output reading/writing. More...
Public Member Functions | |
subroutine | init_coef_file () |
Initialise reading of coef file finding correspondance between atmopheric species and species given by the user. More... | |
subroutine | read_coef_file () |
Read coef file keeping in memory the position in the file. More... | |
subroutine | decode_buffer (i_tube, buffer, sim_data, pos_tube, ntr, ion, eml, ew) |
Master routine to call decode_buffer_v* corresponding version. More... | |
subroutine | decode_buffer_v1 (i_tube, buffer, sim_data, pos_tube, ntr, ion, eml, ew) |
Decode format IPIM output V1-format. More... | |
subroutine | construct_buffer_v1 (i_tube, simu, sim_data, pos_tube, ntr, ion, eml, ew, buffer) |
Follow IPIM V1-format. More... | |
subroutine | decode_buffer_v2 (i_tube, buffer, sim_data, pos_tube, ntr, ion, eml, ew) |
Decode format IPIM output V2-format. More... | |
subroutine | construct_buffer_v2 (i_tube, simu, sim_data, pos_tube, ntr, ion, eml, ew, buffer) |
Follow IPIM V2-format. More... | |
subroutine | decode_buffer_v3 (i_tube, buffer, sim_data, pos_tube, ntr, ion, eml, ew) |
Decode format IPIM output V3-format. More... | |
subroutine | construct_buffer_v3 (i_tube, simu, sim_data, pos_tube, ntr, ion, eml, ew, buffer) |
Follow IPIM V3-format. More... | |
subroutine | decode_buffer_v4 (i_tube, buffer, sim_data, pos_tube, ntr, ion, eml, ew) |
Decode format IPIM output V4-format. More... | |
subroutine | construct_buffer_v4 (i_tube, simu, sim_data, pos_tube, ntr, ion, eml, ew, buffer) |
Follow IPIM V4-format. More... | |
subroutine | decode_buffer_v5 (i_tube, buffer, sim_data, pos_tube, ntr, ion, eml, ew) |
Decode format IPIM output V5-format. More... | |
subroutine | construct_buffer_v5 (i_tube, simu, sim_data, pos_tube, ntr, ion, eml, ew, buffer) |
Follow IPIM V5-format. More... | |
subroutine | decode_buffer_v6 (i_tube, buffer, sim_data, pos_tube, ntr, ion, eml, ew) |
Decode format IPIM output V6-format. More... | |
subroutine | construct_buffer_v6 (i_tube, simu, sim_data, pos_tube, ntr, ion, eml, ew, buffer) |
Follow IPIM V6-format. More... | |
subroutine | close_module_io () |
Close some global allocatable module variables. More... | |
Public Attributes | |
real, dimension(:,:), allocatable, save | profils |
integer, save | coef_file_offset |
logical, save | is_coef_file |
Module for input/output reading/writing.
subroutine module_io::close_module_io | ( | ) |
Close some global allocatable module variables.
subroutine module_io::construct_buffer_v1 | ( | integer, intent(in) | i_tube, |
type(mode_simu), intent(in) | simu, | ||
type(simulation_data), intent(in) | sim_data, | ||
type(coordonnees), dimension(:,:), intent(in) | pos_tube, | ||
type(neutral), dimension(:), intent(in) | ntr, | ||
type(espece), dimension(:), intent(in) | ion, | ||
type(emissions), intent(in) | eml, | ||
type(wave_energy), intent(in) | ew, | ||
real, dimension(:), intent(out) | buffer | ||
) |
Follow IPIM V1-format.
Use other variables:
subroutine module_io::construct_buffer_v2 | ( | integer, intent(in) | i_tube, |
type(mode_simu), intent(in) | simu, | ||
type(simulation_data), intent(in) | sim_data, | ||
type(coordonnees), dimension(:,:), intent(in) | pos_tube, | ||
type(neutral), dimension(:), intent(in) | ntr, | ||
type(espece), dimension(:), intent(in) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy), intent(in) | ew, | ||
real, dimension(:), intent(out) | buffer | ||
) |
Follow IPIM V2-format.
Use other variables:
subroutine module_io::construct_buffer_v3 | ( | integer, intent(in) | i_tube, |
type(mode_simu), intent(in) | simu, | ||
type(simulation_data), intent(in) | sim_data, | ||
type(coordonnees), dimension(:,:), intent(in) | pos_tube, | ||
type(neutral), dimension(:), intent(in) | ntr, | ||
type(espece), dimension(:), intent(in) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy), intent(in) | ew, | ||
real, dimension(:), intent(out) | buffer | ||
) |
Follow IPIM V3-format.
Use other variables:
subroutine module_io::construct_buffer_v4 | ( | integer, intent(in) | i_tube, |
type(mode_simu), intent(in) | simu, | ||
type(simulation_data), intent(in) | sim_data, | ||
type(coordonnees), dimension(:,:), intent(in) | pos_tube, | ||
type(neutral), dimension(:), intent(in) | ntr, | ||
type(espece), dimension(:), intent(in) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy), intent(in) | ew, | ||
real, dimension(:), intent(out) | buffer | ||
) |
Follow IPIM V4-format.
Use other variables:
subroutine module_io::construct_buffer_v5 | ( | integer, intent(in) | i_tube, |
type(mode_simu), intent(in) | simu, | ||
type(simulation_data), intent(in) | sim_data, | ||
type(coordonnees), dimension(:,:), intent(in) | pos_tube, | ||
type(neutral), dimension(:), intent(in) | ntr, | ||
type(espece), dimension(:), intent(in) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy), intent(in) | ew, | ||
real, dimension(:), intent(out) | buffer | ||
) |
Follow IPIM V5-format.
Use other variables:
subroutine module_io::construct_buffer_v6 | ( | integer, intent(in) | i_tube, |
type(mode_simu), intent(in) | simu, | ||
type(simulation_data), intent(in) | sim_data, | ||
type(coordonnees), dimension(:,:), intent(in) | pos_tube, | ||
type(neutral), dimension(:), intent(in) | ntr, | ||
type(espece), dimension(:), intent(in) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy), intent(in) | ew, | ||
real, dimension(:), intent(out) | buffer | ||
) |
Follow IPIM V6-format.
Use other variables:
subroutine module_io::decode_buffer | ( | integer, intent(in) | i_tube, |
real, dimension(:), intent(in) | buffer, | ||
type(simulation_data) | sim_data, | ||
type(coordonnees), dimension(:,:) | pos_tube, | ||
type(neutral), dimension(:) | ntr, | ||
type(espece), dimension(:) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy) | ew | ||
) |
Master routine to call decode_buffer_v* corresponding version.
subroutine module_io::decode_buffer_v1 | ( | integer, intent(in) | i_tube, |
real, dimension(:), intent(in) | buffer, | ||
type(simulation_data) | sim_data, | ||
type(coordonnees), dimension(:,:) | pos_tube, | ||
type(neutral), dimension(:) | ntr, | ||
type(espece), dimension(:) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy) | ew | ||
) |
subroutine module_io::decode_buffer_v2 | ( | integer, intent(in) | i_tube, |
real, dimension(:), intent(in) | buffer, | ||
type(simulation_data) | sim_data, | ||
type(coordonnees), dimension(:,:) | pos_tube, | ||
type(neutral), dimension(:) | ntr, | ||
type(espece), dimension(:) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy) | ew | ||
) |
subroutine module_io::decode_buffer_v3 | ( | integer, intent(in) | i_tube, |
real, dimension(:), intent(in) | buffer, | ||
type(simulation_data) | sim_data, | ||
type(coordonnees), dimension(:,:) | pos_tube, | ||
type(neutral), dimension(:) | ntr, | ||
type(espece), dimension(:) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy) | ew | ||
) |
subroutine module_io::decode_buffer_v4 | ( | integer, intent(in) | i_tube, |
real, dimension(:), intent(in) | buffer, | ||
type(simulation_data) | sim_data, | ||
type(coordonnees), dimension(:,:) | pos_tube, | ||
type(neutral), dimension(:) | ntr, | ||
type(espece), dimension(:) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy) | ew | ||
) |
subroutine module_io::decode_buffer_v5 | ( | integer, intent(in) | i_tube, |
real, dimension(:), intent(in) | buffer, | ||
type(simulation_data) | sim_data, | ||
type(coordonnees), dimension(:,:) | pos_tube, | ||
type(neutral), dimension(:) | ntr, | ||
type(espece), dimension(:) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy) | ew | ||
) |
subroutine module_io::decode_buffer_v6 | ( | integer, intent(in) | i_tube, |
real, dimension(:), intent(in) | buffer, | ||
type(simulation_data) | sim_data, | ||
type(coordonnees), dimension(:,:) | pos_tube, | ||
type(neutral), dimension(:) | ntr, | ||
type(espece), dimension(:) | ion, | ||
type(emissions) | eml, | ||
type(wave_energy) | ew | ||
) |
Decode format IPIM output V6-format.
subroutine module_io::init_coef_file | ( | ) |
Initialise reading of coef file finding correspondance between atmopheric species and species given by the user.
subroutine module_io::read_coef_file | ( | ) |
Read coef file keeping in memory the position in the file.