SABER
type_avg Module Reference

Average routines. More...

Data Types

type  avg_type
 

Functions/Subroutines

subroutine avg_alloc (avg, nam, geom, bpar, samp, ne, nsub, prefix)
 Allocation. More...
 
subroutine avg_dealloc (avg)
 Release memory. More...
 
subroutine avg_copy (avg_out, avg_in)
 Copy. More...
 
subroutine avg_write (avg, mpl, nam, geom, bpar)
 Write. More...
 
subroutine avg_compute (avg, mpl, nam, geom, bpar, samp, mom, ne, prefix)
 Compute averaged statistics. More...
 
subroutine avg_compute_hyb (avg_1, mpl, nam, geom, bpar, samp, avg_2)
 Compute hybrid averaged statistics. More...
 
subroutine avg_compute_deh (avg_1, mpl, nam, geom, bpar, samp, mom_1, mom_2)
 Compute dual-ensemble hybrid averaged statistics. More...
 
subroutine avg_copy_wgt (avg_out, geom, bpar, avg_in)
 Averaged statistics data copy for weight definition. More...
 
subroutine avg_compute_bwavg (avg, mpl, nam, geom, bpar, samp, avg_wgt)
 Compute block-averaged statistics. More...
 
subroutine avg_compute_bwavg_hyb (avg, mpl, nam, geom, bpar, samp, avg_wgt)
 Compute hybrid block-averaged statistics. More...
 
subroutine avg_compute_bwavg_deh (avg, mpl, nam, geom, bpar, samp, avg_wgt)
 Compute dual-ensemble hybrid block-averaged statistics. More...
 

Detailed Description

Average routines.

Function/Subroutine Documentation

◆ avg_alloc()

subroutine type_avg::avg_alloc ( class(avg_type), intent(inout)  avg,
type(nam_type), intent(in)  nam,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar,
type(samp_type), intent(in)  samp,
integer, intent(in)  ne,
integer, intent(in)  nsub,
character(len=*), intent(in)  prefix 
)
private

Allocation.

Parameters
[in,out]avgAveraged statistics
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]sampSampling
[in]neEnsemble size
[in]nsubNumber of sub-ensembles

Definition at line 55 of file type_avg.F90.

◆ avg_compute()

subroutine type_avg::avg_compute ( class(avg_type), intent(inout)  avg,
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(mom_type), intent(in)  mom,
integer, intent(in)  ne,
character(len=*), intent(in)  prefix 
)
private

Compute averaged statistics.

Parameters
[in,out]avgAveraged statistics
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]sampSampling
[in]momMoments
[in]neEnsemble size

Definition at line 169 of file type_avg.F90.

◆ avg_compute_bwavg()

subroutine type_avg::avg_compute_bwavg ( class(avg_type), intent(inout)  avg,
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_wgt 
)
private

Compute block-averaged statistics.

Parameters
[in,out]avgAveraged statistics
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]sampSampling
[in]avg_wgtAveraged statistics for weights

Definition at line 404 of file type_avg.F90.

Here is the call graph for this function:

◆ avg_compute_bwavg_deh()

subroutine type_avg::avg_compute_bwavg_deh ( class(avg_type), intent(inout)  avg,
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_wgt 
)
private

Compute dual-ensemble hybrid block-averaged statistics.

Parameters
[in,out]avgAveraged statistics
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]sampSampling
[in]avg_wgtAveraged statistics for weights

Definition at line 600 of file type_avg.F90.

Here is the call graph for this function:

◆ avg_compute_bwavg_hyb()

subroutine type_avg::avg_compute_bwavg_hyb ( class(avg_type), intent(inout)  avg,
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_wgt 
)
private

Compute hybrid block-averaged statistics.

Parameters
[in,out]avgAveraged statistics
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]sampSampling
[in]avg_wgtAveraged statistics for weights

Definition at line 513 of file type_avg.F90.

Here is the call graph for this function:

◆ avg_compute_deh()

subroutine type_avg::avg_compute_deh ( class(avg_type), intent(inout)  avg_1,
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(mom_type), intent(in)  mom_1,
type(mom_type), intent(in)  mom_2 
)
private

Compute dual-ensemble hybrid averaged statistics.

Parameters
[in,out]avg_1Ensemble 1 averaged statistics
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]sampSampling
[in]mom_1Ensemble 1 moments
[in]mom_2Ensemble 2 moments

Definition at line 299 of file type_avg.F90.

◆ avg_compute_hyb()

subroutine type_avg::avg_compute_hyb ( class(avg_type), intent(inout)  avg_1,
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_2 
)
private

Compute hybrid averaged statistics.

Parameters
[in,out]avg_1Ensemble 1 averaged statistics
[in,out]mplMPI data
[in]namNamelist
[in]geomGeometry
[in]bparBlock parameters
[in]sampSampling
[in]avg_2Ensemble 2 averaged statistics

Definition at line 252 of file type_avg.F90.

◆ avg_copy()

subroutine type_avg::avg_copy ( class(avg_type), intent(inout)  avg_out,
class(avg_type), intent(in)  avg_in 
)
private

Copy.

Parameters
[in,out]avg_outOutput averaged statistics
[in]avg_inInput averaged statistics

Definition at line 117 of file type_avg.F90.

◆ avg_copy_wgt()

subroutine type_avg::avg_copy_wgt ( class(avg_type), intent(inout)  avg_out,
type(geom_type), intent(in)  geom,
type(bpar_type), intent(in)  bpar,
type(avg_type), intent(in)  avg_in 
)
private

Averaged statistics data copy for weight definition.

Parameters
[in,out]avg_outOutput averaged statistics
[in]geomGeometry
[in]bparBlock parameters
[in]avg_inInput averaged statistics

Definition at line 370 of file type_avg.F90.

◆ avg_dealloc()

subroutine type_avg::avg_dealloc ( class(avg_type), intent(inout)  avg)
private

Release memory.

Parameters
[in,out]avgAveraged statistics

Definition at line 91 of file type_avg.F90.

◆ avg_write()

subroutine type_avg::avg_write ( class(avg_type), intent(inout)  avg,
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

Write.

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

Definition at line 141 of file type_avg.F90.