CAM
diagnose_correlations_module Module Reference

Functions/Subroutines

subroutine, public diagnose_correlations (d_variables, corr_array_pre, corr_array)
 
subroutine, private diagnose_corr (n_variables, sqrt_sigma2_on_mu2_ip, corr_matrix_prescribed, corr_matrix_approx)
 
subroutine approx_w_corr (nz, d_variables, pdf_params, rrm, Nrm, Ncnm, stdev_w, sigma_rr_1, sigma_Nr_1, sigma_Ncn_1, corr_array)
 
subroutine approx_w_covar (nz, pdf_params, rrm, Nrm, Ncnm, wpchip_zt, wprrp_zt, wpNrp_zt, wpNcnp_zt)
 
real(kind=core_rknd) function, public calc_w_corr (wpxp, stdev_w, stdev_x, w_tol, x_tol)
 
real(kind=core_rknd) function, public calc_varnce (mixt_frac, x1, x2, xm, x1p2, x2p2)
 
real(kind=core_rknd) function, public calc_mean (mixt_frac, x1, x2)
 
subroutine, public calc_cholesky_corr_mtx_approx (n_variables, corr_matrix, corr_cholesky_mtx, corr_mtx_approx)
 
subroutine, public setup_corr_cholesky_mtx (n_variables, corr_matrix, corr_cholesky_mtx_t)
 
subroutine, public cholesky_to_corr_mtx_approx (n_variables, corr_cholesky_mtx_t, corr_matrix_approx)
 
subroutine, private corr_array_assertion_checks (n_variables, corr_array)
 
subroutine, private rearrange_corr_array (d_variables, corr_array, corr_array_swapped)
 
subroutine set_w_corr (nz, d_variables, corr_chi_w, corr_wrr, corr_wNr, corr_wNcn, corr_array)
 
subroutine unpack_correlations (d_variables, corr_array, corr_w_chi, corr_wrr, corr_wNr, corr_wNcn, corr_chi_eta, corr_chi_rr, corr_chi_Nr, corr_chi_Ncn, corr_eta_rr, corr_eta_Nr, corr_eta_Ncn, corr_rrNr)
 

Function/Subroutine Documentation

◆ approx_w_corr()

subroutine diagnose_correlations_module::approx_w_corr ( integer, intent(in)  nz,
integer, intent(in)  d_variables,
type(pdf_parameter), dimension(nz), intent(in)  pdf_params,
real( kind = core_rknd ), dimension(nz), intent(in)  rrm,
real( kind = core_rknd ), dimension(nz), intent(in)  Nrm,
real( kind = core_rknd ), dimension(nz), intent(in)  Ncnm,
real( kind = core_rknd ), dimension(nz), intent(in)  stdev_w,
real( kind = core_rknd ), intent(in)  sigma_rr_1,
real( kind = core_rknd ), intent(in)  sigma_Nr_1,
real( kind = core_rknd ), intent(in)  sigma_Ncn_1,
real( kind = core_rknd ), dimension(d_variables, d_variables, nz), intent(out)  corr_array 
)
Here is the call graph for this function:

◆ approx_w_covar()

subroutine diagnose_correlations_module::approx_w_covar ( integer, intent(in)  nz,
type(pdf_parameter), dimension(nz), intent(in)  pdf_params,
real( kind = core_rknd ), dimension(nz), intent(in)  rrm,
real( kind = core_rknd ), dimension(nz), intent(in)  Nrm,
real( kind = core_rknd ), dimension(nz), intent(in)  Ncnm,
real( kind = core_rknd ), dimension(nz), intent(out)  wpchip_zt,
real( kind = core_rknd ), dimension(nz), intent(out)  wprrp_zt,
real( kind = core_rknd ), dimension(nz), intent(out)  wpNrp_zt,
real( kind = core_rknd ), dimension(nz), intent(out)  wpNcnp_zt 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calc_cholesky_corr_mtx_approx()

subroutine, public diagnose_correlations_module::calc_cholesky_corr_mtx_approx ( integer, intent(in)  n_variables,
real( kind = core_rknd ), dimension(n_variables,n_variables), intent(in)  corr_matrix,
real( kind = core_rknd ), dimension(n_variables,n_variables), intent(out)  corr_cholesky_mtx,
real( kind = core_rknd ), dimension(n_variables,n_variables), intent(out)  corr_mtx_approx 
)
Here is the call graph for this function:

◆ calc_mean()

real( kind = core_rknd ) function, public diagnose_correlations_module::calc_mean ( real( kind = core_rknd ), intent(in)  mixt_frac,
real( kind = core_rknd ), intent(in)  x1,
real( kind = core_rknd ), intent(in)  x2 
)
Here is the caller graph for this function:

◆ calc_varnce()

real( kind = core_rknd ) function, public diagnose_correlations_module::calc_varnce ( real( kind = core_rknd ), intent(in)  mixt_frac,
real( kind = core_rknd ), intent(in)  x1,
real( kind = core_rknd ), intent(in)  x2,
real( kind = core_rknd ), intent(in)  xm,
real( kind = core_rknd ), intent(in)  x1p2,
real( kind = core_rknd ), intent(in)  x2p2 
)

◆ calc_w_corr()

real( kind = core_rknd ) function, public diagnose_correlations_module::calc_w_corr ( real( kind = core_rknd ), intent(in)  wpxp,
real( kind = core_rknd ), intent(in)  stdev_w,
real( kind = core_rknd ), intent(in)  stdev_x,
real( kind = core_rknd ), intent(in)  w_tol,
real( kind = core_rknd ), intent(in)  x_tol 
)
Here is the caller graph for this function:

◆ cholesky_to_corr_mtx_approx()

subroutine, public diagnose_correlations_module::cholesky_to_corr_mtx_approx ( integer, intent(in)  n_variables,
real( kind = core_rknd ), dimension(n_variables,n_variables), intent(in)  corr_cholesky_mtx_t,
real( kind = core_rknd ), dimension(n_variables,n_variables), intent(out)  corr_matrix_approx 
)
Here is the caller graph for this function:

◆ corr_array_assertion_checks()

subroutine, private diagnose_correlations_module::corr_array_assertion_checks ( integer, intent(in)  n_variables,
real( kind = core_rknd ), dimension(n_variables,n_variables), intent(in)  corr_array 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ diagnose_corr()

subroutine, private diagnose_correlations_module::diagnose_corr ( integer, intent(in)  n_variables,
real( kind = core_rknd ), dimension(n_variables), intent(in)  sqrt_sigma2_on_mu2_ip,
real( kind = core_rknd ), dimension(n_variables,n_variables), intent(in)  corr_matrix_prescribed,
real( kind = core_rknd ), dimension(n_variables,n_variables), intent(inout)  corr_matrix_approx 
)
private
Here is the caller graph for this function:

◆ diagnose_correlations()

subroutine, public diagnose_correlations_module::diagnose_correlations ( integer, intent(in)  d_variables,
real( kind = core_rknd ), dimension(d_variables, d_variables), intent(in)  corr_array_pre,
real( kind = core_rknd ), dimension(d_variables, d_variables), intent(out)  corr_array 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rearrange_corr_array()

subroutine, private diagnose_correlations_module::rearrange_corr_array ( integer, intent(in)  d_variables,
real( kind = core_rknd ), dimension(d_variables, d_variables), intent(in)  corr_array,
real( kind = core_rknd ), dimension(d_variables, d_variables), intent(out)  corr_array_swapped 
)
private
Here is the caller graph for this function:

◆ set_w_corr()

subroutine diagnose_correlations_module::set_w_corr ( integer, intent(in)  nz,
integer, intent(in)  d_variables,
real( kind = core_rknd ), dimension(nz), intent(in)  corr_chi_w,
real( kind = core_rknd ), dimension(nz), intent(in)  corr_wrr,
real( kind = core_rknd ), dimension(nz), intent(in)  corr_wNr,
real( kind = core_rknd ), dimension(nz), intent(in)  corr_wNcn,
real( kind = core_rknd ), dimension(d_variables, d_variables, nz), intent(inout)  corr_array 
)
Here is the caller graph for this function:

◆ setup_corr_cholesky_mtx()

subroutine, public diagnose_correlations_module::setup_corr_cholesky_mtx ( integer, intent(in)  n_variables,
real( kind = core_rknd ), dimension(n_variables,n_variables), intent(in)  corr_matrix,
real( kind = core_rknd ), dimension(n_variables,n_variables), intent(out)  corr_cholesky_mtx_t 
)
Here is the caller graph for this function:

◆ unpack_correlations()

subroutine diagnose_correlations_module::unpack_correlations ( integer, intent(in)  d_variables,
real( kind = core_rknd ), dimension(d_variables, d_variables), intent(in)  corr_array,
real( kind = core_rknd ), intent(out)  corr_w_chi,
real( kind = core_rknd ), intent(out)  corr_wrr,
real( kind = core_rknd ), intent(out)  corr_wNr,
real( kind = core_rknd ), intent(out)  corr_wNcn,
real( kind = core_rknd ), intent(out)  corr_chi_eta,
real( kind = core_rknd ), intent(out)  corr_chi_rr,
real( kind = core_rknd ), intent(out)  corr_chi_Nr,
real( kind = core_rknd ), intent(out)  corr_chi_Ncn,
real( kind = core_rknd ), intent(out)  corr_eta_rr,
real( kind = core_rknd ), intent(out)  corr_eta_Nr,
real( kind = core_rknd ), intent(out)  corr_eta_Ncn,
real( kind = core_rknd ), intent(out)  corr_rrNr 
)