Appearance
vtk_fortran_dataarray_encoder
DataArray encoder, codecs: "ascii", "base64".
The binary (base64) encoders can compress the data with zlib (VTK vtkZLibDataCompressor layout): the VTK header of the compressed data and the compressed blocks are then encoded as two separate base64 streams, as VTK does. ascii encoder binary encoder
Source: src/lib/vtk_fortran_dataarray_encoder.f90
Dependencies
Contents
- interleave
- to_bytes
- encode_ascii_dataarray
- encode_payload
- encode_binary_dataarray
- interleave_rank2_R8P
- interleave_rank2_R4P
- interleave_rank2_I8P
- interleave_rank2_I4P
- interleave_rank2_I2P
- interleave_rank2_I1P
- interleave_rank3_R8P
- interleave_rank3_R4P
- interleave_rank3_I8P
- interleave_rank3_I4P
- interleave_rank3_I2P
- interleave_rank3_I1P
- interleave_rank4_R8P
- interleave_rank4_R4P
- interleave_rank4_I8P
- interleave_rank4_I4P
- interleave_rank4_I2P
- interleave_rank4_I1P
- to_bytes_R8P
- to_bytes_R4P
- to_bytes_I8P
- to_bytes_I4P
- to_bytes_I2P
- to_bytes_I1P
- encode_ascii_dataarray1_rank1_R16P
- encode_ascii_dataarray1_rank1_R8P
- encode_ascii_dataarray1_rank1_R4P
- encode_ascii_dataarray1_rank1_I8P
- encode_ascii_dataarray1_rank1_I4P
- encode_ascii_dataarray1_rank1_I2P
- encode_ascii_dataarray1_rank1_I1P
- encode_ascii_dataarray1_rank2_R16P
- encode_ascii_dataarray1_rank2_R8P
- encode_ascii_dataarray1_rank2_R4P
- encode_ascii_dataarray1_rank2_I8P
- encode_ascii_dataarray1_rank2_I4P
- encode_ascii_dataarray1_rank2_I2P
- encode_ascii_dataarray1_rank2_I1P
- encode_ascii_dataarray1_rank3_R16P
- encode_ascii_dataarray1_rank3_R8P
- encode_ascii_dataarray1_rank3_R4P
- encode_ascii_dataarray1_rank3_I8P
- encode_ascii_dataarray1_rank3_I4P
- encode_ascii_dataarray1_rank3_I2P
- encode_ascii_dataarray1_rank3_I1P
- encode_ascii_dataarray1_rank4_R16P
- encode_ascii_dataarray1_rank4_R8P
- encode_ascii_dataarray1_rank4_R4P
- encode_ascii_dataarray1_rank4_I8P
- encode_ascii_dataarray1_rank4_I4P
- encode_ascii_dataarray1_rank4_I2P
- encode_ascii_dataarray1_rank4_I1P
- encode_ascii_dataarray3_rank1_R16P
- encode_ascii_dataarray3_rank1_R8P
- encode_ascii_dataarray3_rank1_R4P
- encode_ascii_dataarray3_rank1_I8P
- encode_ascii_dataarray3_rank1_I4P
- encode_ascii_dataarray3_rank1_I2P
- encode_ascii_dataarray3_rank1_I1P
- encode_ascii_dataarray3_rank3_R16P
- encode_ascii_dataarray3_rank3_R8P
- encode_ascii_dataarray3_rank3_R4P
- encode_ascii_dataarray3_rank3_I8P
- encode_ascii_dataarray3_rank3_I4P
- encode_ascii_dataarray3_rank3_I2P
- encode_ascii_dataarray3_rank3_I1P
- encode_ascii_dataarray6_rank1_R16P
- encode_ascii_dataarray6_rank1_R8P
- encode_ascii_dataarray6_rank1_R4P
- encode_ascii_dataarray6_rank1_I8P
- encode_ascii_dataarray6_rank1_I4P
- encode_ascii_dataarray6_rank1_I2P
- encode_ascii_dataarray6_rank1_I1P
- encode_ascii_dataarray6_rank3_R16P
- encode_ascii_dataarray6_rank3_R8P
- encode_ascii_dataarray6_rank3_R4P
- encode_ascii_dataarray6_rank3_I8P
- encode_ascii_dataarray6_rank3_I4P
- encode_ascii_dataarray6_rank3_I2P
- encode_ascii_dataarray6_rank3_I1P
- bytes_count
- encode_binary_dataarray1_rank1_R8P
- encode_binary_dataarray1_rank1_R4P
- encode_binary_dataarray1_rank1_I8P
- encode_binary_dataarray1_rank1_I4P
- encode_binary_dataarray1_rank1_I2P
- encode_binary_dataarray1_rank1_I1P
- encode_binary_dataarray1_rank2_R8P
- encode_binary_dataarray1_rank2_R4P
- encode_binary_dataarray1_rank2_I8P
- encode_binary_dataarray1_rank2_I4P
- encode_binary_dataarray1_rank2_I2P
- encode_binary_dataarray1_rank2_I1P
- encode_binary_dataarray1_rank3_R8P
- encode_binary_dataarray1_rank3_R4P
- encode_binary_dataarray1_rank3_I8P
- encode_binary_dataarray1_rank3_I4P
- encode_binary_dataarray1_rank3_I2P
- encode_binary_dataarray1_rank3_I1P
- encode_binary_dataarray1_rank4_R8P
- encode_binary_dataarray1_rank4_R4P
- encode_binary_dataarray1_rank4_I8P
- encode_binary_dataarray1_rank4_I4P
- encode_binary_dataarray1_rank4_I2P
- encode_binary_dataarray1_rank4_I1P
- encode_binary_dataarray3_rank1_R8P
- encode_binary_dataarray3_rank1_R4P
- encode_binary_dataarray3_rank1_I8P
- encode_binary_dataarray3_rank1_I4P
- encode_binary_dataarray3_rank1_I2P
- encode_binary_dataarray3_rank1_I1P
- encode_binary_dataarray3_rank3_R8P
- encode_binary_dataarray3_rank3_R4P
- encode_binary_dataarray3_rank3_I8P
- encode_binary_dataarray3_rank3_I4P
- encode_binary_dataarray3_rank3_I2P
- encode_binary_dataarray3_rank3_I1P
- encode_binary_dataarray6_rank1_R8P
- encode_binary_dataarray6_rank1_R4P
- encode_binary_dataarray6_rank1_I8P
- encode_binary_dataarray6_rank1_I4P
- encode_binary_dataarray6_rank1_I2P
- encode_binary_dataarray6_rank1_I1P
- encode_binary_dataarray6_rank3_R8P
- encode_binary_dataarray6_rank3_R4P
- encode_binary_dataarray6_rank3_I8P
- encode_binary_dataarray6_rank3_I4P
- encode_binary_dataarray6_rank3_I2P
- encode_binary_dataarray6_rank3_I1P
- encode_payload_R8P
- encode_payload_R4P
- encode_payload_I8P
- encode_payload_I4P
- encode_payload_I2P
- encode_payload_I1P
- encode_compressed_bytes
- encode_compressed_blocks
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
zlib_block_size | integer(kind=I8P) | parameter | Uncompressed block size of zlib compressed data (as VTK). |
zlib_level | integer(kind=c_int) | parameter | zlib compression level. |
Interfaces
interleave
Copy a dataarray of rank 2-4 into the component c of a buffer of nc interleaved components, element by element.
Module procedures: interleave_rank2_R8P, interleave_rank2_R4P, interleave_rank2_I8P, interleave_rank2_I4P, interleave_rank2_I2P, interleave_rank2_I1P, interleave_rank3_R8P, interleave_rank3_R4P, interleave_rank3_I8P, interleave_rank3_I4P, interleave_rank3_I2P, interleave_rank3_I1P, interleave_rank4_R8P, interleave_rank4_R4P, interleave_rank4_I8P, interleave_rank4_I4P, interleave_rank4_I2P, interleave_rank4_I1P
to_bytes
Copy a dataarray into a bytes stream, element by element (a whole-array transfer result can be placed on the stack).
Module procedures: to_bytes_R8P, to_bytes_R4P, to_bytes_I8P, to_bytes_I4P, to_bytes_I2P, to_bytes_I1P
encode_ascii_dataarray
Ascii DataArray encoder.
Module procedures: encode_ascii_dataarray1_rank1_R8P, encode_ascii_dataarray1_rank1_R4P, encode_ascii_dataarray1_rank1_I8P, encode_ascii_dataarray1_rank1_I4P, encode_ascii_dataarray1_rank1_I2P, encode_ascii_dataarray1_rank1_I1P, encode_ascii_dataarray1_rank2_R8P, encode_ascii_dataarray1_rank2_R4P, encode_ascii_dataarray1_rank2_I8P, encode_ascii_dataarray1_rank2_I4P, encode_ascii_dataarray1_rank2_I2P, encode_ascii_dataarray1_rank2_I1P, encode_ascii_dataarray1_rank3_R8P, encode_ascii_dataarray1_rank3_R4P, encode_ascii_dataarray1_rank3_I8P, encode_ascii_dataarray1_rank3_I4P, encode_ascii_dataarray1_rank3_I2P, encode_ascii_dataarray1_rank3_I1P, encode_ascii_dataarray1_rank4_R8P, encode_ascii_dataarray1_rank4_R4P, encode_ascii_dataarray1_rank4_I8P, encode_ascii_dataarray1_rank4_I4P, encode_ascii_dataarray1_rank4_I2P, encode_ascii_dataarray1_rank4_I1P, encode_ascii_dataarray3_rank1_R8P, encode_ascii_dataarray3_rank1_R4P, encode_ascii_dataarray3_rank1_I8P, encode_ascii_dataarray3_rank1_I4P, encode_ascii_dataarray3_rank1_I2P, encode_ascii_dataarray3_rank1_I1P, encode_ascii_dataarray3_rank3_R8P, encode_ascii_dataarray3_rank3_R4P, encode_ascii_dataarray3_rank3_I8P, encode_ascii_dataarray3_rank3_I4P, encode_ascii_dataarray3_rank3_I2P, encode_ascii_dataarray3_rank3_I1P, encode_ascii_dataarray6_rank1_R8P, encode_ascii_dataarray6_rank1_R4P, encode_ascii_dataarray6_rank1_I8P, encode_ascii_dataarray6_rank1_I4P, encode_ascii_dataarray6_rank1_I2P, encode_ascii_dataarray6_rank1_I1P, encode_ascii_dataarray6_rank3_R8P, encode_ascii_dataarray6_rank3_R4P, encode_ascii_dataarray6_rank3_I8P, encode_ascii_dataarray6_rank3_I4P, encode_ascii_dataarray6_rank3_I2P, encode_ascii_dataarray6_rank3_I1P
encode_payload
Encode (Base64) the bytes count header followed by the data.
Module procedures: encode_payload_R8P, encode_payload_R4P, encode_payload_I8P, encode_payload_I4P, encode_payload_I2P, encode_payload_I1P
encode_binary_dataarray
Binary (base64) DataArray encoder.
Module procedures: encode_binary_dataarray1_rank1_R8P, encode_binary_dataarray1_rank1_R4P, encode_binary_dataarray1_rank1_I8P, encode_binary_dataarray1_rank1_I4P, encode_binary_dataarray1_rank1_I2P, encode_binary_dataarray1_rank1_I1P, encode_binary_dataarray1_rank2_R8P, encode_binary_dataarray1_rank2_R4P, encode_binary_dataarray1_rank2_I8P, encode_binary_dataarray1_rank2_I4P, encode_binary_dataarray1_rank2_I2P, encode_binary_dataarray1_rank2_I1P, encode_binary_dataarray1_rank3_R8P, encode_binary_dataarray1_rank3_R4P, encode_binary_dataarray1_rank3_I8P, encode_binary_dataarray1_rank3_I4P, encode_binary_dataarray1_rank3_I2P, encode_binary_dataarray1_rank3_I1P, encode_binary_dataarray1_rank4_R8P, encode_binary_dataarray1_rank4_R4P, encode_binary_dataarray1_rank4_I8P, encode_binary_dataarray1_rank4_I4P, encode_binary_dataarray1_rank4_I2P, encode_binary_dataarray1_rank4_I1P, encode_binary_dataarray3_rank1_R8P, encode_binary_dataarray3_rank1_R4P, encode_binary_dataarray3_rank1_I8P, encode_binary_dataarray3_rank1_I4P, encode_binary_dataarray3_rank1_I2P, encode_binary_dataarray3_rank1_I1P, encode_binary_dataarray3_rank3_R8P, encode_binary_dataarray3_rank3_R4P, encode_binary_dataarray3_rank3_I8P, encode_binary_dataarray3_rank3_I4P, encode_binary_dataarray3_rank3_I2P, encode_binary_dataarray3_rank3_I1P, encode_binary_dataarray6_rank1_R8P, encode_binary_dataarray6_rank1_R4P, encode_binary_dataarray6_rank1_I8P, encode_binary_dataarray6_rank1_I4P, encode_binary_dataarray6_rank1_I2P, encode_binary_dataarray6_rank1_I1P, encode_binary_dataarray6_rank3_R8P, encode_binary_dataarray6_rank3_R4P, encode_binary_dataarray6_rank3_I8P, encode_binary_dataarray6_rank3_I4P, encode_binary_dataarray6_rank3_I2P, encode_binary_dataarray6_rank3_I1P
Subroutines
interleave_rank2_R8P
Copy a dataarray of rank 2 into the component c of a buffer of nc interleaved components (R8P).
Attributes: pure
fortran
subroutine interleave_rank2_R8P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Dataarray. | |
buf | real(kind=R8P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank2_R4P
Copy a dataarray of rank 2 into the component c of a buffer of nc interleaved components (R4P).
Attributes: pure
fortran
subroutine interleave_rank2_R4P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Dataarray. | |
buf | real(kind=R4P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank2_I8P
Copy a dataarray of rank 2 into the component c of a buffer of nc interleaved components (I8P).
Attributes: pure
fortran
subroutine interleave_rank2_I8P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Dataarray. | |
buf | integer(kind=I8P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank2_I4P
Copy a dataarray of rank 2 into the component c of a buffer of nc interleaved components (I4P).
Attributes: pure
fortran
subroutine interleave_rank2_I4P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Dataarray. | |
buf | integer(kind=I4P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank2_I2P
Copy a dataarray of rank 2 into the component c of a buffer of nc interleaved components (I2P).
Attributes: pure
fortran
subroutine interleave_rank2_I2P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Dataarray. | |
buf | integer(kind=I2P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank2_I1P
Copy a dataarray of rank 2 into the component c of a buffer of nc interleaved components (I1P).
Attributes: pure
fortran
subroutine interleave_rank2_I1P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Dataarray. | |
buf | integer(kind=I1P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank3_R8P
Copy a dataarray of rank 3 into the component c of a buffer of nc interleaved components (R8P).
Attributes: pure
fortran
subroutine interleave_rank3_R8P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Dataarray. | |
buf | real(kind=R8P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank3_R4P
Copy a dataarray of rank 3 into the component c of a buffer of nc interleaved components (R4P).
Attributes: pure
fortran
subroutine interleave_rank3_R4P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Dataarray. | |
buf | real(kind=R4P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank3_I8P
Copy a dataarray of rank 3 into the component c of a buffer of nc interleaved components (I8P).
Attributes: pure
fortran
subroutine interleave_rank3_I8P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Dataarray. | |
buf | integer(kind=I8P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank3_I4P
Copy a dataarray of rank 3 into the component c of a buffer of nc interleaved components (I4P).
Attributes: pure
fortran
subroutine interleave_rank3_I4P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Dataarray. | |
buf | integer(kind=I4P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank3_I2P
Copy a dataarray of rank 3 into the component c of a buffer of nc interleaved components (I2P).
Attributes: pure
fortran
subroutine interleave_rank3_I2P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Dataarray. | |
buf | integer(kind=I2P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank3_I1P
Copy a dataarray of rank 3 into the component c of a buffer of nc interleaved components (I1P).
Attributes: pure
fortran
subroutine interleave_rank3_I1P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Dataarray. | |
buf | integer(kind=I1P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank4_R8P
Copy a dataarray of rank 4 into the component c of a buffer of nc interleaved components (R8P).
Attributes: pure
fortran
subroutine interleave_rank4_R8P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Dataarray. | |
buf | real(kind=R8P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank4_R4P
Copy a dataarray of rank 4 into the component c of a buffer of nc interleaved components (R4P).
Attributes: pure
fortran
subroutine interleave_rank4_R4P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Dataarray. | |
buf | real(kind=R4P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank4_I8P
Copy a dataarray of rank 4 into the component c of a buffer of nc interleaved components (I8P).
Attributes: pure
fortran
subroutine interleave_rank4_I8P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Dataarray. | |
buf | integer(kind=I8P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank4_I4P
Copy a dataarray of rank 4 into the component c of a buffer of nc interleaved components (I4P).
Attributes: pure
fortran
subroutine interleave_rank4_I4P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Dataarray. | |
buf | integer(kind=I4P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank4_I2P
Copy a dataarray of rank 4 into the component c of a buffer of nc interleaved components (I2P).
Attributes: pure
fortran
subroutine interleave_rank4_I2P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Dataarray. | |
buf | integer(kind=I2P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
interleave_rank4_I1P
Copy a dataarray of rank 4 into the component c of a buffer of nc interleaved components (I1P).
Attributes: pure
fortran
subroutine interleave_rank4_I1P(x, buf, c, nc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Dataarray. | |
buf | integer(kind=I1P) | inout | Buffer, at least of size(x)*nc elements. | |
c | integer(kind=I8P) | in | Component index, in [1, nc]. | |
nc | integer(kind=I8P) | in | Number of interleaved components. |
to_bytes_R8P
Copy a dataarray into a bytes stream (R8P).
Attributes: pure
fortran
subroutine to_bytes_R8P(x, bytes)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Dataarray. | |
bytes | integer(kind=c_signed_char) | out | Bytes stream, at least of size(x)*BYR8P elements. |
to_bytes_R4P
Copy a dataarray into a bytes stream (R4P).
Attributes: pure
fortran
subroutine to_bytes_R4P(x, bytes)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Dataarray. | |
bytes | integer(kind=c_signed_char) | out | Bytes stream, at least of size(x)*BYR4P elements. |
to_bytes_I8P
Copy a dataarray into a bytes stream (I8P).
Attributes: pure
fortran
subroutine to_bytes_I8P(x, bytes)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Dataarray. | |
bytes | integer(kind=c_signed_char) | out | Bytes stream, at least of size(x)*BYI8P elements. |
to_bytes_I4P
Copy a dataarray into a bytes stream (I4P).
Attributes: pure
fortran
subroutine to_bytes_I4P(x, bytes)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Dataarray. | |
bytes | integer(kind=c_signed_char) | out | Bytes stream, at least of size(x)*BYI4P elements. |
to_bytes_I2P
Copy a dataarray into a bytes stream (I2P).
Attributes: pure
fortran
subroutine to_bytes_I2P(x, bytes)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Dataarray. | |
bytes | integer(kind=c_signed_char) | out | Bytes stream, at least of size(x)*BYI2P elements. |
to_bytes_I1P
Copy a dataarray into a bytes stream (I1P).
Attributes: pure
fortran
subroutine to_bytes_I1P(x, bytes)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Dataarray. | |
bytes | integer(kind=c_signed_char) | out | Bytes stream, at least of size(x)*BYI1P elements. |
Functions
encode_ascii_dataarray1_rank1_R16P
Encode (Base64) a dataarray with 1 components of rank 1 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank1_R16P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R16P) | in | Data variable. |
encode_ascii_dataarray1_rank1_R8P
Encode (Base64) a dataarray with 1 components of rank 1 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank1_R8P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Data variable. |
encode_ascii_dataarray1_rank1_R4P
Encode (Base64) a dataarray with 1 components of rank 1 (R4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank1_R4P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Data variable. |
encode_ascii_dataarray1_rank1_I8P
Encode (Base64) a dataarray with 1 components of rank 1 (I8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank1_I8P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Data variable. |
encode_ascii_dataarray1_rank1_I4P
Encode (Base64) a dataarray with 1 components of rank 1 (I4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank1_I4P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Data variable. |
encode_ascii_dataarray1_rank1_I2P
Encode (Base64) a dataarray with 1 components of rank 1 (I2P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank1_I2P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Data variable. |
encode_ascii_dataarray1_rank1_I1P
Encode (Base64) a dataarray with 1 components of rank 1 (I1P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank1_I1P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Data variable. |
encode_ascii_dataarray1_rank2_R16P
Encode (Base64) a dataarray with 1 components of rank 2 (R16P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank2_R16P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R16P) | in | Data variable |
encode_ascii_dataarray1_rank2_R8P
Encode (Base64) a dataarray with 1 components of rank 2 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank2_R8P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Data variable |
encode_ascii_dataarray1_rank2_R4P
Encode (Base64) a dataarray with 1 components of rank 2 (R4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank2_R4P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Data variable |
encode_ascii_dataarray1_rank2_I8P
Encode (Base64) a dataarray with 1 components of rank 2 (I8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank2_I8P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Data variable |
encode_ascii_dataarray1_rank2_I4P
Encode (Base64) a dataarray with 1 components of rank 2 (I4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank2_I4P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Data variable |
encode_ascii_dataarray1_rank2_I2P
Encode (Base64) a dataarray with 1 components of rank 2 (I2P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank2_I2P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Data variable |
encode_ascii_dataarray1_rank2_I1P
Encode (Base64) a dataarray with 1 components of rank 2 (I2P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank2_I1P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Data variable |
encode_ascii_dataarray1_rank3_R16P
Encode (Base64) a dataarray with 1 components of rank 3 (R16P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank3_R16P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R16P) | in | Data variable |
encode_ascii_dataarray1_rank3_R8P
Encode (Base64) a dataarray with 1 components of rank 3 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank3_R8P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Data variable |
encode_ascii_dataarray1_rank3_R4P
Encode (Base64) a dataarray with 1 components of rank 3 (R4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank3_R4P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Data variable |
encode_ascii_dataarray1_rank3_I8P
Encode (Base64) a dataarray with 1 components of rank 3 (I8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank3_I8P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Data variable |
encode_ascii_dataarray1_rank3_I4P
Encode (Base64) a dataarray with 1 components of rank 3 (I4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank3_I4P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Data variable |
encode_ascii_dataarray1_rank3_I2P
Encode (Base64) a dataarray with 1 components of rank 3 (I2P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank3_I2P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Data variable |
encode_ascii_dataarray1_rank3_I1P
Encode (Base64) a dataarray with 1 components of rank 3 (I1P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank3_I1P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Data variable |
encode_ascii_dataarray1_rank4_R16P
Encode (Base64) a dataarray with 1 components of rank 4 (R16P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank4_R16P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R16P) | in | Data variable. |
encode_ascii_dataarray1_rank4_R8P
Encode (Base64) a dataarray with 1 components of rank 4 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank4_R8P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Data variable. |
encode_ascii_dataarray1_rank4_R4P
Encode (Base64) a dataarray with 1 components of rank 4 (R4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank4_R4P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Data variable. |
encode_ascii_dataarray1_rank4_I8P
Encode (Base64) a dataarray with 1 components of rank 4 (I8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank4_I8P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Data variable. |
encode_ascii_dataarray1_rank4_I4P
Encode (Base64) a dataarray with 1 components of rank 4 (I4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank4_I4P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Data variable. |
encode_ascii_dataarray1_rank4_I2P
Encode (Base64) a dataarray with 1 components of rank 4 (I2P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank4_I2P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Data variable. |
encode_ascii_dataarray1_rank4_I1P
Encode (Base64) a dataarray with 1 components of rank 4 (I1P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray1_rank4_I1P(x) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Data variable. |
encode_ascii_dataarray3_rank1_R16P
Encode (Base64) a dataarray with 3 components of rank 1 (R16P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank1_R16P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R16P) | in | X component. | |
y | real(kind=R16P) | in | Y component. | |
z | real(kind=R16P) | in | Z component. |
encode_ascii_dataarray3_rank1_R8P
Encode (Base64) a dataarray with 3 components of rank 1 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank1_R8P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | X component. | |
y | real(kind=R8P) | in | Y component. | |
z | real(kind=R8P) | in | Z component. |
encode_ascii_dataarray3_rank1_R4P
Encode (Base64) a dataarray with 3 components of rank 1 (R4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank1_R4P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | X component. | |
y | real(kind=R4P) | in | Y component. | |
z | real(kind=R4P) | in | Z component. |
encode_ascii_dataarray3_rank1_I8P
Encode (Base64) a dataarray with 3 components of rank 1 (I8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank1_I8P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | X component. | |
y | integer(kind=I8P) | in | Y component. | |
z | integer(kind=I8P) | in | Z component. |
encode_ascii_dataarray3_rank1_I4P
Encode (Base64) a dataarray with 3 components of rank 1 (I4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank1_I4P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | X component. | |
y | integer(kind=I4P) | in | Y component. | |
z | integer(kind=I4P) | in | Z component. |
encode_ascii_dataarray3_rank1_I2P
Encode (Base64) a dataarray with 3 components of rank 1 (I2P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank1_I2P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | X component. | |
y | integer(kind=I2P) | in | Y component. | |
z | integer(kind=I2P) | in | Z component. |
encode_ascii_dataarray3_rank1_I1P
Encode (Base64) a dataarray with 3 components of rank 1 (I1P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank1_I1P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | X component. | |
y | integer(kind=I1P) | in | Y component. | |
z | integer(kind=I1P) | in | Z component. |
encode_ascii_dataarray3_rank3_R16P
Encode (Base64) a dataarray with 3 components of rank 3 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank3_R16P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R16P) | in | X component. | |
y | real(kind=R16P) | in | Y component. | |
z | real(kind=R16P) | in | Z component. |
encode_ascii_dataarray3_rank3_R8P
Encode (Base64) a dataarray with 3 components of rank 3 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank3_R8P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | X component. | |
y | real(kind=R8P) | in | Y component. | |
z | real(kind=R8P) | in | Z component. |
encode_ascii_dataarray3_rank3_R4P
Encode (Base64) a dataarray with 3 components of rank 3 (R4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank3_R4P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | X component. | |
y | real(kind=R4P) | in | Y component. | |
z | real(kind=R4P) | in | Z component. |
encode_ascii_dataarray3_rank3_I8P
Encode (Base64) a dataarray with 3 components of rank 3 (I8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank3_I8P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | X component. | |
y | integer(kind=I8P) | in | Y component. | |
z | integer(kind=I8P) | in | Z component. |
encode_ascii_dataarray3_rank3_I4P
Encode (Base64) a dataarray with 3 components of rank 3 (I4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank3_I4P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | X component. | |
y | integer(kind=I4P) | in | Y component. | |
z | integer(kind=I4P) | in | Z component. |
encode_ascii_dataarray3_rank3_I2P
Encode (Base64) a dataarray with 3 components of rank 3 (I2P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank3_I2P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | X component. | |
y | integer(kind=I2P) | in | Y component. | |
z | integer(kind=I2P) | in | Z component. |
encode_ascii_dataarray3_rank3_I1P
Encode (Base64) a dataarray with 3 components of rank 3 (I1P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray3_rank3_I1P(x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | X component. | |
y | integer(kind=I1P) | in | Y component. | |
z | integer(kind=I1P) | in | Z component. |
encode_ascii_dataarray6_rank1_R16P
Encode (Base64) a dataarray with 6 components of rank 1 (R16P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank1_R16P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R16P) | in | U component. | |
v | real(kind=R16P) | in | V component. | |
w | real(kind=R16P) | in | W component. | |
x | real(kind=R16P) | in | X component. | |
y | real(kind=R16P) | in | Y component. | |
z | real(kind=R16P) | in | Z component. |
encode_ascii_dataarray6_rank1_R8P
Encode (Base64) a dataarray with 6 components of rank 1 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank1_R8P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R8P) | in | U component. | |
v | real(kind=R8P) | in | V component. | |
w | real(kind=R8P) | in | W component. | |
x | real(kind=R8P) | in | X component. | |
y | real(kind=R8P) | in | Y component. | |
z | real(kind=R8P) | in | Z component. |
encode_ascii_dataarray6_rank1_R4P
Encode (Base64) a dataarray with 6 components of rank 1 (R4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank1_R4P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R4P) | in | U component. | |
v | real(kind=R4P) | in | V component. | |
w | real(kind=R4P) | in | W component. | |
x | real(kind=R4P) | in | X component. | |
y | real(kind=R4P) | in | Y component. | |
z | real(kind=R4P) | in | Z component. |
encode_ascii_dataarray6_rank1_I8P
Encode (Base64) a dataarray with 6 components of rank 1 (I8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank1_I8P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I8P) | in | U component. | |
v | integer(kind=I8P) | in | V component. | |
w | integer(kind=I8P) | in | W component. | |
x | integer(kind=I8P) | in | X component. | |
y | integer(kind=I8P) | in | Y component. | |
z | integer(kind=I8P) | in | Z component. |
encode_ascii_dataarray6_rank1_I4P
Encode (Base64) a dataarray with 6 components of rank 1 (I4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank1_I4P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I4P) | in | U component. | |
v | integer(kind=I4P) | in | V component. | |
w | integer(kind=I4P) | in | W component. | |
x | integer(kind=I4P) | in | X component. | |
y | integer(kind=I4P) | in | Y component. | |
z | integer(kind=I4P) | in | Z component. |
encode_ascii_dataarray6_rank1_I2P
Encode (Base64) a dataarray with 6 components of rank 1 (I2P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank1_I2P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I2P) | in | U component. | |
v | integer(kind=I2P) | in | V component. | |
w | integer(kind=I2P) | in | W component. | |
x | integer(kind=I2P) | in | X component. | |
y | integer(kind=I2P) | in | Y component. | |
z | integer(kind=I2P) | in | Z component. |
encode_ascii_dataarray6_rank1_I1P
Encode (Base64) a dataarray with 6 components of rank 1 (I1P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank1_I1P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I1P) | in | U component. | |
v | integer(kind=I1P) | in | V component. | |
w | integer(kind=I1P) | in | W component. | |
x | integer(kind=I1P) | in | X component. | |
y | integer(kind=I1P) | in | Y component. | |
z | integer(kind=I1P) | in | Z component. |
encode_ascii_dataarray6_rank3_R16P
Encode (Base64) a dataarray with 6 components of rank 3 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank3_R16P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R16P) | in | U component. | |
v | real(kind=R16P) | in | V component. | |
w | real(kind=R16P) | in | W component. | |
x | real(kind=R16P) | in | X component. | |
y | real(kind=R16P) | in | Y component. | |
z | real(kind=R16P) | in | Z component. |
encode_ascii_dataarray6_rank3_R8P
Encode (Base64) a dataarray with 6 components of rank 3 (R8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank3_R8P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R8P) | in | U component. | |
v | real(kind=R8P) | in | V component. | |
w | real(kind=R8P) | in | W component. | |
x | real(kind=R8P) | in | X component. | |
y | real(kind=R8P) | in | Y component. | |
z | real(kind=R8P) | in | Z component. |
encode_ascii_dataarray6_rank3_R4P
Encode (Base64) a dataarray with 3 components of rank 3 (R4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank3_R4P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R4P) | in | U component. | |
v | real(kind=R4P) | in | V component. | |
w | real(kind=R4P) | in | W component. | |
x | real(kind=R4P) | in | X component. | |
y | real(kind=R4P) | in | Y component. | |
z | real(kind=R4P) | in | Z component. |
encode_ascii_dataarray6_rank3_I8P
Encode (Base64) a dataarray with 6 components of rank 3 (I8P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank3_I8P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I8P) | in | U component. | |
v | integer(kind=I8P) | in | V component. | |
w | integer(kind=I8P) | in | W component. | |
x | integer(kind=I8P) | in | X component. | |
y | integer(kind=I8P) | in | Y component. | |
z | integer(kind=I8P) | in | Z component. |
encode_ascii_dataarray6_rank3_I4P
Encode (Base64) a dataarray with 6 components of rank 3 (I4P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank3_I4P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I4P) | in | U component. | |
v | integer(kind=I4P) | in | V component. | |
w | integer(kind=I4P) | in | W component. | |
x | integer(kind=I4P) | in | X component. | |
y | integer(kind=I4P) | in | Y component. | |
z | integer(kind=I4P) | in | Z component. |
encode_ascii_dataarray6_rank3_I2P
Encode (Base64) a dataarray with 6 components of rank 3 (I2P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank3_I2P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I2P) | in | U component. | |
v | integer(kind=I2P) | in | V component. | |
w | integer(kind=I2P) | in | W component. | |
x | integer(kind=I2P) | in | X component. | |
y | integer(kind=I2P) | in | Y component. | |
z | integer(kind=I2P) | in | Z component. |
encode_ascii_dataarray6_rank3_I1P
Encode (Base64) a dataarray with 6 components of rank 3 (I1P).
Returns: character(len=:)
fortran
function encode_ascii_dataarray6_rank3_I1P(u, v, w, x, y, z) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I1P) | in | U component. | |
v | integer(kind=I1P) | in | V component. | |
w | integer(kind=I1P) | in | W component. | |
x | integer(kind=I1P) | in | X component. | |
y | integer(kind=I1P) | in | Y component. | |
z | integer(kind=I1P) | in | Z component. |
bytes_count
Return the bytes count of a dataarray as its I4P (UInt32) header, checking that it fits.
@note The execution is stopped if the bytes count overflows: larger dataarrays need a UInt64 header.
Returns: integer(kind=I4P)
fortran
function bytes_count(n_byte) result(header)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
n_byte | integer(kind=I8P) | in | Bytes count, computed in I8P. |
Call graph
encode_binary_dataarray1_rank1_R8P
Encode (Base64) a dataarray with 1 components of rank 1 (R8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank1_R8P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank1_R4P
Encode (Base64) a dataarray with 1 components of rank 1 (R4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank1_R4P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank1_I8P
Encode (Base64) a dataarray with 1 components of rank 1 (I8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank1_I8P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank1_I4P
Encode (Base64) a dataarray with 1 components of rank 1 (I4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank1_I4P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank1_I2P
Encode (Base64) a dataarray with 1 components of rank 1 (I2P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank1_I2P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank1_I1P
Encode (Base64) a dataarray with 1 components of rank 1 (I1P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank1_I1P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank2_R8P
Encode (Base64) a dataarray with 1 components of rank 2 (R8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank2_R8P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank2_R4P
Encode (Base64) a dataarray with 1 components of rank 2 (R4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank2_R4P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank2_I8P
Encode (Base64) a dataarray with 1 components of rank 2 (I8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank2_I8P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank2_I4P
Encode (Base64) a dataarray with 1 components of rank 2 (I4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank2_I4P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank2_I2P
Encode (Base64) a dataarray with 1 components of rank 2 (I2P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank2_I2P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank2_I1P
Encode (Base64) a dataarray with 1 components of rank 2 (I1P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank2_I1P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank3_R8P
Encode (Base64) a dataarray with 1 components of rank 3 (R8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank3_R8P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank3_R4P
Encode (Base64) a dataarray with 1 components of rank 3 (R4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank3_R4P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank3_I8P
Encode (Base64) a dataarray with 1 components of rank 3 (I8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank3_I8P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank3_I4P
Encode (Base64) a dataarray with 1 components of rank 3 (I4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank3_I4P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank3_I2P
Encode (Base64) a dataarray with 1 components of rank 3 (I2P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank3_I2P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank3_I1P
Encode (Base64) a dataarray with 1 components of rank 3 (I1P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank3_I1P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank4_R8P
Encode (Base64) a dataarray with 1 components of rank 4 (R8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank4_R8P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank4_R4P
Encode (Base64) a dataarray with 1 components of rank 4 (R4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank4_R4P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank4_I8P
Encode (Base64) a dataarray with 1 components of rank 4 (I8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank4_I8P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank4_I4P
Encode (Base64) a dataarray with 1 components of rank 4 (I4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank4_I4P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank4_I2P
Encode (Base64) a dataarray with 1 components of rank 4 (I2P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank4_I2P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray1_rank4_I1P
Encode (Base64) a dataarray with 1 components of rank 4 (I1P).
Returns: character(len=:)
fortran
function encode_binary_dataarray1_rank4_I1P(x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | Data variable. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank1_R8P
Encode (Base64) a dataarray with 3 components of rank 1 (R8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank1_R8P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | X component. | |
y | real(kind=R8P) | in | Y component. | |
z | real(kind=R8P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank1_R4P
Encode (Base64) a dataarray with 3 components of rank 1 (R4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank1_R4P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | X component. | |
y | real(kind=R4P) | in | Y component. | |
z | real(kind=R4P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank1_I8P
Encode (Base64) a dataarray with 3 components of rank 1 (I8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank1_I8P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | X component. | |
y | integer(kind=I8P) | in | Y component. | |
z | integer(kind=I8P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank1_I4P
Encode (Base64) a dataarray with 3 components of rank 1 (I4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank1_I4P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | X component. | |
y | integer(kind=I4P) | in | Y component. | |
z | integer(kind=I4P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank1_I2P
Encode (Base64) a dataarray with 3 components of rank 1 (I2P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank1_I2P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | X component. | |
y | integer(kind=I2P) | in | Y component. | |
z | integer(kind=I2P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank1_I1P
Encode (Base64) a dataarray with 3 components of rank 1 (I1P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank1_I1P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | X component. | |
y | integer(kind=I1P) | in | Y component. | |
z | integer(kind=I1P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank3_R8P
Encode (Base64) a dataarray with 3 components of rank 3 (R8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank3_R8P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | X component. | |
y | real(kind=R8P) | in | Y component. | |
z | real(kind=R8P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank3_R4P
Encode (Base64) a dataarray with 3 components of rank 3 (R4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank3_R4P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R4P) | in | X component. | |
y | real(kind=R4P) | in | Y component. | |
z | real(kind=R4P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank3_I8P
Encode (Base64) a dataarray with 3 components of rank 3 (I8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank3_I8P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I8P) | in | X component. | |
y | integer(kind=I8P) | in | Y component. | |
z | integer(kind=I8P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank3_I4P
Encode (Base64) a dataarray with 3 components of rank 3 (I4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank3_I4P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I4P) | in | X component. | |
y | integer(kind=I4P) | in | Y component. | |
z | integer(kind=I4P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank3_I2P
Encode (Base64) a dataarray with 3 components of rank 3 (I2P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank3_I2P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I2P) | in | X component. | |
y | integer(kind=I2P) | in | Y component. | |
z | integer(kind=I2P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray3_rank3_I1P
Encode (Base64) a dataarray with 3 components of rank 3 (I1P).
Returns: character(len=:)
fortran
function encode_binary_dataarray3_rank3_I1P(x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | integer(kind=I1P) | in | X component. | |
y | integer(kind=I1P) | in | Y component. | |
z | integer(kind=I1P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank1_R8P
Encode (Base64) a dataarray with 6 components of rank 1 (R8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank1_R8P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R8P) | in | U component. | |
v | real(kind=R8P) | in | V component. | |
w | real(kind=R8P) | in | W component. | |
x | real(kind=R8P) | in | X component. | |
y | real(kind=R8P) | in | Y component. | |
z | real(kind=R8P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank1_R4P
Encode (Base64) a dataarray with 6 components of rank 1 (R4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank1_R4P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R4P) | in | U component. | |
v | real(kind=R4P) | in | V component. | |
w | real(kind=R4P) | in | W component. | |
x | real(kind=R4P) | in | X component. | |
y | real(kind=R4P) | in | Y component. | |
z | real(kind=R4P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank1_I8P
Encode (Base64) a dataarray with 6 components of rank 1 (I8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank1_I8P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I8P) | in | U component. | |
v | integer(kind=I8P) | in | V component. | |
w | integer(kind=I8P) | in | W component. | |
x | integer(kind=I8P) | in | X component. | |
y | integer(kind=I8P) | in | Y component. | |
z | integer(kind=I8P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank1_I4P
Encode (Base64) a dataarray with 6 components of rank 1 (I4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank1_I4P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I4P) | in | U component. | |
v | integer(kind=I4P) | in | V component. | |
w | integer(kind=I4P) | in | W component. | |
x | integer(kind=I4P) | in | X component. | |
y | integer(kind=I4P) | in | Y component. | |
z | integer(kind=I4P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank1_I2P
Encode (Base64) a dataarray with 6 components of rank 1 (I2P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank1_I2P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I2P) | in | U component. | |
v | integer(kind=I2P) | in | V component. | |
w | integer(kind=I2P) | in | W component. | |
x | integer(kind=I2P) | in | X component. | |
y | integer(kind=I2P) | in | Y component. | |
z | integer(kind=I2P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank1_I1P
Encode (Base64) a dataarray with 6 components of rank 1 (I1P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank1_I1P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I1P) | in | U component. | |
v | integer(kind=I1P) | in | V component. | |
w | integer(kind=I1P) | in | W component. | |
x | integer(kind=I1P) | in | X component. | |
y | integer(kind=I1P) | in | Y component. | |
z | integer(kind=I1P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank3_R8P
Encode (Base64) a dataarray with 6 components of rank 3 (R8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank3_R8P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R8P) | in | U component. | |
v | real(kind=R8P) | in | V component. | |
w | real(kind=R8P) | in | W component. | |
x | real(kind=R8P) | in | X component. | |
y | real(kind=R8P) | in | Y component. | |
z | real(kind=R8P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank3_R4P
Encode (Base64) a dataarray with 6 components of rank 3 (R4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank3_R4P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | real(kind=R4P) | in | U component. | |
v | real(kind=R4P) | in | V component. | |
w | real(kind=R4P) | in | W component. | |
x | real(kind=R4P) | in | X component. | |
y | real(kind=R4P) | in | Y component. | |
z | real(kind=R4P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank3_I8P
Encode (Base64) a dataarray with 6 components of rank 3 (I8P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank3_I8P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I8P) | in | U component. | |
v | integer(kind=I8P) | in | V component. | |
w | integer(kind=I8P) | in | W component. | |
x | integer(kind=I8P) | in | X component. | |
y | integer(kind=I8P) | in | Y component. | |
z | integer(kind=I8P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank3_I4P
Encode (Base64) a dataarray with 6 components of rank 3 (I4P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank3_I4P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I4P) | in | U component. | |
v | integer(kind=I4P) | in | V component. | |
w | integer(kind=I4P) | in | W component. | |
x | integer(kind=I4P) | in | X component. | |
y | integer(kind=I4P) | in | Y component. | |
z | integer(kind=I4P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank3_I2P
Encode (Base64) a dataarray with 6 components of rank 3 (I2P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank3_I2P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I2P) | in | U component. | |
v | integer(kind=I2P) | in | V component. | |
w | integer(kind=I2P) | in | W component. | |
x | integer(kind=I2P) | in | X component. | |
y | integer(kind=I2P) | in | Y component. | |
z | integer(kind=I2P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_binary_dataarray6_rank3_I1P
Encode (Base64) a dataarray with 6 components of rank 3 (I1P).
Returns: character(len=:)
fortran
function encode_binary_dataarray6_rank3_I1P(u, v, w, x, y, z, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
u | integer(kind=I1P) | in | U component. | |
v | integer(kind=I1P) | in | V component. | |
w | integer(kind=I1P) | in | W component. | |
x | integer(kind=I1P) | in | X component. | |
y | integer(kind=I1P) | in | Y component. | |
z | integer(kind=I1P) | in | Z component. | |
is_uint64 | logical | in | optional | Use a UInt64 bytes count header (default UInt32). |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_payload_R8P
Encode (Base64) the bytes count header followed by the data (R8P).
Returns: character(len=:)
fortran
function encode_payload_R8P(n_byte, x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
n_byte | integer(kind=I8P) | in | Bytes count of data. | |
x | real(kind=R8P) | in | Data (flattened, interleaved). | |
is_uint64 | logical | in | Use a UInt64 bytes count header (UInt32 otherwise). | |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_payload_R4P
Encode (Base64) the bytes count header followed by the data (R4P).
Returns: character(len=:)
fortran
function encode_payload_R4P(n_byte, x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
n_byte | integer(kind=I8P) | in | Bytes count of data. | |
x | real(kind=R4P) | in | Data (flattened, interleaved). | |
is_uint64 | logical | in | Use a UInt64 bytes count header (UInt32 otherwise). | |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_payload_I8P
Encode (Base64) the bytes count header followed by the data (I8P).
Returns: character(len=:)
fortran
function encode_payload_I8P(n_byte, x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
n_byte | integer(kind=I8P) | in | Bytes count of data. | |
x | integer(kind=I8P) | in | Data (flattened, interleaved). | |
is_uint64 | logical | in | Use a UInt64 bytes count header (UInt32 otherwise). | |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_payload_I4P
Encode (Base64) the bytes count header followed by the data (I4P).
Returns: character(len=:)
fortran
function encode_payload_I4P(n_byte, x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
n_byte | integer(kind=I8P) | in | Bytes count of data. | |
x | integer(kind=I4P) | in | Data (flattened, interleaved). | |
is_uint64 | logical | in | Use a UInt64 bytes count header (UInt32 otherwise). | |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_payload_I2P
Encode (Base64) the bytes count header followed by the data (I2P).
Returns: character(len=:)
fortran
function encode_payload_I2P(n_byte, x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
n_byte | integer(kind=I8P) | in | Bytes count of data. | |
x | integer(kind=I2P) | in | Data (flattened, interleaved). | |
is_uint64 | logical | in | Use a UInt64 bytes count header (UInt32 otherwise). | |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_payload_I1P
Encode (Base64) the bytes count header followed by the data (I1P).
Returns: character(len=:)
fortran
function encode_payload_I1P(n_byte, x, is_uint64, is_compressed) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
n_byte | integer(kind=I8P) | in | Bytes count of data. | |
x | integer(kind=I1P) | in | Data (flattened, interleaved). | |
is_uint64 | logical | in | Use a UInt64 bytes count header (UInt32 otherwise). | |
is_compressed | logical | in | optional | Compress the data with zlib (default no). |
Call graph
encode_compressed_bytes
Compress (zlib) and encode (Base64) the bytes of a dataarray.
As the uncompressed encoding, with a UInt32 header the uncompressed data are limited to 2 GiB (larger ones stop the execution with an explicit error, see bytes_count).
Returns: character(len=:)
fortran
function encode_compressed_bytes(bytes, is_uint64) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
bytes | integer(kind=c_signed_char) | in | Data bytes. | |
is_uint64 | logical | in | Use a UInt64 header (UInt32 otherwise). |
Call graph
encode_compressed_blocks
Encode (Base64) zlib compressed data: the VTK header and the compressed blocks, as two separate base64 streams.
The header words (number of blocks, block size, last block size, compressed size of each block) are written as UInt32 or UInt64, as the header type of the file.
Returns: character(len=:)
fortran
function encode_compressed_blocks(header, blocks, is_uint64) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
header | integer(kind=I8P) | in | VTK header of the compressed data. | |
blocks | integer(kind=c_signed_char) | in | Compressed blocks. | |
is_uint64 | logical | in | Use a UInt64 header (UInt32 otherwise). |
Call graph