NCEPLIBS-g2  3.4.5
re_alloc Module Reference

This module contains three subroutines to reorganize the integer, real and character data in memory into one dimensional array and back to memory. More...

Data Types

interface  realloc
 

Functions/Subroutines

subroutine realloc_c1 (c, n, m, istat)
 This subroutine reorganize character type data in memory into one one dimensional array. More...
 
subroutine realloc_i (c, n, m, istat)
 This subroutine reorganize integer type data in memory into one one dimensional array. More...
 
subroutine realloc_r (c, n, m, istat)
 This subroutine reorganize real type data in memory into one one dimensional array. More...
 

Detailed Description

This module contains three subroutines to reorganize the integer, real and character data in memory into one dimensional array and back to memory.

Author
Stephen Gilbert
Date
2000-10-01

Function/Subroutine Documentation

◆ realloc_c1()

subroutine re_alloc::realloc_c1 ( character(len=1), dimension(:), pointer  c,
integer, intent(in)  n,
integer, intent(in)  m,
integer, intent(out)  istat 
)

This subroutine reorganize character type data in memory into one one dimensional array.

Parameters
[in,out]cpointer for data in memory.
[in]ndimension for data in memory.
[in]mdimension for allocatable array.
[out]istatscalar INTEGER variable for allocate.
Author
Stephen Gilbert
Date
2000-10-01

Definition at line 49 of file realloc.f.

◆ realloc_i()

subroutine re_alloc::realloc_i ( integer, dimension(:), pointer  c,
integer, intent(in)  n,
integer, intent(in)  m,
integer, intent(out)  istat 
)

This subroutine reorganize integer type data in memory into one one dimensional array.

Parameters
[in,out]cpointer for data in memory.
[in]ndimension for data in memory.
[in]mdimension for allocatable array.
[out]istatscalar INTEGER variable for allocate.
Author
Stephen Gilbert
Date
2000-10-01

Definition at line 133 of file realloc.f.

◆ realloc_r()

subroutine re_alloc::realloc_r ( real, dimension(:), pointer  c,
integer, intent(in)  n,
integer, intent(in)  m,
integer, intent(out)  istat 
)

This subroutine reorganize real type data in memory into one one dimensional array.

Parameters
[in,out]cpointer for data in memory.
[in]ndimension for data in memory.
[in]mdimension for allocatable array.
[out]istatscalar INTEGER variable for allocate.
Author
Stephen Gilbert
Date
2000-10-01

Definition at line 91 of file realloc.f.