IPIM
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
module_io Module Reference

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
 

Detailed Description

Module for input/output reading/writing.

Member Function/Subroutine Documentation

subroutine module_io::close_module_io ( )

Close some global allocatable module variables.

Author

Here is the caller graph for this function:

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.

Author
Fill buffer variable with:
  • pos_tube
  • ntr
  • ion
  • sim_data: contains some simulation parameters

Use other variables:

  • simu: contains nb_alt, nb_ntr, nb_ion, nb_eml

Here is the caller graph for this function:

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.

Author
Fill buffer variable with:
  • pos_tube
  • ntr
  • ion
  • sim_data: contains some simulation parameters

Use other variables:

  • simu: contains nb_alt, nb_ntr, nb_ion, nb_eml

Here is the caller graph for this function:

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.

Author
Fill buffer variable with:
  • pos_tube
  • ntr
  • ion
  • sim_data: contains some simulation parameters

Use other variables:

  • simu: contains nb_alt, nb_ntr, nb_ion, nb_eml

Here is the caller graph for this function:

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.

Author
Fill buffer variable with:
  • pos_tube
  • ntr
  • ion
  • sim_data: contains some simulation parameters

Use other variables:

  • simu: contains nb_alt, nb_ntr, nb_ion, nb_eml

Here is the caller graph for this function:

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.

Author
Fill buffer variable with:
  • pos_tube
  • ntr
  • ion
  • sim_data: contains some simulation parameters

Use other variables:

  • simu: contains nb_alt, nb_ntr, nb_ion, nb_eml

Here is the caller graph for this function:

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.

Author
Fill buffer variable with:
  • pos_tube
  • ntr
  • ion
  • sim_data: contains some simulation parameters

Use other variables:

  • simu: contains nb_alt, nb_ntr, nb_ion, nb_eml

Here is the caller graph for this function:

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.

Author

Here is the call graph for this function:

Here is the caller graph for this function:

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 
)

Decode format IPIM output V1-format.

Author

Here is the caller graph for this function:

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 
)

Decode format IPIM output V2-format.

Author

Here is the caller graph for this function:

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 
)

Decode format IPIM output V3-format.

Author

Here is the caller graph for this function:

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 
)

Decode format IPIM output V4-format.

Author

Here is the caller graph for this function:

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 
)

Decode format IPIM output V5-format.

Author

Here is the caller graph for this function:

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.

Author

Here is the caller graph for this function:

subroutine module_io::init_coef_file ( )

Initialise reading of coef file finding correspondance between atmopheric species and species given by the user.

Author
Mikel Indurain

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine module_io::read_coef_file ( )

Read coef file keeping in memory the position in the file.

Author
Mikel Indurain

Here is the caller graph for this function:


The documentation for this module was generated from the following file: