0.6.2-dev0
FORCES
FORtran lib for Comp. Env. Sys.
Loading...
Searching...
No Matches
mo_append Module Reference

Append values on existing arrays. More...

Data Types

interface  add_nodata_slice
 Paste a matrix of ones times a value onto an existing matrix. More...
 
interface  append
 Append (rows) scalars, vectors, and matrixes onto existing array. More...
 
interface  paste
 Paste (columns) scalars, vectors, and matrixes onto existing array. More...
 

Functions/Subroutines

subroutine append_i4_v_s (vec1, sca2)
 
subroutine append_i4_v_v (vec1, vec2)
 
subroutine append_i4_m_m (mat1, mat2, fill_value)
 
subroutine append_i4_3d (mat1, mat2, fill_value)
 
subroutine append_i8_v_s (vec1, sca2)
 
subroutine append_i8_v_v (vec1, vec2)
 
subroutine append_i8_m_m (mat1, mat2, fill_value)
 
subroutine append_i8_3d (mat1, mat2, fill_value)
 
subroutine append_sp_v_s (vec1, sca2)
 
subroutine append_sp_v_v (vec1, vec2)
 
subroutine append_sp_m_m (mat1, mat2, fill_value)
 
subroutine append_sp_3d (mat1, mat2, fill_value)
 
subroutine append_dp_v_s (vec1, sca2)
 
subroutine append_dp_v_v (vec1, vec2)
 
subroutine append_dp_m_m (mat1, mat2, fill_value, idim)
 
subroutine append_dp_3d (mat1, mat2, fill_value, idim)
 
subroutine append_dp_4d (mat1, mat2, fill_value, idim)
 
subroutine append_char_v_s (vec1, sca2)
 
subroutine append_char_v_v (vec1, vec2)
 
subroutine append_char_m_m (mat1, mat2, fill_value)
 
subroutine append_char_3d (mat1, mat2, fill_value)
 
subroutine append_lgt_v_s (vec1, sca2)
 
subroutine append_lgt_v_v (vec1, vec2)
 
subroutine append_lgt_m_m (mat1, mat2, fill_value, idim)
 
subroutine append_lgt_3d (mat1, mat2, fill_value, idim)
 
subroutine append_lgt_4d (mat1, mat2, fill_value, idim)
 
subroutine paste_i4_m_s (mat1, sca2)
 
subroutine paste_i4_m_v (mat1, vec2, fill_value)
 
subroutine paste_i4_m_m (mat1, mat2, fill_value)
 
subroutine paste_i8_m_s (mat1, sca2)
 
subroutine paste_i8_m_v (mat1, vec2, fill_value)
 
subroutine paste_i8_m_m (mat1, mat2, fill_value)
 
subroutine paste_sp_m_s (mat1, sca2)
 
subroutine paste_sp_m_v (mat1, vec2, fill_value)
 
subroutine paste_sp_m_m (mat1, mat2, fill_value)
 
subroutine paste_dp_m_s (mat1, sca2)
 
subroutine paste_dp_m_v (mat1, vec2, fill_value)
 
subroutine paste_dp_m_m (mat1, mat2, fill_value)
 
subroutine paste_dp_3d (mat1, mat2)
 
subroutine paste_dp_4d (mat1, mat2)
 
subroutine paste_i4_3d (mat1, mat2)
 
subroutine paste_i4_4d (mat1, mat2)
 
subroutine paste_char_m_s (mat1, sca2)
 
subroutine paste_char_m_v (mat1, vec2, fill_value)
 
subroutine paste_char_m_m (mat1, mat2, fill_value)
 
subroutine paste_lgt_m_s (mat1, sca2)
 
subroutine paste_lgt_m_v (mat1, vec2)
 
subroutine paste_lgt_m_m (mat1, mat2)
 
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)
 

Detailed Description

Append values on existing arrays.

Provides routines to append (rows) and paste (columns) scalars, vectors, and matrixes onto existing arrays.

Changelog
  • Juliane Mai, Aug 2012
  • Juliane Mai, Aug 2012
    • character append & paste
  • Matthias Cuntz, Jan 2013
    • removed 256 character restriction
  • Matthias Cuntz, Feb 2013
    • logical append and paste
Author
Juliane Mai
Date
Aug 2012

Function/Subroutine Documentation

◆ add_nodata_slice_dp_2d()

subroutine mo_append::add_nodata_slice_dp_2d ( real(dp), dimension(:, :), intent(inout), allocatable  array,
integer(i4), intent(in)  nadd,
real(dp), intent(in)  nodatavalue 
)
private

Definition at line 2568 of file mo_append.f90.

◆ add_nodata_slice_dp_3d()

subroutine mo_append::add_nodata_slice_dp_3d ( real(dp), dimension(:, :, :), intent(inout), allocatable  array,
integer(i4), intent(in)  nadd,
real(dp), intent(in)  nodatavalue 
)
private

Definition at line 2582 of file mo_append.f90.

◆ add_nodata_slice_dp_4d()

subroutine mo_append::add_nodata_slice_dp_4d ( real(dp), dimension(:, :, :, :), intent(inout), allocatable  array,
integer(i4), intent(in)  nadd,
real(dp), intent(in)  nodatavalue 
)
private

Definition at line 2596 of file mo_append.f90.

◆ add_nodata_slice_i4_2d()

subroutine mo_append::add_nodata_slice_i4_2d ( integer(i4), dimension(:, :), intent(inout), allocatable  array,
integer(i4), intent(in)  nadd,
integer(i4), intent(in)  nodatavalue 
)
private

Definition at line 2610 of file mo_append.f90.

◆ add_nodata_slice_i4_3d()

subroutine mo_append::add_nodata_slice_i4_3d ( integer(i4), dimension(:, :, :), intent(inout), allocatable  array,
integer(i4), intent(in)  nadd,
integer(i4), intent(in)  nodatavalue 
)
private

Definition at line 2624 of file mo_append.f90.

◆ add_nodata_slice_i4_4d()

subroutine mo_append::add_nodata_slice_i4_4d ( integer(i4), dimension(:, :, :, :), intent(inout), allocatable  array,
integer(i4), intent(in)  nadd,
integer(i4), intent(in)  nodatavalue 
)
private

Definition at line 2638 of file mo_append.f90.

◆ append_char_3d()

subroutine mo_append::append_char_3d ( character(len=*), dimension(:,:,:), intent(inout), allocatable  mat1,
character(len=*), dimension(:,:,:), intent(in)  mat2,
character(len=*), intent(in), optional  fill_value 
)
private

Definition at line 1176 of file mo_append.f90.

◆ append_char_m_m()

subroutine mo_append::append_char_m_m ( character(len=*), dimension(:,:), intent(inout), allocatable  mat1,
character(len=*), dimension(:,:), intent(in)  mat2,
character(len=*), intent(in), optional  fill_value 
)
private

Definition at line 1119 of file mo_append.f90.

◆ append_char_v_s()

subroutine mo_append::append_char_v_s ( character(len=*), dimension(:), intent(inout), allocatable  vec1,
character(len=*), intent(in)  sca2 
)
private

Definition at line 1061 of file mo_append.f90.

◆ append_char_v_v()

subroutine mo_append::append_char_v_v ( character(len=*), dimension(:), intent(inout), allocatable  vec1,
character(len=*), dimension(:), intent(in)  vec2 
)
private

Definition at line 1091 of file mo_append.f90.

◆ append_dp_3d()

subroutine mo_append::append_dp_3d ( real(dp), dimension(:,:,:), intent(inout), allocatable  mat1,
real(dp), dimension(:,:,:), intent(in)  mat2,
real(dp), intent(in), optional  fill_value,
integer(i4), intent(in), optional  idim 
)
private

Definition at line 875 of file mo_append.f90.

◆ append_dp_4d()

subroutine mo_append::append_dp_4d ( real(dp), dimension(:,:,:,:), intent(inout), allocatable  mat1,
real(dp), dimension(:,:,:,:), intent(in)  mat2,
real(dp), intent(in), optional  fill_value,
integer(i4), intent(in), optional  idim 
)
private

Definition at line 959 of file mo_append.f90.

◆ append_dp_m_m()

subroutine mo_append::append_dp_m_m ( real(dp), dimension(:,:), intent(inout), allocatable  mat1,
real(dp), dimension(:,:), intent(in)  mat2,
real(dp), intent(in), optional  fill_value,
integer(i4), intent(in), optional  idim 
)
private

Definition at line 777 of file mo_append.f90.

◆ append_dp_v_s()

subroutine mo_append::append_dp_v_s ( real(dp), dimension(:), intent(inout), allocatable  vec1,
real(dp), intent(in)  sca2 
)
private

Definition at line 717 of file mo_append.f90.

◆ append_dp_v_v()

subroutine mo_append::append_dp_v_v ( real(dp), dimension(:), intent(inout), allocatable  vec1,
real(dp), dimension(:), intent(in)  vec2 
)
private

Definition at line 747 of file mo_append.f90.

◆ append_i4_3d()

subroutine mo_append::append_i4_3d ( integer(i4), dimension(:,:,:), intent(inout), allocatable  mat1,
integer(i4), dimension(:,:,:), intent(in)  mat2,
integer(i4), intent(in), optional  fill_value 
)
private

Definition at line 342 of file mo_append.f90.

◆ append_i4_m_m()

subroutine mo_append::append_i4_m_m ( integer(i4), dimension(:,:), intent(inout), allocatable  mat1,
integer(i4), dimension(:,:), intent(in)  mat2,
integer(i4), intent(in), optional  fill_value 
)
private

Definition at line 285 of file mo_append.f90.

◆ append_i4_v_s()

subroutine mo_append::append_i4_v_s ( integer(i4), dimension(:), intent(inout), allocatable  vec1,
integer(i4), intent(in)  sca2 
)
private

Definition at line 225 of file mo_append.f90.

◆ append_i4_v_v()

subroutine mo_append::append_i4_v_v ( integer(i4), dimension(:), intent(inout), allocatable  vec1,
integer(i4), dimension(:), intent(in)  vec2 
)
private

Definition at line 255 of file mo_append.f90.

◆ append_i8_3d()

subroutine mo_append::append_i8_3d ( integer(i8), dimension(:,:,:), intent(inout), allocatable  mat1,
integer(i8), dimension(:,:,:), intent(in)  mat2,
integer(i8), intent(in), optional  fill_value 
)
private

Definition at line 506 of file mo_append.f90.

◆ append_i8_m_m()

subroutine mo_append::append_i8_m_m ( integer(i8), dimension(:,:), intent(inout), allocatable  mat1,
integer(i8), dimension(:,:), intent(in)  mat2,
integer(i8), intent(in), optional  fill_value 
)
private

Definition at line 449 of file mo_append.f90.

◆ append_i8_v_s()

subroutine mo_append::append_i8_v_s ( integer(i8), dimension(:), intent(inout), allocatable  vec1,
integer(i8), intent(in)  sca2 
)
private

Definition at line 389 of file mo_append.f90.

◆ append_i8_v_v()

subroutine mo_append::append_i8_v_v ( integer(i8), dimension(:), intent(inout), allocatable  vec1,
integer(i8), dimension(:), intent(in)  vec2 
)
private

Definition at line 419 of file mo_append.f90.

◆ append_lgt_3d()

subroutine mo_append::append_lgt_3d ( logical, dimension(:,:,:), intent(inout), allocatable  mat1,
logical, dimension(:,:,:), intent(in)  mat2,
logical, intent(in), optional  fill_value,
integer(i4), optional  idim 
)
private

Definition at line 1381 of file mo_append.f90.

◆ append_lgt_4d()

subroutine mo_append::append_lgt_4d ( logical, dimension(:,:,:,:), intent(inout), allocatable  mat1,
logical, dimension(:,:,:,:), intent(in)  mat2,
logical, intent(in), optional  fill_value,
integer(i4), intent(in), optional  idim 
)
private

Definition at line 1465 of file mo_append.f90.

◆ append_lgt_m_m()

subroutine mo_append::append_lgt_m_m ( logical, dimension(:,:), intent(inout), allocatable  mat1,
logical, dimension(:,:), intent(in)  mat2,
logical, intent(in), optional  fill_value,
integer(i4), intent(in), optional  idim 
)
private

Definition at line 1283 of file mo_append.f90.

◆ append_lgt_v_s()

subroutine mo_append::append_lgt_v_s ( logical, dimension(:), intent(inout), allocatable  vec1,
logical, intent(in)  sca2 
)
private

Definition at line 1223 of file mo_append.f90.

◆ append_lgt_v_v()

subroutine mo_append::append_lgt_v_v ( logical, dimension(:), intent(inout), allocatable  vec1,
logical, dimension(:), intent(in)  vec2 
)
private

Definition at line 1253 of file mo_append.f90.

◆ append_sp_3d()

subroutine mo_append::append_sp_3d ( real(sp), dimension(:,:,:), intent(inout), allocatable  mat1,
real(sp), dimension(:,:,:), intent(in)  mat2,
real(sp), intent(in), optional  fill_value 
)
private

Definition at line 670 of file mo_append.f90.

◆ append_sp_m_m()

subroutine mo_append::append_sp_m_m ( real(sp), dimension(:,:), intent(inout), allocatable  mat1,
real(sp), dimension(:,:), intent(in)  mat2,
real(sp), intent(in), optional  fill_value 
)
private

Definition at line 613 of file mo_append.f90.

◆ append_sp_v_s()

subroutine mo_append::append_sp_v_s ( real(sp), dimension(:), intent(inout), allocatable  vec1,
real(sp), intent(in)  sca2 
)
private

Definition at line 553 of file mo_append.f90.

◆ append_sp_v_v()

subroutine mo_append::append_sp_v_v ( real(sp), dimension(:), intent(inout), allocatable  vec1,
real(sp), dimension(:), intent(in)  vec2 
)
private

Definition at line 583 of file mo_append.f90.

◆ paste_char_m_m()

subroutine mo_append::paste_char_m_m ( character(len=*), dimension(:,:), intent(inout), allocatable  mat1,
character(len=*), dimension(:,:), intent(in)  mat2,
character(len=*), intent(in), optional  fill_value 
)
private

Definition at line 2404 of file mo_append.f90.

◆ paste_char_m_s()

subroutine mo_append::paste_char_m_s ( character(len=*), dimension(:,:), intent(inout), allocatable  mat1,
character(len=*), intent(in)  sca2 
)
private

Definition at line 2316 of file mo_append.f90.

◆ paste_char_m_v()

subroutine mo_append::paste_char_m_v ( character(len=*), dimension(:,:), intent(inout), allocatable  mat1,
character(len=*), dimension(:), intent(in)  vec2,
character(len=*), intent(in), optional  fill_value 
)
private

Definition at line 2348 of file mo_append.f90.

◆ paste_dp_3d()

subroutine mo_append::paste_dp_3d ( real(dp), dimension(:,:,:), intent(inout), allocatable  mat1,
real(dp), dimension(:,:,:), intent(in)  mat2 
)
private

Definition at line 2144 of file mo_append.f90.

◆ paste_dp_4d()

subroutine mo_append::paste_dp_4d ( real(dp), dimension(:,:,:,:), intent(inout), allocatable  mat1,
real(dp), dimension(:,:,:,:), intent(in)  mat2 
)
private

Definition at line 2184 of file mo_append.f90.

◆ paste_dp_m_m()

subroutine mo_append::paste_dp_m_m ( real(dp), dimension(:,:), intent(inout), allocatable  mat1,
real(dp), dimension(:,:), intent(in)  mat2,
real(dp), intent(in), optional  fill_value 
)
private

Definition at line 2088 of file mo_append.f90.

◆ paste_dp_m_s()

subroutine mo_append::paste_dp_m_s ( real(dp), dimension(:,:), intent(inout), allocatable  mat1,
real(dp), intent(in)  sca2 
)
private

Definition at line 2000 of file mo_append.f90.

◆ paste_dp_m_v()

subroutine mo_append::paste_dp_m_v ( real(dp), dimension(:,:), intent(inout), allocatable  mat1,
real(dp), dimension(:), intent(in)  vec2,
real(dp), intent(in), optional  fill_value 
)
private

Definition at line 2032 of file mo_append.f90.

◆ paste_i4_3d()

subroutine mo_append::paste_i4_3d ( integer(i4), dimension(:,:,:), intent(inout), allocatable  mat1,
integer(i4), dimension(:,:,:), intent(in)  mat2 
)
private

Definition at line 2230 of file mo_append.f90.

◆ paste_i4_4d()

subroutine mo_append::paste_i4_4d ( integer(i4), dimension(:,:,:,:), intent(inout), allocatable  mat1,
integer(i4), dimension(:,:,:,:), intent(in)  mat2 
)
private

Definition at line 2270 of file mo_append.f90.

◆ paste_i4_m_m()

subroutine mo_append::paste_i4_m_m ( integer(i4), dimension(:,:), intent(inout), allocatable  mat1,
integer(i4), dimension(:,:), intent(in)  mat2,
integer(i4), intent(in), optional  fill_value 
)
private

Definition at line 1655 of file mo_append.f90.

◆ paste_i4_m_s()

subroutine mo_append::paste_i4_m_s ( integer(i4), dimension(:,:), intent(inout), allocatable  mat1,
integer(i4), intent(in)  sca2 
)
private

Definition at line 1567 of file mo_append.f90.

◆ paste_i4_m_v()

subroutine mo_append::paste_i4_m_v ( integer(i4), dimension(:,:), intent(inout), allocatable  mat1,
integer(i4), dimension(:), intent(in)  vec2,
integer(i4), intent(in), optional  fill_value 
)
private

Definition at line 1599 of file mo_append.f90.

◆ paste_i8_m_m()

subroutine mo_append::paste_i8_m_m ( integer(i8), dimension(:,:), intent(inout), allocatable  mat1,
integer(i8), dimension(:,:), intent(in)  mat2,
integer(i8), intent(in), optional  fill_value 
)
private

Definition at line 1799 of file mo_append.f90.

◆ paste_i8_m_s()

subroutine mo_append::paste_i8_m_s ( integer(i8), dimension(:,:), intent(inout), allocatable  mat1,
integer(i8), intent(in)  sca2 
)
private

Definition at line 1711 of file mo_append.f90.

◆ paste_i8_m_v()

subroutine mo_append::paste_i8_m_v ( integer(i8), dimension(:,:), intent(inout), allocatable  mat1,
integer(i8), dimension(:), intent(in)  vec2,
integer(i8), intent(in), optional  fill_value 
)
private

Definition at line 1743 of file mo_append.f90.

◆ paste_lgt_m_m()

subroutine mo_append::paste_lgt_m_m ( logical, dimension(:,:), intent(inout), allocatable  mat1,
logical, dimension(:,:), intent(in)  mat2 
)
private

Definition at line 2530 of file mo_append.f90.

◆ paste_lgt_m_s()

subroutine mo_append::paste_lgt_m_s ( logical, dimension(:,:), intent(inout), allocatable  mat1,
logical, intent(in)  sca2 
)
private

Definition at line 2460 of file mo_append.f90.

◆ paste_lgt_m_v()

subroutine mo_append::paste_lgt_m_v ( logical, dimension(:,:), intent(inout), allocatable  mat1,
logical, dimension(:), intent(in)  vec2 
)
private

Definition at line 2492 of file mo_append.f90.

◆ paste_sp_m_m()

subroutine mo_append::paste_sp_m_m ( real(sp), dimension(:,:), intent(inout), allocatable  mat1,
real(sp), dimension(:,:), intent(in)  mat2,
real(sp), intent(in), optional  fill_value 
)
private

Definition at line 1943 of file mo_append.f90.

◆ paste_sp_m_s()

subroutine mo_append::paste_sp_m_s ( real(sp), dimension(:,:), intent(inout), allocatable  mat1,
real(sp), intent(in)  sca2 
)
private

Definition at line 1855 of file mo_append.f90.

◆ paste_sp_m_v()

subroutine mo_append::paste_sp_m_v ( real(sp), dimension(:,:), intent(inout), allocatable  mat1,
real(sp), dimension(:), intent(in)  vec2,
real(sp), intent(in), optional  fill_value 
)
private

Definition at line 1887 of file mo_append.f90.