IGMBaseLib 1.0
|
This module provides the derived type to manage the information nesessary for reading the physical field data on icosahedral grid from NetCDF file, and some subroutines to read the grid and field data. More...
Data Types | |
type | IcGrid_ncReader |
IcGrid_ncWriter_mod モジュールを用いて書き出された netCDF 形式の正二十面体格子上の物理量データを読み込むための 情報を管理するための構造型. More... | |
interface | IcGrid_ncReader_Init |
interface | read_FieldData |
Functions/Subroutines | |
subroutine | IcGrid2D_ncReader_Init (self, ref_icgrid) |
Initializes the variable of derived type IcGrid_ncReader. | |
subroutine, public | open_ncFile (self, file_name) |
Opens the specified NetCDF file. | |
subroutine, public | read_Simulation_Parameter (self, integration_time, time_step, output_tick) |
Reads the simulation parameters from NetCDF file. | |
subroutine, public | read_GridData (self) |
Reads icosahedral grid data from NetCDF file. | |
subroutine | read_Field2D_Data (self, name, field, time_level) |
Reads the physical field data at specified time level time_level from NetCDF file. | |
subroutine, public | close_ncFile (self) |
Closes the NetCDF file. |
This module provides the derived type to manage the information nesessary for reading the physical field data on icosahedral grid from NetCDF file, and some subroutines to read the grid and field data.
Copyright (C) GFD Dennou Club, 2011-2012. All rights reserved.
license ??
subroutine,public IcGrid_ncReader_mod::close_ncFile | ( | type(IcGrid_ncReader),intent(in) | self | ) |
Closes the NetCDF file.
[in] | self | The variable of derived type IcGrid_ncReader. |
Definition at line 464 of file IcGrid_ncReader_mod.f90.
subroutine IcGrid_ncReader_mod::IcGrid2D_ncReader_Init | ( | type(IcGrid_ncReader),intent(inout) | self, |
type(IcGrid2D_FVM),intent(in),target | ref_icgrid | ||
) | [private] |
Initializes the variable of derived type IcGrid_ncReader.
The second argument ref_icgrid must be initialized by init_IcGrid2D_FVM before calling this subroutine.
[in,out] | self | The variable of derived IcGrid_ncReader. |
[in] | ref_icgrid | The variable of derived type IcGrid2D_FVM. |
Definition at line 142 of file IcGrid_ncReader_mod.f90.
subroutine,public IcGrid_ncReader_mod::open_ncFile | ( | type(IcGrid_ncReader),intent(inout) | self, |
character(*),intent(in) | file_name | ||
) |
Opens the specified NetCDF file.
このとき, netCDF ファイル内で定義されている次元情報を読み込み, Mesh2_ncInfo クラスのメンバー変数に格納しておく.
[in,out] | self | The variable of derived type IcGrid_ncReader. |
[in] | file_name | The name of NetCDF file. |
Definition at line 185 of file IcGrid_ncReader_mod.f90.
subroutine IcGrid_ncReader_mod::read_Field2D_Data | ( | type(IcGrid_ncReader),intent(in) | self, |
character(*),intent(in) | name, | ||
type(Field_IcGrid2D),intent(inout) | field, | ||
integer,intent(in) | time_level | ||
) |
Reads the physical field data at specified time level time_level from NetCDF file.
[in] | self | The variable of derived type IcGrid_ncReader. |
[in] | name | The name of the physical field. |
[in,out] | field | The variable of derived type Field_IcGrid2D in which the physical field data stored. |
[in] | time_level | Time level. |
Definition at line 383 of file IcGrid_ncReader_mod.f90.
subroutine,public IcGrid_ncReader_mod::read_GridData | ( | type(IcGrid_ncReader),intent(inout) | self | ) |
Reads icosahedral grid data from NetCDF file.
[in,out] | self | The variable of derived type IcGrid_ncReader. |
Definition at line 273 of file IcGrid_ncReader_mod.f90.
subroutine,public IcGrid_ncReader_mod::read_Simulation_Parameter | ( | type(IcGrid_ncReader),intent(inout) | self, |
real(DP),intent(out) | integration_time, | ||
real(DP),intent(out) | time_step, | ||
real(DP),intent(out) | output_tick | ||
) |
Reads the simulation parameters from NetCDF file.
[in] | self | The variable of derived type IcGrid_ncReader. |
[in] | integration_time | Integration time [sec]. |
[in] | time_step | Time step[sec]. |
[in] | output_tick | Output time interval [sec]. |
Definition at line 231 of file IcGrid_ncReader_mod.f90.