FORCES
FORtran lib for Comp. Env. Sys.
|
Paste a matrix of ones times a value onto an existing matrix. More...
Public Member Functions | |
subroutine | add_nodata_slice_dp_2d (array, nadd, nodatavalue) |
subroutine | add_nodata_slice_dp_3d (array, nadd, nodatavalue) |
subroutine | add_nodata_slice_dp_4d (array, nadd, nodatavalue) |
subroutine | add_nodata_slice_i4_2d (array, nadd, nodatavalue) |
subroutine | add_nodata_slice_i4_3d (array, nadd, nodatavalue) |
subroutine | add_nodata_slice_i4_4d (array, nadd, nodatavalue) |
Paste a matrix of ones times a value onto an existing matrix.
Pastes a matrix of uniform element and predefined number of columns to the columns of another matrix.
Example
Add 2 columns of elements 5.0_dp.
See also test folder for a detailed example, "test/test_mo_append/".
[in,out] | allocatable :: matrix | Matrix to be pasted to. Can be integer(i4) or real(dp) . Must be dimension(:,:) , dimension(:,:,:) , or dimension(:,:,:,:) and allocatable . |
[in] | integer(i4) :: nAdd | Number of column to paste. |
[in] | noDataValue | Value of elements of the matrix. Can be integer(i4) or real(dp) . |
Definition at line 210 of file mo_append.f90.
subroutine mo_append::add_nodata_slice::add_nodata_slice_dp_2d | ( | real(dp), dimension(:, :), intent(inout), allocatable | array, |
integer(i4), intent(in) | nadd, | ||
real(dp), intent(in) | nodatavalue | ||
) |
Definition at line 2568 of file mo_append.f90.
subroutine mo_append::add_nodata_slice::add_nodata_slice_dp_3d | ( | real(dp), dimension(:, :, :), intent(inout), allocatable | array, |
integer(i4), intent(in) | nadd, | ||
real(dp), intent(in) | nodatavalue | ||
) |
Definition at line 2582 of file mo_append.f90.
subroutine mo_append::add_nodata_slice::add_nodata_slice_dp_4d | ( | real(dp), dimension(:, :, :, :), intent(inout), allocatable | array, |
integer(i4), intent(in) | nadd, | ||
real(dp), intent(in) | nodatavalue | ||
) |
Definition at line 2596 of file mo_append.f90.
subroutine mo_append::add_nodata_slice::add_nodata_slice_i4_2d | ( | integer(i4), dimension(:, :), intent(inout), allocatable | array, |
integer(i4), intent(in) | nadd, | ||
integer(i4), intent(in) | nodatavalue | ||
) |
Definition at line 2610 of file mo_append.f90.
subroutine mo_append::add_nodata_slice::add_nodata_slice_i4_3d | ( | integer(i4), dimension(:, :, :), intent(inout), allocatable | array, |
integer(i4), intent(in) | nadd, | ||
integer(i4), intent(in) | nodatavalue | ||
) |
Definition at line 2624 of file mo_append.f90.
subroutine mo_append::add_nodata_slice::add_nodata_slice_i4_4d | ( | integer(i4), dimension(:, :, :, :), intent(inout), allocatable | array, |
integer(i4), intent(in) | nadd, | ||
integer(i4), intent(in) | nodatavalue | ||
) |
Definition at line 2638 of file mo_append.f90.