SABER
type_diag Module Reference

Diagnostic derived type. More...

Data Types

type  diag_type
 

Functions/Subroutines

subroutine diag_alloc (diag, mpl, nam, geom, bpar, samp, prefix)
 Allocation. More...
 
subroutine diag_dealloc (diag)
 Release memory. More...
 
subroutine diag_write (diag, mpl, nam, geom, bpar, io, samp)
 Write. More...
 
subroutine diag_filter_fit (diag, mpl, nam, geom, bpar, samp)
 Filter fit diagnostics. More...
 
subroutine diag_build_fit (diag, mpl, nam, geom, bpar)
 Build fit function. More...
 
subroutine diag_covariance (diag, mpl, nam, geom, bpar, samp, avg, prefix)
 Compute covariance. More...
 
subroutine diag_correlation (diag, mpl, rng, nam, geom, bpar, io, samp, avg, prefix)
 Compute correlation. More...
 
subroutine diag_localization (diag, mpl, rng, nam, geom, bpar, io, samp, avg, prefix)
 Compute diagnostic localization. More...
 
subroutine diag_hybridization (diag, mpl, rng, nam, geom, bpar, io, samp, avg, prefix)
 Compute diagnostic hybridization. More...
 
subroutine diag_dualens (diag, mpl, rng, nam, geom, bpar, io, samp, avg, avg_lr, diag_lr, prefix, prefix_lr)
 Compute diagnostic dualens. More...
 

Variables

real(kind_real), parameter bound = 5.0_kind_real
 

Detailed Description

Diagnostic derived type.

Function/Subroutine Documentation

◆ diag_alloc()

subroutine type_diag::diag_alloc ( class(diag_type), intent(inout)  diag,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar,
type(samp_type), intent(in)  samp,
character(len=*), intent(in)  prefix 
)
private

Allocation.

Parameters
[in,out]diagDiagnostic
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]sampSampling
[in]prefixBlock prefix

Definition at line 56 of file type_diag.F90.

◆ diag_build_fit()

subroutine type_diag::diag_build_fit ( class(diag_type), intent(inout)  diag,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar 
)
private

Build fit function.

Parameters
[in,out]diagDiagnostic
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters

Definition at line 356 of file type_diag.F90.

Here is the call graph for this function:

◆ diag_correlation()

subroutine type_diag::diag_correlation ( class(diag_type), intent(inout)  diag,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar,
type(io_type), intent(in)  io,
type(samp_type), intent(in)  samp,
type(avg_type), intent(in)  avg,
character(len=*), intent(in)  prefix 
)
private

Compute correlation.

Parameters
[in,out]diagDiagnostic
[in,out]mplMPI data
[in,out]rngRandom number generator
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]ioI/O
[in]sampSampling
[in]avgAveraged statistics
[in]prefixDiagnostic prefix

Definition at line 450 of file type_diag.F90.

◆ diag_covariance()

subroutine type_diag::diag_covariance ( class(diag_type), intent(inout)  diag,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar,
type(samp_type), intent(in)  samp,
type(avg_type), intent(in)  avg,
character(len=*), intent(in)  prefix 
)
private

Compute covariance.

Parameters
[in,out]diagDiagnostic
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]sampSampling
[in]avgAveraged statistics
[in]prefixDiagnostic prefix

Definition at line 401 of file type_diag.F90.

◆ diag_dealloc()

subroutine type_diag::diag_dealloc ( class(diag_type), intent(inout)  diag)
private

Release memory.

Parameters
[in,out]diagDiagnostic

Definition at line 98 of file type_diag.F90.

◆ diag_dualens()

subroutine type_diag::diag_dualens ( class(diag_type), intent(inout)  diag,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar,
type(io_type), intent(in)  io,
type(samp_type), intent(in)  samp,
type(avg_type), intent(in)  avg,
type(avg_type), intent(in)  avg_lr,
type(diag_type), intent(inout)  diag_lr,
character(len=*), intent(in)  prefix,
character(len=*), intent(in)  prefix_lr 
)
private

Compute diagnostic dualens.

Parameters
[in,out]diagDiagnostic (localization)
[in,out]mplMPI data
[in,out]rngRandom number generator
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]ioI/O
[in]sampSampling
[in]avgAveraged statistics
[in]avg_lrLR averaged statistics
[in,out]diag_lrDiagnostic (LR localization)
[in]prefixDiagnostic prefix
[in]prefix_lrLR diagnostic prefix

Definition at line 699 of file type_diag.F90.

◆ diag_filter_fit()

subroutine type_diag::diag_filter_fit ( class(diag_type), intent(inout)  diag,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar,
type(samp_type), intent(in)  samp 
)
private

Filter fit diagnostics.

Parameters
[in,out]diagDiagnostic
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]sampSampling

Definition at line 233 of file type_diag.F90.

Here is the call graph for this function:

◆ diag_hybridization()

subroutine type_diag::diag_hybridization ( class(diag_type), intent(inout)  diag,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar,
type(io_type), intent(in)  io,
type(samp_type), intent(in)  samp,
type(avg_type), intent(in)  avg,
character(len=*), intent(in)  prefix 
)
private

Compute diagnostic hybridization.

Parameters
[in,out]diagDiagnostic (localization)
[in,out]mplMPI data
[in,out]rngRandom number generator
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]ioI/O
[in]sampSampling
[in]avgAveraged statistics
[in]prefixDiagnostic prefix

Definition at line 612 of file type_diag.F90.

◆ diag_localization()

subroutine type_diag::diag_localization ( class(diag_type), intent(inout)  diag,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar,
type(io_type), intent(in)  io,
type(samp_type), intent(in)  samp,
type(avg_type), intent(in)  avg,
character(len=*), intent(in)  prefix 
)
private

Compute diagnostic localization.

Parameters
[in,out]diagDiagnostic
[in,out]mplMPI data
[in,out]rngRandom number generator
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]ioI/O
[in]sampSampling
[in]avgAveraged statistics
[in]prefixBlock prefix

Definition at line 531 of file type_diag.F90.

◆ diag_write()

subroutine type_diag::diag_write ( class(diag_type), intent(inout)  diag,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar,
type(io_type), intent(in)  io,
type(samp_type), intent(in)  samp 
)
private

Write.

Parameters
[in,out]diagDiagnostic
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]ioI/O
[in]sampSampling

Definition at line 124 of file type_diag.F90.

Variable Documentation

◆ bound

real(kind_real), parameter type_diag::bound = 5.0_kind_real

Definition at line 27 of file type_diag.F90.