SABER
type_samp Module Reference

Sampling derived type. More...

Data Types

type  samp_type
 

Functions/Subroutines

subroutine samp_alloc_mask (samp, geom)
 Allocation for mask. More...
 
subroutine samp_alloc_other (samp, nam, geom)
 Allocation for other variables. More...
 
subroutine samp_partial_dealloc (samp)
 Release memory (partial) More...
 
subroutine samp_dealloc (samp)
 Release memory. More...
 
subroutine samp_read (samp, mpl, nam, geom)
 Read. More...
 
subroutine samp_write (samp, mpl, nam, geom)
 Write. More...
 
subroutine samp_write_grids (samp, mpl, nam, geom)
 Write. More...
 
subroutine samp_setup (samp, sname, mpl, rng, nam, geom, ens)
 Setup sampling. More...
 
subroutine samp_compute_mask (samp, mpl, nam, geom, ens)
 Compute mask. More...
 
subroutine samp_compute_c1 (samp, mpl, rng, nam, geom)
 Compute sampling, subset Sc1. More...
 
subroutine samp_compute_mpi_c1a (samp, mpl, nam, geom)
 Compute MPI distribution, halo A, subset Sc1. More...
 
subroutine samp_compute_c3 (samp, mpl, rng, nam, geom)
 Compute sampling, subset Sc3. More...
 
subroutine samp_check_mask (samp, mpl, nam, geom)
 Check sampling mask. More...
 
subroutine samp_compute_c2 (samp, mpl, rng, nam, geom)
 Compute sampling, subset Sc2. More...
 
subroutine samp_compute_mpi_c2a (samp, mpl, nam, geom)
 Compute sampling MPI distribution, halo A, subset Sc2. More...
 
subroutine samp_compute_mpi_c2b (samp, mpl, rng, nam, geom)
 Compute sampling MPI distribution, halo B. More...
 
subroutine samp_compute_mesh_c2 (samp, mpl, rng)
 Compute sampling mesh, subset Sc2. More...
 
subroutine samp_compute_mpi_c (samp, mpl, rng, nam, geom)
 Compute sampling MPI distribution, halo C. More...
 
subroutine samp_compute_mpi_d (samp, mpl, nam, geom)
 Compute sampling MPI distribution, halo D. More...
 
subroutine samp_compute_mpi_e (samp, mpl, nam)
 Compute sampling MPI distribution, halo E. More...
 
subroutine samp_diag_filter (samp, mpl, nam, filter_type, rflt, diag_c2a, val_c2a)
 Filter diagnostics. More...
 
subroutine samp_diag_fill (samp, mpl, diag_c2a)
 Fill diagnostics missing values. More...
 

Detailed Description

Sampling derived type.

Function/Subroutine Documentation

◆ samp_alloc_mask()

subroutine type_samp::samp_alloc_mask ( class(samp_type), intent(inout)  samp,
type(geom_type), intent(in)  geom 
)
private

Allocation for mask.

Parameters
[in,out]sampSampling
[in]geomGeometry

Definition at line 161 of file type_samp.F90.

Here is the caller graph for this function:

◆ samp_alloc_other()

subroutine type_samp::samp_alloc_other ( class(samp_type), intent(inout)  samp,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom 
)
private

Allocation for other variables.

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

Definition at line 182 of file type_samp.F90.

Here is the caller graph for this function:

◆ samp_check_mask()

subroutine type_samp::samp_check_mask ( class(samp_type), intent(inout)  samp,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom 
)
private

Check sampling mask.

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

Definition at line 1426 of file type_samp.F90.

◆ samp_compute_c1()

subroutine type_samp::samp_compute_c1 ( class(samp_type), intent(inout)  samp,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
type(nam_type), intent(inout)  nam,
type(geom_type), intent(in)  geom 
)
private

Compute sampling, subset Sc1.

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

Definition at line 1113 of file type_samp.F90.

Here is the call graph for this function:

◆ samp_compute_c2()

subroutine type_samp::samp_compute_c2 ( class(samp_type), intent(inout)  samp,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng,
type(nam_type), intent(inout)  nam,
type(geom_type), intent(in)  geom 
)
private

Compute sampling, subset Sc2.

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

Definition at line 1478 of file type_samp.F90.

Here is the call graph for this function:

◆ samp_compute_c3()

subroutine type_samp::samp_compute_c3 ( class(samp_type), intent(inout)  samp,
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

Compute sampling, subset Sc3.

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

Definition at line 1285 of file type_samp.F90.

Here is the call graph for this function:

◆ samp_compute_mask()

subroutine type_samp::samp_compute_mask ( class(samp_type), intent(inout)  samp,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(ens_type), intent(inout)  ens 
)
private

Compute mask.

Parameters
[in,out]sampSampling
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in,out]ensEnsemble

Definition at line 969 of file type_samp.F90.

Here is the call graph for this function:

◆ samp_compute_mesh_c2()

subroutine type_samp::samp_compute_mesh_c2 ( class(samp_type), intent(inout)  samp,
type(mpl_type), intent(inout)  mpl,
type(rng_type), intent(inout)  rng 
)
private

Compute sampling mesh, subset Sc2.

Parameters
[in,out]sampSampling
[in,out]mplMPI data
[in,out]rngRandom number generator

Definition at line 1748 of file type_samp.F90.

◆ samp_compute_mpi_c()

subroutine type_samp::samp_compute_mpi_c ( class(samp_type), intent(inout)  samp,
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

Compute sampling MPI distribution, halo C.

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

Definition at line 1779 of file type_samp.F90.

◆ samp_compute_mpi_c1a()

subroutine type_samp::samp_compute_mpi_c1a ( class(samp_type), intent(inout)  samp,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom 
)
private

Compute MPI distribution, halo A, subset Sc1.

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

Definition at line 1218 of file type_samp.F90.

◆ samp_compute_mpi_c2a()

subroutine type_samp::samp_compute_mpi_c2a ( class(samp_type), intent(inout)  samp,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom 
)
private

Compute sampling MPI distribution, halo A, subset Sc2.

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

Definition at line 1561 of file type_samp.F90.

◆ samp_compute_mpi_c2b()

subroutine type_samp::samp_compute_mpi_c2b ( class(samp_type), intent(inout)  samp,
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

Compute sampling MPI distribution, halo B.

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

Definition at line 1662 of file type_samp.F90.

◆ samp_compute_mpi_d()

subroutine type_samp::samp_compute_mpi_d ( class(samp_type), intent(inout)  samp,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom 
)
private

Compute sampling MPI distribution, halo D.

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

Definition at line 1865 of file type_samp.F90.

◆ samp_compute_mpi_e()

subroutine type_samp::samp_compute_mpi_e ( class(samp_type), intent(inout)  samp,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam 
)
private

Compute sampling MPI distribution, halo E.

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

Definition at line 1984 of file type_samp.F90.

◆ samp_dealloc()

subroutine type_samp::samp_dealloc ( class(samp_type), intent(inout)  samp)
private

Release memory.

Parameters
[in,out]sampSampling

Definition at line 260 of file type_samp.F90.

◆ samp_diag_fill()

subroutine type_samp::samp_diag_fill ( class(samp_type), intent(in)  samp,
type(mpl_type), intent(inout)  mpl,
real(kind_real), dimension(samp%nc2a), intent(inout)  diag_c2a 
)
private

Fill diagnostics missing values.

Parameters
[in]sampSampling
[in,out]mplMPI data
[in,out]diag_c2aFiltered diagnostic

Definition at line 2255 of file type_samp.F90.

◆ samp_diag_filter()

subroutine type_samp::samp_diag_filter ( class(samp_type), intent(in)  samp,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
character(len=*), intent(in)  filter_type,
real(kind_real), intent(in)  rflt,
real(kind_real), dimension(samp%nc2a), intent(inout)  diag_c2a,
real(kind_real), dimension(samp%nc2a), intent(in), optional  val_c2a 
)
private

Filter diagnostics.

Parameters
[in]sampSampling
[in,out]mplMPI data
[in]namNamelist
[in]filter_typeFilter type
[in]rfltFilter support radius
[in,out]diag_c2aFiltered diagnostic
[in]val_c2aUseful value for filtering

Definition at line 2090 of file type_samp.F90.

Here is the call graph for this function:

◆ samp_partial_dealloc()

subroutine type_samp::samp_partial_dealloc ( class(samp_type), intent(inout)  samp)
private

Release memory (partial)

Parameters
[in,out]sampSampling

Definition at line 211 of file type_samp.F90.

◆ samp_read()

subroutine type_samp::samp_read ( class(samp_type), intent(inout)  samp,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(inout)  nam,
type(geom_type), intent(in)  geom 
)
private

Read.

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

Definition at line 314 of file type_samp.F90.

◆ samp_setup()

subroutine type_samp::samp_setup ( class(samp_type), intent(inout)  samp,
character(len=*), intent(in)  sname,
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 
)
private

Setup sampling.

Parameters
[in,out]sampSampling
[in]snameSampling name
[in,out]mplMPI data
[in,out]rngRandom number generator
[in,out]namNamelist
[in]geomGeometry
[in,out]ensEnsemble

Definition at line 752 of file type_samp.F90.

Here is the call graph for this function:

◆ samp_write()

subroutine type_samp::samp_write ( class(samp_type), intent(in)  samp,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom 
)
private

Write.

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

Definition at line 437 of file type_samp.F90.

◆ samp_write_grids()

subroutine type_samp::samp_write_grids ( class(samp_type), intent(in)  samp,
type(mpl_type), intent(inout)  mpl,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom 
)
private

Write.

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

Definition at line 542 of file type_samp.F90.