SABER
type_nam Module Reference

Namelist derived type. More...

Data Types

type  nam_type
 

Functions/Subroutines

subroutine nam_init (nam, nproc)
 Intialize. More...
 
subroutine nam_read (nam, mpl, namelname)
 Read. More...
 
subroutine nam_read_yaml (nam, mpl, yamlname)
 Read YAML file. More...
 
subroutine nam_bcast (nam, mpl)
 Broadcast. More...
 
subroutine nam_from_conf (nam, conf)
 Intialize from configuration. More...
 
subroutine nam_check (nam, mpl)
 Check namelist parameters. More...
 
subroutine nam_write (nam, mpl, ncid)
 Write namelist parameters into a log file or into a NetCDF file. More...
 
subroutine nam_io_key_value (nam, io_key, io_value)
 Get I/O value from key. More...
 

Variables

integer, parameter, public nvmax = 20
 
integer, parameter, public nlmax = 200
 
integer, parameter, public nc3max = 1000
 
integer, parameter, public nscalesmax = 5
 
integer, parameter, public ndirmax = 300
 
integer, parameter, public nldwvmax = 99
 
integer, parameter nprociomax = 20
 
integer, parameter, public niokvmax = 30
 
integer, parameter, public nvbalmax = nvmax*(nvmax-1)/2
 

Detailed Description

Namelist derived type.

Function/Subroutine Documentation

◆ nam_bcast()

subroutine type_nam::nam_bcast ( class(nam_type), intent(inout)  nam,
type(mpl_type), intent(inout)  mpl 
)
private

Broadcast.

Parameters
[in,out]namNamelist
[in,out]mplMPI data

Definition at line 1147 of file type_nam.F90.

◆ nam_check()

subroutine type_nam::nam_check ( class(nam_type), intent(inout)  nam,
type(mpl_type), intent(inout)  mpl 
)
private

Check namelist parameters.

Parameters
[in,out]namNamelist
[in,out]mplMPI data

Definition at line 1608 of file type_nam.F90.

◆ nam_from_conf()

subroutine type_nam::nam_from_conf ( class(nam_type), intent(inout)  nam,
type(fckit_configuration), intent(in)  conf 
)
private

Intialize from configuration.

Parameters
[in,out]namNamelist
[in]confConfiguration

Definition at line 1329 of file type_nam.F90.

◆ nam_init()

subroutine type_nam::nam_init ( class(nam_type), intent(out)  nam,
integer, intent(in)  nproc 
)
private

Intialize.

Parameters
[out]namNamelist
[in]nprocNumber of MPI task

Definition at line 218 of file type_nam.F90.

◆ nam_io_key_value()

subroutine type_nam::nam_io_key_value ( class(nam_type), intent(in)  nam,
character(len=*), intent(in)  io_key,
character(len=1024), intent(out)  io_value 
)
private

Get I/O value from key.

Parameters
[in]namNamelist
[in]io_keyI/O key
[out]io_valueI/O value

Definition at line 2233 of file type_nam.F90.

◆ nam_read()

subroutine type_nam::nam_read ( class(nam_type), intent(inout)  nam,
type(mpl_type), intent(inout)  mpl,
character(len=*), intent(in)  namelname 
)
private

Read.

Parameters
[in,out]namNamelist
[in,out]mplMPI data
[in]namelnameNamelist name

Definition at line 419 of file type_nam.F90.

◆ nam_read_yaml()

subroutine type_nam::nam_read_yaml ( class(nam_type), intent(inout)  nam,
type(mpl_type), intent(inout)  mpl,
character(len=*), intent(inout)  yamlname 
)
private

Read YAML file.

Parameters
[in,out]namNamelist
[in,out]mplMPI data
[in,out]yamlnameYAML name

Definition at line 1121 of file type_nam.F90.

◆ nam_write()

subroutine type_nam::nam_write ( class(nam_type), intent(in)  nam,
type(mpl_type), intent(inout)  mpl,
integer, intent(in), optional  ncid 
)
private

Write namelist parameters into a log file or into a NetCDF file.

Parameters
[in]namNamelist
[in,out]mplMPI data
[in]ncidNetCDF file

Definition at line 1980 of file type_nam.F90.

Variable Documentation

◆ nc3max

integer, parameter, public type_nam::nc3max = 1000

Definition at line 21 of file type_nam.F90.

◆ ndirmax

integer, parameter, public type_nam::ndirmax = 300

Definition at line 23 of file type_nam.F90.

◆ niokvmax

integer, parameter, public type_nam::niokvmax = 30

Definition at line 26 of file type_nam.F90.

◆ nldwvmax

integer, parameter, public type_nam::nldwvmax = 99

Definition at line 24 of file type_nam.F90.

◆ nlmax

integer, parameter, public type_nam::nlmax = 200

Definition at line 20 of file type_nam.F90.

◆ nprociomax

integer, parameter type_nam::nprociomax = 20

Definition at line 25 of file type_nam.F90.

◆ nscalesmax

integer, parameter, public type_nam::nscalesmax = 5

Definition at line 22 of file type_nam.F90.

◆ nvbalmax

integer, parameter, public type_nam::nvbalmax = nvmax*(nvmax-1)/2

Definition at line 27 of file type_nam.F90.

◆ nvmax

integer, parameter, public type_nam::nvmax = 20

Definition at line 19 of file type_nam.F90.