Variance derived type.
More...
|
subroutine | var_alloc (var, nam, geom) |
| Allocation. More...
|
|
subroutine | var_partial_dealloc (var) |
| Release memory (partial) More...
|
|
subroutine | var_dealloc (var) |
| Release memory (full) More...
|
|
subroutine | var_read (var, mpl, nam, geom, io) |
| Read. More...
|
|
subroutine | var_write (var, mpl, nam, geom, io) |
| Write. More...
|
|
subroutine | var_run_var (var, mpl, rng, nam, geom, ens, io) |
| Compute variance. More...
|
|
subroutine | var_filter (var, mpl, rng, nam, geom) |
| Filter variance. More...
|
|
subroutine | var_apply_sqrt (var, nam, geom, fld) |
| Apply square-root variance. More...
|
|
subroutine | var_apply_sqrt_inv (var, nam, geom, fld) |
| Apply square-root variance inverse. More...
|
|
◆ var_alloc()
subroutine type_var::var_alloc |
( |
class(var_type), intent(inout) |
var, |
|
|
type(nam_type), intent(in) |
nam, |
|
|
type(geom_type), intent(in) |
geom |
|
) |
| |
|
private |
Allocation.
- Parameters
-
[in,out] | var | Variance |
[in] | nam | Namelist |
[in] | geom | Geometry |
Definition at line 53 of file type_var.F90.
◆ var_apply_sqrt()
subroutine type_var::var_apply_sqrt |
( |
class(var_type), intent(in) |
var, |
|
|
type(nam_type), intent(in) |
nam, |
|
|
type(geom_type), intent(in) |
geom, |
|
|
real(kind_real), dimension(geom%nc0a,geom%nl0,nam%nv), intent(inout) |
fld |
|
) |
| |
|
private |
Apply square-root variance.
- Parameters
-
[in] | var | Variance |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in,out] | fld | Source/destination vector |
Definition at line 378 of file type_var.F90.
◆ var_apply_sqrt_inv()
subroutine type_var::var_apply_sqrt_inv |
( |
class(var_type), intent(in) |
var, |
|
|
type(nam_type), intent(in) |
nam, |
|
|
type(geom_type), intent(in) |
geom, |
|
|
real(kind_real), dimension(geom%nc0a,geom%nl0,nam%nv), intent(inout) |
fld |
|
) |
| |
|
private |
Apply square-root variance inverse.
- Parameters
-
[in] | var | Variance |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in,out] | fld | Source/destination vector |
Definition at line 404 of file type_var.F90.
◆ var_dealloc()
subroutine type_var::var_dealloc |
( |
class(var_type), intent(inout) |
var | ) |
|
|
private |
Release memory (full)
- Parameters
-
Definition at line 92 of file type_var.F90.
◆ var_filter()
subroutine type_var::var_filter |
( |
class(var_type), intent(inout) |
var, |
|
|
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 |
Filter variance.
- Parameters
-
[in,out] | var | Variance |
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in] | nam | Namelist |
[in] | geom | Geometry |
Definition at line 248 of file type_var.F90.
◆ var_partial_dealloc()
subroutine type_var::var_partial_dealloc |
( |
class(var_type), intent(inout) |
var | ) |
|
|
private |
Release memory (partial)
- Parameters
-
Definition at line 74 of file type_var.F90.
◆ var_read()
Read.
- Parameters
-
[in,out] | var | Variance |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | io | I/O |
Definition at line 109 of file type_var.F90.
◆ var_run_var()
subroutine type_var::var_run_var |
( |
class(var_type), intent(inout) |
var, |
|
|
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, |
|
|
type(io_type), intent(in) |
io |
|
) |
| |
|
private |
Compute variance.
- Parameters
-
[in,out] | var | Variance |
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in,out] | nam | Namelist |
[in] | geom | Geometry |
[in,out] | ens | Ensemble |
[in] | io | I/O |
Definition at line 189 of file type_var.F90.
◆ var_write()
subroutine type_var::var_write |
( |
class(var_type), intent(inout) |
var, |
|
|
type(mpl_type), intent(inout) |
mpl, |
|
|
type(nam_type), intent(in) |
nam, |
|
|
type(geom_type), intent(in) |
geom, |
|
|
type(io_type), intent(in) |
io |
|
) |
| |
|
private |
Write.
- Parameters
-
[in,out] | var | Variance |
[in,out] | mpl | MPI data |
[in] | nam | Namelist |
[in] | geom | Geometry |
[in] | io | I/O |
Definition at line 149 of file type_var.F90.