34 INTEGER,
INTENT(IN) :: len_frm,
len_to
36 CHARACTER( len_frm),
INTENT(IN) :: str_frm
37 CHARACTER( len_to),
INTENT(OUT) ::
str_to
45 CHARACTER,
POINTER :: p(:)
46 INTEGER,
INTENT(IN) :: tonull
47 INTEGER,
INTENT(IN) ::
n
48 CHARACTER,
TARGET ::
x(
n)
50 IF ( tonull /= 0)
THEN
63 INTEGER,
INTENT(IN) :: tonull
66 IF ( tonull /= 0)
THEN
78 INTEGER,
POINTER :: p(:)
79 INTEGER,
INTENT(IN) :: tonull
80 INTEGER,
INTENT(IN) ::
n
81 INTEGER,
TARGET ::
x(
n)
83 IF ( tonull /= 0)
THEN
95 INTEGER,
POINTER :: p(:, :)
96 INTEGER,
INTENT(IN) :: tonull
97 INTEGER,
INTENT(IN) :: n1, n2
98 INTEGER,
TARGET ::
x(n1, n2)
100 IF ( tonull /= 0)
THEN
112 INTEGER,
POINTER :: p(:, :, :)
113 INTEGER,
INTENT(IN) :: tonull
114 INTEGER,
INTENT(IN) :: n1, n2, n3
115 INTEGER,
TARGET ::
x(n1, n2, n3)
117 IF ( tonull /= 0)
THEN
131 SUBROUTINE com_map_cptr_flt( x, y)
132 REAL,
INTENT(INOUT) ::
x,
y
133 END SUBROUTINE com_map_cptr_flt
137 INTEGER,
INTENT(IN) :: tonull
140 IF ( tonull /= 0)
THEN
152 REAL,
POINTER :: p(:)
153 INTEGER,
INTENT(IN) :: tonull
154 INTEGER,
INTENT(IN) ::
n
157 IF ( tonull /= 0)
THEN
169 REAL,
POINTER :: p(:, :)
170 INTEGER,
INTENT(IN) :: tonull
171 INTEGER,
INTENT(IN) :: n1, n2
172 REAL,
TARGET ::
x(n1, n2)
174 IF ( tonull /= 0)
THEN
186 REAL,
POINTER :: p(:, :, :)
187 INTEGER,
INTENT(IN) :: tonull
188 INTEGER,
INTENT(IN) :: n1, n2, n3
189 REAL,
TARGET ::
x(n1, n2, n3)
191 IF ( tonull /= 0)
THEN
205 SUBROUTINE com_map_cptr_dbl( x, y)
206 DOUBLE PRECISION,
INTENT(INOUT) ::
x,
y
207 END SUBROUTINE com_map_cptr_dbl
210 DOUBLE PRECISION,
POINTER :: p
211 INTEGER,
INTENT(IN) :: tonull
212 DOUBLE PRECISION,
TARGET ::
x
214 IF ( tonull /= 0)
THEN
226 DOUBLE PRECISION,
POINTER :: p(:)
227 INTEGER,
INTENT(IN) :: tonull
228 INTEGER,
INTENT(IN) ::
n
229 DOUBLE PRECISION,
TARGET ::
x(
n)
231 IF ( tonull /= 0)
THEN
243 DOUBLE PRECISION,
POINTER :: p(:, :)
244 INTEGER,
INTENT(IN) :: tonull
245 INTEGER,
INTENT(IN) :: n1, n2
246 DOUBLE PRECISION,
TARGET ::
x(n1, n2)
248 IF ( tonull /= 0)
THEN
260 DOUBLE PRECISION,
POINTER :: p(:, :, :)
261 INTEGER,
INTENT(IN) :: tonull
262 INTEGER,
INTENT(IN) :: n1, n2, n3
263 DOUBLE PRECISION,
TARGET ::
x(n1, n2, n3)
265 IF ( tonull /= 0)
THEN
277 SUBROUTINE com_map_cptr_chr( x, y)
278 CHARACTER,
INTENT(INOUT) ::
x,
y
279 END SUBROUTINE com_map_cptr_chr
282 CHARACTER,
POINTER :: p
283 CHARACTER,
TARGET ::
x
285 IF ( .NOT.
ASSOCIATED( p))
THEN
286 CALL com_map_cptr_chr(
x,
x)
288 CALL com_map_cptr_chr( p,
x)
296 CHARACTER,
POINTER :: p(:)
297 CHARACTER,
TARGET ::
x
299 IF ( .NOT.
ASSOCIATED( p))
THEN
300 CALL com_map_cptr(
x,
x)
302 CALL com_map_cptr( p(lbound(p,1)),
x)
311 SUBROUTINE com_map_cptr_int( x, y)
312 INTEGER,
INTENT(INOUT) ::
x,
y
313 END SUBROUTINE com_map_cptr_int
316 INTEGER,
POINTER :: p
319 IF ( .NOT.
ASSOCIATED( p))
THEN
320 CALL com_map_cptr_int(
x,
x)
322 CALL com_map_cptr_int( p,
x)
330 INTEGER,
POINTER :: p(:)
333 IF ( .NOT.
ASSOCIATED( p))
THEN
334 CALL com_map_cptr(
x,
x)
336 CALL com_map_cptr( p(lbound(p,1)),
x)
344 INTEGER,
POINTER :: p(:,:)
347 IF ( .NOT.
ASSOCIATED( p))
THEN
348 CALL com_map_cptr(
x,
x)
350 CALL com_map_cptr( p(lbound(p,1),lbound(p,2)),
x)
358 INTEGER,
POINTER :: p(:,:,:)
361 IF ( .NOT.
ASSOCIATED( p))
THEN
362 CALL com_map_cptr(
x,
x)
364 CALL com_map_cptr( p(lbound(p,1),lbound(p,2),lbound(p,3)),
x)
375 IF ( .NOT.
ASSOCIATED( p))
THEN
376 CALL com_map_cptr_flt(
x,
x)
378 CALL com_map_cptr_flt( p,
x)
386 REAL,
POINTER :: p(:)
389 IF ( .NOT.
ASSOCIATED( p))
THEN
390 CALL com_map_cptr(
x,
x)
392 CALL com_map_cptr( p(lbound(p,1)),
x)
400 REAL,
POINTER :: p(:,:)
403 IF ( .NOT.
ASSOCIATED( p))
THEN
404 CALL com_map_cptr(
x,
x)
406 CALL com_map_cptr( p(lbound(p,1),lbound(p,2)),
x)
414 REAL,
POINTER :: p(:,:,:)
417 IF ( .NOT.
ASSOCIATED( p))
THEN
418 CALL com_map_cptr(
x,
x)
420 CALL com_map_cptr( p(lbound(p,1),lbound(p,2),lbound(p,3)),
x)
428 DOUBLE PRECISION,
POINTER :: p
429 DOUBLE PRECISION,
TARGET ::
x
431 IF ( .NOT.
ASSOCIATED( p))
THEN
432 CALL com_map_cptr_dbl(
x,
x)
434 CALL com_map_cptr_dbl( p,
x)
442 DOUBLE PRECISION,
POINTER :: p(:)
443 DOUBLE PRECISION,
TARGET ::
x
445 IF ( .NOT.
ASSOCIATED( p))
THEN
446 CALL com_map_cptr(
x,
x)
448 CALL com_map_cptr( p(lbound(p,1)),
x)
456 DOUBLE PRECISION,
POINTER :: p(:,:)
457 DOUBLE PRECISION,
TARGET ::
x
459 IF ( .NOT.
ASSOCIATED( p))
THEN
460 CALL com_map_cptr(
x,
x)
462 CALL com_map_cptr( p(lbound(p,1),lbound(p,2)),
x)
470 DOUBLE PRECISION,
POINTER :: p(:,:,:)
471 DOUBLE PRECISION,
TARGET ::
x
473 IF ( .NOT.
ASSOCIATED( p))
THEN
474 CALL com_map_cptr(
x,
x)
476 CALL com_map_cptr( p(lbound(p,1),lbound(p,2),lbound(p,3)),
x)
486 TYPE(data),
ALLOCATABLE,
TARGET :: dat(:)
487 INTEGER,
ALLOCATABLE,
TARGET ::
a(:)
492 wrapper%p_data => dat(1)
493 wrapper%p_data%a =>
a
494 wrapper%ibegin = 333331
495 wrapper%iend = 333332
496 wrapper%p_data%ibegin = 333333
497 wrapper%p_data%iend = 333334
510 CHARACTER(17) :: str1
511 CHARACTER(33) :: str2
512 INTEGER,
POINTER :: ptr1(:)
513 REAL,
POINTER :: ptr2(:)
516 SUBROUTINE com_chkptr_c( stage, str1, ptr1, str2, ptr2)
517 CHARACTER(17),
INTENT(IN) :: str1
518 CHARACTER(33),
INTENT(IN) :: str2
519 INTEGER,
POINTER :: ptr1(:)
520 REAL,
POINTER :: ptr2(:)
521 INTEGER,
INTENT(IN) :: stage
522 END SUBROUTINE com_chkptr_c
527 CALL com_chkptr_c( 1, str1, ptr1, str2, ptr2)
532 CHARACTER(17),
INTENT(IN) :: str1
533 CHARACTER(33),
INTENT(IN) :: str2
534 INTEGER,
POINTER :: ptr1(:)
535 REAL,
POINTER :: ptr2(:)
538 SUBROUTINE com_chkptr_c( stage, str2, ptr2, str1, ptr1)
539 CHARACTER(17),
INTENT(IN) :: str1
540 CHARACTER(33),
INTENT(IN) :: str2
541 INTEGER,
POINTER :: ptr1(:)
542 REAL,
POINTER :: ptr2(:)
543 INTEGER,
INTENT(IN) :: stage
544 END SUBROUTINE com_chkptr_c
550 CALL com_chkptr_c( 2, str2, ptr2, str1, ptr1)
void const int char * str_to
void int int REAL REAL * y
void const int char const int * len_to
subroutine com_getptr_int0d(p, x)
subroutine com_getptr_dbl2d(p, x)
subroutine com_settypeinfo(wrapper)
subroutine com_getptr_flt3d(p, x)
subroutine com_getptr_chr0d(p, x)
subroutine com_getptr_int1d(p, x)
subroutine com_getptr_chr1d(p, x)
subroutine com_mapptr_flt2d(p, tonull, x, n1, n2)
subroutine com_mapptr_int0d(p, tonull, x)
subroutine com_getptr_dbl1d(p, x)
subroutine com_getptr_dbl0d(p, x)
subroutine com_getptr_int3d(p, x)
subroutine com_set_false(i)
subroutine com_copy_string(str_frm, len_frm, str_to, len_to)
subroutine com_mapptr_flt0d(p, tonull, x)
subroutine com_mapptr_int2d(p, tonull, x, n1, n2)
subroutine com_getptr_flt1d(p, x)
subroutine com_mapptr_chr1d(p, tonull, x, n)
subroutine com_mapptr_dbl3d(p, tonull, x, n1, n2, n3)
subroutine com_mapptr_flt3d(p, tonull, x, n1, n2, n3)
subroutine com_mapptr_dbl0d(p, tonull, x)
subroutine com_set_true(i)
subroutine com_getptr_flt2d(p, x)
subroutine com_getptr_int2d(p, x)
subroutine com_getptr_dbl3d(p, x)
subroutine com_mapptr_flt1d(p, tonull, x, n)
subroutine com_chkptr_end(str1, ptr1, str2, ptr2)
subroutine com_mapptr_int1d(p, tonull, x, n)
subroutine com_mapptr_int3d(p, tonull, x, n1, n2, n3)
subroutine com_mapptr_dbl2d(p, tonull, x, n1, n2)
subroutine com_getptr_flt0d(p, x)
subroutine com_mapptr_dbl1d(p, tonull, x, n)
subroutine com_chkptr_begin