encode_ascii_dataarray6_rank1_I2P Function

private function encode_ascii_dataarray6_rank1_I2P(u, v, w, x, y, z) result(code)

Arguments

TypeIntentOptionalAttributesName
integer(kind=I2P), intent(in) :: u(1:)
integer(kind=I2P), intent(in) :: v(1:)
integer(kind=I2P), intent(in) :: w(1:)
integer(kind=I2P), intent(in) :: x(1:)
integer(kind=I2P), intent(in) :: y(1:)
integer(kind=I2P), intent(in) :: z(1:)

Return Value character(len=:),allocatable


Calls

proc~~encode_ascii_dataarray6_rank1_i2p~~CallsGraph proc~encode_ascii_dataarray6_rank1_i2p encode_ascii_dataarray6_rank1_I2P interface~str str proc~encode_ascii_dataarray6_rank1_i2p->interface~str proc~str_i8p str_I8P interface~str->proc~str_i8p proc~str_a_r8p str_a_R8P interface~str->proc~str_a_r8p proc~str_r8p str_R8P interface~str->proc~str_r8p proc~str_a_i4p str_a_I4P interface~str->proc~str_a_i4p proc~strf_i2p strf_I2P interface~str->proc~strf_i2p proc~str_r4p str_R4P interface~str->proc~str_r4p proc~str_i1p str_I1P interface~str->proc~str_i1p proc~strf_i4p strf_I4P interface~str->proc~strf_i4p proc~str_a_r4p str_a_R4P interface~str->proc~str_a_r4p proc~strf_r4p strf_R4P interface~str->proc~strf_r4p proc~str_i2p str_I2P interface~str->proc~str_i2p proc~str_a_i2p str_a_I2P interface~str->proc~str_a_i2p proc~strf_i8p strf_I8P interface~str->proc~strf_i8p proc~str_bol str_bol interface~str->proc~str_bol proc~strf_r8p strf_R8P interface~str->proc~strf_r8p proc~str_i4p str_I4P interface~str->proc~str_i4p proc~str_a_i8p str_a_I8P interface~str->proc~str_a_i8p proc~strf_i1p strf_I1P interface~str->proc~strf_i1p proc~str_a_i1p str_a_I1P interface~str->proc~str_a_i1p proc~str_a_r8p->proc~str_r8p proc~compact_real_string compact_real_string proc~str_r8p->proc~compact_real_string proc~str_a_i4p->proc~str_i4p proc~str_r4p->proc~compact_real_string proc~str_a_r4p->proc~str_r4p proc~str_a_i2p->proc~str_i2p proc~str_a_i8p->proc~str_i8p proc~str_a_i1p->proc~str_i1p

Called by

proc~~encode_ascii_dataarray6_rank1_i2p~~CalledByGraph proc~encode_ascii_dataarray6_rank1_i2p encode_ascii_dataarray6_rank1_I2P interface~encode_ascii_dataarray encode_ascii_dataarray interface~encode_ascii_dataarray->proc~encode_ascii_dataarray6_rank1_i2p proc~write_dataarray1_rank1_i2p write_dataarray1_rank1_I2P proc~write_dataarray1_rank1_i2p->interface~encode_ascii_dataarray proc~write_dataarray1_rank4_i8p write_dataarray1_rank4_I8P proc~write_dataarray1_rank4_i8p->interface~encode_ascii_dataarray proc~write_dataarray3_rank1_i2p write_dataarray3_rank1_I2P proc~write_dataarray3_rank1_i2p->interface~encode_ascii_dataarray proc~write_dataarray1_rank3_r8p write_dataarray1_rank3_R8P proc~write_dataarray1_rank3_r8p->interface~encode_ascii_dataarray proc~write_dataarray6_rank1_r8p write_dataarray6_rank1_R8P proc~write_dataarray6_rank1_r8p->interface~encode_ascii_dataarray proc~write_dataarray6_rank3_i8p write_dataarray6_rank3_I8P proc~write_dataarray6_rank3_i8p->interface~encode_ascii_dataarray proc~write_dataarray1_rank2_r4p write_dataarray1_rank2_R4P proc~write_dataarray1_rank2_r4p->interface~encode_ascii_dataarray proc~write_dataarray1_rank3_i4p write_dataarray1_rank3_I4P proc~write_dataarray1_rank3_i4p->interface~encode_ascii_dataarray proc~write_dataarray1_rank4_i1p write_dataarray1_rank4_I1P proc~write_dataarray1_rank4_i1p->interface~encode_ascii_dataarray proc~write_dataarray3_rank3_r4p write_dataarray3_rank3_R4P proc~write_dataarray3_rank3_r4p->interface~encode_ascii_dataarray proc~write_dataarray6_rank1_i4p write_dataarray6_rank1_I4P proc~write_dataarray6_rank1_i4p->interface~encode_ascii_dataarray proc~write_dataarray6_rank3_i1p write_dataarray6_rank3_I1P proc~write_dataarray6_rank3_i1p->interface~encode_ascii_dataarray proc~write_dataarray1_rank1_i8p write_dataarray1_rank1_I8P proc~write_dataarray1_rank1_i8p->interface~encode_ascii_dataarray proc~write_dataarray1_rank2_i2p write_dataarray1_rank2_I2P proc~write_dataarray1_rank2_i2p->interface~encode_ascii_dataarray proc~write_dataarray1_rank4_r8p write_dataarray1_rank4_R8P proc~write_dataarray1_rank4_r8p->interface~encode_ascii_dataarray proc~write_dataarray3_rank1_i8p write_dataarray3_rank1_I8P proc~write_dataarray3_rank1_i8p->interface~encode_ascii_dataarray proc~write_dataarray6_rank3_r8p write_dataarray6_rank3_R8P proc~write_dataarray6_rank3_r8p->interface~encode_ascii_dataarray proc~write_dataarray3_rank3_i2p write_dataarray3_rank3_I2P proc~write_dataarray3_rank3_i2p->interface~encode_ascii_dataarray proc~write_dataarray1_rank1_i1p write_dataarray1_rank1_I1P proc~write_dataarray1_rank1_i1p->interface~encode_ascii_dataarray proc~write_dataarray1_rank3_r4p write_dataarray1_rank3_R4P proc~write_dataarray1_rank3_r4p->interface~encode_ascii_dataarray proc~write_dataarray1_rank4_i4p write_dataarray1_rank4_I4P proc~write_dataarray1_rank4_i4p->interface~encode_ascii_dataarray proc~write_dataarray3_rank1_i1p write_dataarray3_rank1_I1P proc~write_dataarray3_rank1_i1p->interface~encode_ascii_dataarray proc~write_dataarray6_rank1_r4p write_dataarray6_rank1_R4P proc~write_dataarray6_rank1_r4p->interface~encode_ascii_dataarray proc~write_dataarray6_rank3_i4p write_dataarray6_rank3_I4P proc~write_dataarray6_rank3_i4p->interface~encode_ascii_dataarray proc~write_dataarray1_rank1_r8p write_dataarray1_rank1_R8P proc~write_dataarray1_rank1_r8p->interface~encode_ascii_dataarray proc~write_dataarray1_rank2_i8p write_dataarray1_rank2_I8P proc~write_dataarray1_rank2_i8p->interface~encode_ascii_dataarray proc~write_dataarray1_rank3_i2p write_dataarray1_rank3_I2P proc~write_dataarray1_rank3_i2p->interface~encode_ascii_dataarray proc~write_dataarray3_rank1_r8p write_dataarray3_rank1_R8P proc~write_dataarray3_rank1_r8p->interface~encode_ascii_dataarray proc~write_dataarray3_rank3_i8p write_dataarray3_rank3_I8P proc~write_dataarray3_rank3_i8p->interface~encode_ascii_dataarray proc~write_dataarray6_rank1_i2p write_dataarray6_rank1_I2P proc~write_dataarray6_rank1_i2p->interface~encode_ascii_dataarray proc~write_dataarray1_rank1_i4p write_dataarray1_rank1_I4P proc~write_dataarray1_rank1_i4p->interface~encode_ascii_dataarray proc~write_dataarray1_rank2_i1p write_dataarray1_rank2_I1P proc~write_dataarray1_rank2_i1p->interface~encode_ascii_dataarray proc~write_dataarray1_rank4_r4p write_dataarray1_rank4_R4P proc~write_dataarray1_rank4_r4p->interface~encode_ascii_dataarray proc~write_dataarray3_rank1_i4p write_dataarray3_rank1_I4P proc~write_dataarray3_rank1_i4p->interface~encode_ascii_dataarray proc~write_dataarray3_rank3_i1p write_dataarray3_rank3_I1P proc~write_dataarray3_rank3_i1p->interface~encode_ascii_dataarray proc~write_dataarray6_rank3_r4p write_dataarray6_rank3_R4P proc~write_dataarray6_rank3_r4p->interface~encode_ascii_dataarray proc~write_dataarray1_rank2_r8p write_dataarray1_rank2_R8P proc~write_dataarray1_rank2_r8p->interface~encode_ascii_dataarray proc~write_dataarray1_rank3_i8p write_dataarray1_rank3_I8P proc~write_dataarray1_rank3_i8p->interface~encode_ascii_dataarray proc~write_dataarray1_rank4_i2p write_dataarray1_rank4_I2P proc~write_dataarray1_rank4_i2p->interface~encode_ascii_dataarray proc~write_dataarray3_rank3_r8p write_dataarray3_rank3_R8P proc~write_dataarray3_rank3_r8p->interface~encode_ascii_dataarray proc~write_dataarray6_rank1_i8p write_dataarray6_rank1_I8P proc~write_dataarray6_rank1_i8p->interface~encode_ascii_dataarray proc~write_dataarray6_rank3_i2p write_dataarray6_rank3_I2P proc~write_dataarray6_rank3_i2p->interface~encode_ascii_dataarray proc~write_dataarray1_rank1_r4p write_dataarray1_rank1_R4P proc~write_dataarray1_rank1_r4p->interface~encode_ascii_dataarray proc~write_dataarray1_rank2_i4p write_dataarray1_rank2_I4P proc~write_dataarray1_rank2_i4p->interface~encode_ascii_dataarray proc~write_dataarray1_rank3_i1p write_dataarray1_rank3_I1P proc~write_dataarray1_rank3_i1p->interface~encode_ascii_dataarray proc~write_dataarray3_rank1_r4p write_dataarray3_rank1_R4P proc~write_dataarray3_rank1_r4p->interface~encode_ascii_dataarray proc~write_dataarray3_rank3_i4p write_dataarray3_rank3_I4P proc~write_dataarray3_rank3_i4p->interface~encode_ascii_dataarray proc~write_dataarray6_rank1_i1p write_dataarray6_rank1_I1P proc~write_dataarray6_rank1_i1p->interface~encode_ascii_dataarray

Contents


Source Code

  function encode_ascii_dataarray6_rank1_I2P(u, v, w, x, y, z) result(code)
  !< Encode (Base64) a dataarray with 6 components of rank 1 (I2P).
  integer(I2P),    intent(in)   :: u(1:) !< U component.
  integer(I2P),    intent(in)   :: v(1:) !< V component.
  integer(I2P),    intent(in)   :: w(1:) !< W component.
  integer(I2P),    intent(in)   :: x(1:) !< X component.
  integer(I2P),    intent(in)   :: y(1:) !< Y component.
  integer(I2P),    intent(in)   :: z(1:) !< Z component.
  character(len=:), allocatable :: code  !< Encoded base64 dataarray.
  integer(I4P)                  :: n     !< Counter.
  integer(I4P)                  :: l     !< Length
  integer(I4P)                  :: sp    !< String pointer
  integer(I4P)                  :: size_n!< Dimension 1 size

  size_n = size(x, dim=1)
  l = DI2P*6 + 5
  sp = 0
  code = repeat(' ',l*size_n)
  do n=1, size_n
    code(sp+1:sp+l) = str(n=u(n))//' '//str(n=v(n))//' '//str(n=w(n))// &
                str(n=x(n))//' '//str(n=y(n))//' '//str(n=z(n))
    sp = sp + l
  enddo
  endfunction encode_ascii_dataarray6_rank1_I2P