SABER
type_var Module Reference

Variance derived type. More...

Data Types

type  var_type
 

Functions/Subroutines

subroutine var_alloc (var, nam, geom)
 Allocation. More...
 
subroutine var_partial_dealloc (var)
 Release memory (partial) More...
 
subroutine var_dealloc (var)
 Release memory (full) More...
 
subroutine var_read (var, mpl, nam, geom, io)
 Read. More...
 
subroutine var_write (var, mpl, nam, geom, io)
 Write. More...
 
subroutine var_run_var (var, mpl, rng, nam, geom, ens, io)
 Compute variance. More...
 
subroutine var_filter (var, mpl, rng, nam, geom)
 Filter variance. More...
 
subroutine var_apply_sqrt (var, nam, geom, fld)
 Apply square-root variance. More...
 
subroutine var_apply_sqrt_inv (var, nam, geom, fld)
 Apply square-root variance inverse. More...
 

Detailed Description

Variance derived type.

Function/Subroutine Documentation

◆ var_alloc()

subroutine type_var::var_alloc ( class(var_type), intent(inout)  var,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom 
)
private

Allocation.

Parameters
[in,out]varVariance
[in]namNamelist
[in]geomGeometry

Definition at line 53 of file type_var.F90.

◆ var_apply_sqrt()

subroutine type_var::var_apply_sqrt ( class(var_type), intent(in)  var,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
real(kind_real), dimension(geom%nc0a,geom%nl0,nam%nv), intent(inout)  fld 
)
private

Apply square-root variance.

Parameters
[in]varVariance
[in]namNamelist
[in]geomGeometry
[in,out]fldSource/destination vector

Definition at line 378 of file type_var.F90.

◆ var_apply_sqrt_inv()

subroutine type_var::var_apply_sqrt_inv ( class(var_type), intent(in)  var,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
real(kind_real), dimension(geom%nc0a,geom%nl0,nam%nv), intent(inout)  fld 
)
private

Apply square-root variance inverse.

Parameters
[in]varVariance
[in]namNamelist
[in]geomGeometry
[in,out]fldSource/destination vector

Definition at line 404 of file type_var.F90.

◆ var_dealloc()

subroutine type_var::var_dealloc ( class(var_type), intent(inout)  var)
private

Release memory (full)

Parameters
[in,out]varVariance

Definition at line 92 of file type_var.F90.

◆ var_filter()

subroutine type_var::var_filter ( class(var_type), intent(inout)  var,
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

Filter variance.

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

Definition at line 248 of file type_var.F90.

◆ var_partial_dealloc()

subroutine type_var::var_partial_dealloc ( class(var_type), intent(inout)  var)
private

Release memory (partial)

Parameters
[in,out]varVariance

Definition at line 74 of file type_var.F90.

◆ var_read()

subroutine type_var::var_read ( class(var_type), intent(inout)  var,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(io_type), intent(in)  io 
)
private

Read.

Parameters
[in,out]varVariance
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]ioI/O

Definition at line 109 of file type_var.F90.

◆ var_run_var()

subroutine type_var::var_run_var ( class(var_type), intent(inout)  var,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
type(nam_type), intent(inout)  nam,
type(geom_type), intent(in)  geom,
type(ens_type), intent(inout)  ens,
type(io_type), intent(in)  io 
)
private

Compute variance.

Parameters
[in,out]varVariance
[in,out]mplMPI data
[in,out]rngRandom number generator
[in,out]namNamelist
[in]geomGeometry
[in,out]ensEnsemble
[in]ioI/O

Definition at line 189 of file type_var.F90.

◆ var_write()

subroutine type_var::var_write ( class(var_type), intent(inout)  var,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(io_type), intent(in)  io 
)
private

Write.

Parameters
[in,out]varVariance
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]ioI/O

Definition at line 149 of file type_var.F90.