SABER
|
NICAS data derived type. More...
Data Types | |
type | nicas_type |
Functions/Subroutines | |
subroutine | nicas_alloc (nicas, nam, bpar) |
Allocation. More... | |
subroutine | nicas_partial_dealloc (nicas) |
Release memory (partial) More... | |
subroutine | nicas_dealloc (nicas) |
Release memory (full) More... | |
subroutine | nicas_read (nicas, mpl, nam, geom, bpar) |
Read. More... | |
subroutine | nicas_write (nicas, mpl, nam, geom, bpar) |
Write. More... | |
subroutine | nicas_send (nicas, mpl, nam, geom, bpar, iproc) |
Send. More... | |
subroutine | nicas_receive (nicas, mpl, nam, geom, bpar, iproc) |
Receive. More... | |
subroutine | nicas_run_nicas (nicas, mpl, rng, nam, geom, bpar, cmat) |
NICAS driver. More... | |
subroutine | nicas_run_nicas_tests (nicas, mpl, rng, nam, geom, bpar, io, ens) |
NICAS tests driver. More... | |
subroutine | nicas_alloc_cv (nicas, mpl, bpar, cv, getsizeonly) |
Allocation. More... | |
subroutine | nicas_random_cv (nicas, mpl, rng, bpar, cv) |
Generate a random control vector. More... | |
subroutine | nicas_apply (nicas, mpl, nam, geom, bpar, fld) |
Apply NICAS. More... | |
subroutine | nicas_apply_from_sqrt (nicas, mpl, nam, geom, bpar, fld) |
Apply NICAS from square-root. More... | |
subroutine | nicas_apply_sqrt (nicas, mpl, nam, geom, bpar, cv, fld) |
Apply NICAS square-root. More... | |
subroutine | nicas_apply_sqrt_ad (nicas, mpl, nam, geom, bpar, fld, cv) |
Apply NICAS square-root, adjoint. More... | |
subroutine | nicas_randomize (nicas, mpl, rng, nam, geom, bpar, ne, ens) |
Randomize NICAS from square-root. More... | |
subroutine | nicas_apply_bens (nicas, mpl, nam, geom, bpar, ens, fld) |
Apply localized ensemble covariance. More... | |
subroutine | nicas_test_adjoint (nicas, mpl, rng, nam, geom, bpar, ens) |
Test NICAS adjoint. More... | |
subroutine | nicas_test_dirac (nicas, mpl, nam, geom, bpar, io, ens) |
Apply NICAS to diracs. More... | |
subroutine | nicas_test_randomization (nicas, mpl, rng, nam, geom, bpar) |
Test NICAS randomization method with respect to theoretical error statistics. More... | |
subroutine | nicas_test_consistency (nicas, mpl, rng, nam, geom, bpar, io) |
Test HDIAG-NICAS consistency with a randomization method. More... | |
subroutine | nicas_test_optimality (nicas, mpl, rng, nam, geom, bpar, io) |
Test HDIAG localization optimality with a randomization method. More... | |
subroutine | define_test_vectors (mpl, rng, nam, geom, ntest, fld) |
Define test vectors. More... | |
Variables | |
integer, parameter | nfac_rnd = 9 |
integer, parameter | nfac_opt = 4 |
integer, parameter | ntest = 50 |
NICAS data derived type.
|
private |
Define test vectors.
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | ntest | Number of vectors |
[out] | fld | Field |
Definition at line 2068 of file type_nicas.F90.
|
private |
Allocation.
[in,out] | nicas | NICAS data |
[in] | nam | Namelist |
[in] | bpar | Block parameters |
Definition at line 78 of file type_nicas.F90.
|
private |
Allocation.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | bpar | Block parameters |
[in,out] | cv | Control vector |
[in] | getsizeonly | Flag to get the control variable size only (no allocation) |
Definition at line 683 of file type_nicas.F90.
|
private |
Apply NICAS.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
[in,out] | fld | Field |
Definition at line 801 of file type_nicas.F90.
|
private |
Apply localized ensemble covariance.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Blocal parameters |
[in] | ens | Ensemble |
[in,out] | fld | Field |
Definition at line 1448 of file type_nicas.F90.
|
private |
Apply NICAS from square-root.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
[in,out] | fld | Field |
Definition at line 1004 of file type_nicas.F90.
|
private |
Apply NICAS square-root.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
[in] | cv | Control variable |
[out] | fld | Field |
Definition at line 1050 of file type_nicas.F90.
|
private |
Apply NICAS square-root, adjoint.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
[in] | fld | Field |
[out] | cv | Control variable |
Definition at line 1211 of file type_nicas.F90.
|
private |
Release memory (full)
[in,out] | nicas | NICAS data |
Definition at line 148 of file type_nicas.F90.
|
private |
Release memory (partial)
[in,out] | nicas | NICAS data |
Definition at line 127 of file type_nicas.F90.
|
private |
Generate a random control vector.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in] | bpar | Block parameters |
[out] | cv | Control vector |
Definition at line 736 of file type_nicas.F90.
|
private |
Randomize NICAS from square-root.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Blocal parameters |
[in] | ne | Number of members |
[in,out] | ens | Ensemble |
Definition at line 1403 of file type_nicas.F90.
|
private |
Read.
[in,out] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
Definition at line 173 of file type_nicas.F90.
|
private |
Receive.
[in,out] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
[in] | iproc | Source task |
Definition at line 461 of file type_nicas.F90.
|
private |
NICAS driver.
[in,out] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in,out] | nam | Namelist |
[in,out] | geom | Geometry |
[in] | bpar | Block parameters |
[in] | cmat | C matrix data |
Definition at line 521 of file type_nicas.F90.
|
private |
NICAS tests driver.
[in,out] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in,out] | nam | Namelist |
[in,out] | geom | Geometry |
[in] | bpar | Block parameters |
[in] | io | I/O |
[in] | ens | Ensemble |
Definition at line 583 of file type_nicas.F90.
|
private |
Send.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
[in] | iproc | Destination task |
Definition at line 393 of file type_nicas.F90.
|
private |
Test NICAS adjoint.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
[in] | ens | Ensemble |
Definition at line 1498 of file type_nicas.F90.
|
private |
Test HDIAG-NICAS consistency with a randomization method.
[in,out] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in,out] | nam | Namelist variables |
[in,out] | geom | Geometry |
[in] | bpar | Block parameters |
[in] | io | I/O |
Definition at line 1760 of file type_nicas.F90.
|
private |
Apply NICAS to diracs.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
[in] | io | I/O |
[in] | ens | Ensemble |
Definition at line 1570 of file type_nicas.F90.
|
private |
Test HDIAG localization optimality with a randomization method.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in,out] | nam | Namelist variables |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
[in] | io | I/O |
Definition at line 1887 of file type_nicas.F90.
|
private |
Test NICAS randomization method with respect to theoretical error statistics.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in,out] | nam | Namelist variables |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
Definition at line 1629 of file type_nicas.F90.
|
private |
Write.
[in] | nicas | NICAS data |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | bpar | Block parameters |
Definition at line 273 of file type_nicas.F90.
integer, parameter type_nicas::nfac_opt = 4 |
Definition at line 35 of file type_nicas.F90.
integer, parameter type_nicas::nfac_rnd = 9 |
Definition at line 34 of file type_nicas.F90.
integer, parameter type_nicas::ntest = 50 |
Definition at line 36 of file type_nicas.F90.