29 class(*),
intent(in) :: sdata
30 character(len=*),
intent(inout) :: type_string
33 type is (
integer(kind=i4_kind))
34 call string_copy(type_string,
"int")
35 type is (
integer(kind=i8_kind))
36 call string_copy(type_string,
"i8_kind")
37 type is (real(kind=r4_kind))
38 call string_copy(type_string,
"float")
39 type is (real(kind=r8_kind))
40 call string_copy(type_string,
"double")
41 type is (
character(len=*))
42 call string_copy(type_string,
"char")
44 call error(
"unsupported type.")
53 class(*),
dimension(:),
intent(in) :: sdata
54 character(len=*),
intent(inout) :: type_string
57 type is (
integer(kind=i4_kind))
58 call string_copy(type_string,
"int")
59 type is (
integer(kind=i8_kind))
60 call string_copy(type_string,
"i8_kind")
61 type is (real(kind=r4_kind))
62 call string_copy(type_string,
"float")
63 type is (real(kind=r8_kind))
64 call string_copy(type_string,
"double")
65 type is (
character(len=*))
66 call string_copy(type_string,
"char")
68 call error(
"unsupported type.")
77 class(*),
dimension(:,:),
intent(in) :: sdata
78 character(len=*),
intent(inout) :: type_string
81 type is (
integer(kind=i4_kind))
82 call string_copy(type_string,
"int")
83 type is (
integer(kind=i8_kind))
84 call string_copy(type_string,
"i8_kind")
85 type is (real(kind=r4_kind))
86 call string_copy(type_string,
"float")
87 type is (real(kind=r8_kind))
88 call string_copy(type_string,
"double")
89 type is (
character(len=*))
90 call string_copy(type_string,
"char")
92 call error(
"unsupported type.")
101 class(*),
dimension(:,:,:),
intent(in) :: sdata
102 character(len=*),
intent(inout) :: type_string
105 type is (
integer(kind=i4_kind))
106 call string_copy(type_string,
"int")
107 type is (
integer(kind=i8_kind))
108 call string_copy(type_string,
"i8_kind")
109 type is (real(kind=r4_kind))
110 call string_copy(type_string,
"float")
111 type is (real(kind=r8_kind))
112 call string_copy(type_string,
"double")
113 type is (
character(len=*))
114 call string_copy(type_string,
"char")
116 call error(
"unsupported type.")
125 class(*),
dimension(:,:,:,:),
intent(in) :: sdata
126 character(len=*),
intent(inout) :: type_string
129 type is (
integer(kind=i4_kind))
130 call string_copy(type_string,
"int")
131 type is (
integer(kind=i8_kind))
132 call string_copy(type_string,
"i8_kind")
133 type is (real(kind=r4_kind))
134 call string_copy(type_string,
"float")
135 type is (real(kind=r8_kind))
136 call string_copy(type_string,
"double")
137 type is (
character(len=*))
138 call string_copy(type_string,
"char")
140 call error(
"unsupported type.")
149 class(*),
dimension(:,:,:,:,:),
intent(in) :: sdata
150 character(len=*),
intent(inout) :: type_string
153 type is (
integer(kind=i4_kind))
154 call string_copy(type_string,
"int")
155 type is (
integer(kind=i8_kind))
156 call string_copy(type_string,
"i8_kind")
157 type is (real(kind=r4_kind))
158 call string_copy(type_string,
"float")
159 type is (real(kind=r8_kind))
160 call string_copy(type_string,
"double")
161 type is (
character(len=*))
162 call string_copy(type_string,
"char")
164 call error(
"unsupported type.")
subroutine get_data_type_string_4d(sdata, type_string)
Return a string describing the input data's type.
subroutine get_data_type_string_5d(sdata, type_string)
Return a string describing the input data's type.
subroutine get_data_type_string_1d(sdata, type_string)
Return a string describing the input data's type.
subroutine get_data_type_string_0d(sdata, type_string)
Return a string describing the input data's type.
subroutine get_data_type_string_3d(sdata, type_string)
Return a string describing the input data's type.
subroutine get_data_type_string_2d(sdata, type_string)
Return a string describing the input data's type.