SABER
type_wind Module Reference

Subroutines/functions list. More...

Data Types

type  wind_type
 

Functions/Subroutines

subroutine wind_dealloc (wind)
 Release memory (full) More...
 
subroutine wind_read_local (wind, mpl, nam)
 Read. More...
 
subroutine wind_write_local (wind, mpl, nam)
 Write. More...
 
subroutine wind_send (wind, mpl, iproc)
 Send. More...
 
subroutine wind_receive (wind, mpl, iproc)
 Receive. More...
 
subroutine wind_buffer_size (wind, mpl, nbufi, nbufr)
 Buffer size. More...
 
subroutine wind_serialize (wind, mpl, nbufi, nbufr, bufi, bufr)
 Serialize. More...
 
subroutine wind_deserialize (wind, mpl, nbufi, nbufr, bufi, bufr)
 Deserialize. More...
 
subroutine wind_setup (wind, mpl, rng, nam, geom)
 Setup. More...
 
subroutine wind_psichi_to_uv (wind, mpl, geom, psi, chi, u, v)
 Psi/chi to u/v. More...
 
subroutine wind_psichi_to_uv_ad (wind, mpl, geom, u, v, psi, chi)
 Psi/chi to u/v adjoint. More...
 

Detailed Description

Subroutines/functions list.

Instrumentation functions Wind derived type

Function/Subroutine Documentation

◆ wind_buffer_size()

subroutine type_wind::wind_buffer_size ( class(wind_type), intent(in)  wind,
type(mpl_type), intent(inout)  mpl,
integer, intent(out)  nbufi,
integer, intent(out)  nbufr 
)
private

Buffer size.

Parameters
[in]windWind data block
[in,out]mplMPI data
[out]nbufiBuffer size (integer)
[out]nbufrBuffer size (real)

Definition at line 409 of file type_wind.F90.

◆ wind_dealloc()

subroutine type_wind::wind_dealloc ( class(wind_type), intent(inout)  wind)
private

Release memory (full)

Definition at line 83 of file type_wind.F90.

◆ wind_deserialize()

subroutine type_wind::wind_deserialize ( class(wind_type), intent(inout)  wind,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  nbufi,
integer, intent(in)  nbufr,
integer, dimension(nbufi), intent(in)  bufi,
real(kind_real), dimension(nbufr), intent(in)  bufr 
)
private

Deserialize.

Parameters
[in,out]windWind data block
[in,out]mplMPI data
[in]nbufiBuffer size (integer)
[in]nbufrBuffer size (real)
[in]bufiBuffer (integer)
[in]bufrBuffer (real)

Definition at line 558 of file type_wind.F90.

◆ wind_psichi_to_uv()

subroutine type_wind::wind_psichi_to_uv ( class(wind_type), intent(in)  wind,
type(mpl_type), intent(inout)  mpl,
type(geom_type), intent(in)  geom,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(in)  psi,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(in)  chi,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(out)  u,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(out)  v 
)
private

Psi/chi to u/v.

Parameters
[in,out]mplMPI data
[in]geomGeometry
[in]psiStream function
[in]chiVelocity potential
[out]uZonal wind
[out]vMerdional wind

Definition at line 1139 of file type_wind.F90.

◆ wind_psichi_to_uv_ad()

subroutine type_wind::wind_psichi_to_uv_ad ( class(wind_type), intent(in)  wind,
type(mpl_type), intent(inout)  mpl,
type(geom_type), intent(in)  geom,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(in)  u,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(in)  v,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(inout)  psi,
real(kind_real), dimension(geom%nc0a,geom%nl0), intent(inout)  chi 
)
private

Psi/chi to u/v adjoint.

Parameters
[in,out]mplMPI data
[in]geomGeometry
[in]uZonal wind
[in]vMerdional wind
[in,out]psiStream function
[in,out]chiVelocity potential

Definition at line 1208 of file type_wind.F90.

◆ wind_read_local()

subroutine type_wind::wind_read_local ( class(wind_type), intent(inout)  wind,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam 
)
private

Read.

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

Definition at line 112 of file type_wind.F90.

◆ wind_receive()

subroutine type_wind::wind_receive ( class(wind_type), intent(inout)  wind,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  iproc 
)
private

Receive.

Parameters
[in,out]windWind data
[in,out]mplMPI data
[in]iprocSource task

Definition at line 359 of file type_wind.F90.

◆ wind_send()

subroutine type_wind::wind_send ( class(wind_type), intent(in)  wind,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  iproc 
)
private

Send.

Parameters
[in]windWind data
[in,out]mplMPI data
[in]iprocDestination task

Definition at line 312 of file type_wind.F90.

◆ wind_serialize()

subroutine type_wind::wind_serialize ( class(wind_type), intent(in)  wind,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  nbufi,
integer, intent(in)  nbufr,
integer, dimension(nbufi), intent(out)  bufi,
real(kind_real), dimension(nbufr), intent(out)  bufr 
)
private

Serialize.

Parameters
[in]windWind data block
[in,out]mplMPI data
[in]nbufiBuffer size (integer)
[in]nbufrBuffer size (real)
[out]bufiBuffer (integer)
[out]bufrBuffer (real)

Definition at line 470 of file type_wind.F90.

◆ wind_setup()

subroutine type_wind::wind_setup ( class(wind_type), intent(inout)  wind,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom 
)
private

Setup.

Parameters
[in,out]mplMPI data
[in,out]rngRandom number generator
[in]namNamelist
[in]geomGeometry

Definition at line 650 of file type_wind.F90.

◆ wind_write_local()

subroutine type_wind::wind_write_local ( class(wind_type), intent(inout)  wind,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam 
)
private

Write.

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

Definition at line 210 of file type_wind.F90.