|
subroutine | deallocate_logical (sclr) |
| Deallocate a logical scalar. More...
|
|
subroutine | deallocate_str (sclr, name, mem_path) |
| Deallocate a variable-length character string. More...
|
|
subroutine | deallocate_str1d (astr1d, name, mem_path) |
| Deallocate an array of defined-length character strings. More...
|
|
subroutine | deallocate_charstr1d (astr1d, name, mem_path) |
| Deallocate an array of deferred-length character strings. More...
|
|
subroutine | deallocate_int (sclr) |
| Deallocate a integer scalar. More...
|
|
subroutine | deallocate_int1d (aint, name, mem_path) |
| Deallocate a 1-dimensional integer array. More...
|
|
subroutine | deallocate_int2d (aint, name, mem_path) |
| Deallocate a 2-dimensional integer array. More...
|
|
subroutine | deallocate_int3d (aint, name, mem_path) |
| Deallocate a 3-dimensional integer array. More...
|
|
subroutine | deallocate_dbl (sclr) |
| Deallocate a real scalar. More...
|
|
subroutine | deallocate_dbl1d (adbl, name, mem_path) |
| Deallocate a 1-dimensional real array. More...
|
|
subroutine | deallocate_dbl2d (adbl, name, mem_path) |
| Deallocate a 2-dimensional real array. More...
|
|
subroutine | deallocate_dbl3d (adbl, name, mem_path) |
| Deallocate a 3-dimensional real array. More...
|
|
Definition at line 122 of file MemoryManager.f90.
◆ deallocate_charstr1d()
subroutine memorymanagermodule::mem_deallocate::deallocate_charstr1d |
( |
type(characterstringtype), dimension(:), intent(inout), pointer, contiguous |
astr1d, |
|
|
character(len=*), intent(in), optional |
name, |
|
|
character(len=*), intent(in), optional |
mem_path |
|
) |
| |
|
private |
- Parameters
-
[in,out] | astr1d | array of strings |
[in] | name | variable name |
[in] | mem_path | path where variable is stored |
Definition at line 2003 of file MemoryManager.f90.
2004 type(CharacterStringType),
dimension(:),
pointer,
contiguous, &
2005 intent(inout) :: astr1d
2006 character(len=*),
optional,
intent(in) :: name
2007 character(len=*),
optional,
intent(in) :: mem_path
2009 type(MemoryType),
pointer :: mt
2010 logical(LGP) :: found
2011 type(MemoryContainerIteratorType),
allocatable :: itr
2016 if (
present(name) .and.
present(mem_path))
then
2017 call get_from_memorystore(name, mem_path, mt, found)
2018 nullify (mt%acharstr1d)
2020 itr = memorystore%iterator()
2021 do while (itr%has_next())
2024 if (
associated(mt%acharstr1d, astr1d))
then
2025 nullify (mt%acharstr1d)
2031 if (.not. found .and.
size(astr1d) > 0)
then
2032 call store_error(
'programming error in deallocate_charstr1d', &
◆ deallocate_dbl()
subroutine memorymanagermodule::mem_deallocate::deallocate_dbl |
( |
real(dp), intent(inout), pointer |
sclr | ) |
|
|
private |
- Parameters
-
[in,out] | sclr | real variable to deallocate |
Definition at line 2108 of file MemoryManager.f90.
2109 real(DP),
pointer,
intent(inout) :: sclr
2111 class(MemoryType),
pointer :: mt
2112 logical(LGP) :: found
2113 type(MemoryContainerIteratorType),
allocatable :: itr
2116 itr = memorystore%iterator()
2117 do while (itr%has_next())
2120 if (
associated(mt%dblsclr, sclr))
then
2121 nullify (mt%dblsclr)
2126 if (.not. found)
then
2127 call store_error(
'Programming error in deallocate_dbl.', terminate=.true.)
◆ deallocate_dbl1d()
subroutine memorymanagermodule::mem_deallocate::deallocate_dbl1d |
( |
real(dp), dimension(:), intent(inout), pointer, contiguous |
adbl, |
|
|
character(len=*), optional |
name, |
|
|
character(len=*), optional |
mem_path |
|
) |
| |
|
private |
- Parameters
-
[in,out] | adbl | 1d real array to deallocate |
| name | variable name |
| mem_path | path where variable is stored |
Definition at line 2259 of file MemoryManager.f90.
2260 real(DP),
dimension(:),
pointer,
contiguous,
intent(inout) :: adbl
2261 character(len=*),
optional :: name
2262 character(len=*),
optional :: mem_path
2264 type(MemoryType),
pointer :: mt
2265 logical(LGP) :: found
2266 type(MemoryContainerIteratorType),
allocatable :: itr
2271 if (
present(name) .and.
present(mem_path))
then
2272 call get_from_memorystore(name, mem_path, mt, found)
2275 itr = memorystore%iterator()
2276 do while (itr%has_next())
2279 if (
associated(mt%adbl1d, adbl))
then
2286 if (.not. found .and.
size(adbl) > 0)
then
2287 call store_error(
'programming error in deallocate_dbl1d', terminate=.true.)
◆ deallocate_dbl2d()
subroutine memorymanagermodule::mem_deallocate::deallocate_dbl2d |
( |
real(dp), dimension(:, :), intent(inout), pointer, contiguous |
adbl, |
|
|
character(len=*), optional |
name, |
|
|
character(len=*), optional |
mem_path |
|
) |
| |
|
private |
- Parameters
-
[in,out] | adbl | 2d real array to deallocate |
| name | variable name |
| mem_path | path where variable is stored |
Definition at line 2299 of file MemoryManager.f90.
2300 real(DP),
dimension(:, :),
pointer,
contiguous,
intent(inout) :: adbl
2301 character(len=*),
optional :: name
2302 character(len=*),
optional :: mem_path
2304 type(MemoryType),
pointer :: mt
2305 logical(LGP) :: found
2306 type(MemoryContainerIteratorType),
allocatable :: itr
2311 if (
present(name) .and.
present(mem_path))
then
2312 call get_from_memorystore(name, mem_path, mt, found)
2315 itr = memorystore%iterator()
2316 do while (itr%has_next())
2319 if (
associated(mt%adbl2d, adbl))
then
2326 if (.not. found .and.
size(adbl) > 0)
then
2327 call store_error(
'programming error in deallocate_dbl2d', terminate=.true.)
◆ deallocate_dbl3d()
subroutine memorymanagermodule::mem_deallocate::deallocate_dbl3d |
( |
real(dp), dimension(:, :, :), intent(inout), pointer, contiguous |
adbl, |
|
|
character(len=*), optional |
name, |
|
|
character(len=*), optional |
mem_path |
|
) |
| |
|
private |
- Parameters
-
[in,out] | adbl | 3d real array to deallocate |
| name | variable name |
| mem_path | path where variable is stored |
Definition at line 2339 of file MemoryManager.f90.
2340 real(DP),
dimension(:, :, :),
pointer,
contiguous,
intent(inout) :: adbl
2341 character(len=*),
optional :: name
2342 character(len=*),
optional :: mem_path
2344 type(MemoryType),
pointer :: mt
2345 logical(LGP) :: found
2346 type(MemoryContainerIteratorType),
allocatable :: itr
2351 if (
present(name) .and.
present(mem_path))
then
2352 call get_from_memorystore(name, mem_path, mt, found)
2355 itr = memorystore%iterator()
2356 do while (itr%has_next())
2359 if (
associated(mt%adbl3d, adbl))
then
2366 if (.not. found .and.
size(adbl) > 0)
then
2367 call store_error(
'programming error in deallocate_dbl3d', terminate=.true.)
◆ deallocate_int()
subroutine memorymanagermodule::mem_deallocate::deallocate_int |
( |
integer(i4b), intent(inout), pointer |
sclr | ) |
|
|
private |
- Parameters
-
[in,out] | sclr | integer variable to deallocate |
Definition at line 2077 of file MemoryManager.f90.
2078 integer(I4B),
pointer,
intent(inout) :: sclr
2080 class(MemoryType),
pointer :: mt
2081 logical(LGP) :: found
2082 type(MemoryContainerIteratorType),
allocatable :: itr
2085 itr = memorystore%iterator()
2086 do while (itr%has_next())
2089 if (
associated(mt%intsclr, sclr))
then
2090 nullify (mt%intsclr)
2095 if (.not. found)
then
2096 call store_error(
'Programming error in deallocate_int.', terminate=.true.)
◆ deallocate_int1d()
subroutine memorymanagermodule::mem_deallocate::deallocate_int1d |
( |
integer(i4b), dimension(:), intent(inout), pointer, contiguous |
aint, |
|
|
character(len=*), optional |
name, |
|
|
character(len=*), optional |
mem_path |
|
) |
| |
|
private |
- Parameters
-
[in,out] | aint | 1d integer array to deallocate |
| name | variable name |
| mem_path | path where variable is stored |
Definition at line 2139 of file MemoryManager.f90.
2140 integer(I4B),
dimension(:),
pointer,
contiguous,
intent(inout) :: aint
2141 character(len=*),
optional :: name
2142 character(len=*),
optional :: mem_path
2144 type(MemoryType),
pointer :: mt
2145 logical(LGP) :: found
2146 type(MemoryContainerIteratorType),
allocatable :: itr
2151 if (
present(name) .and.
present(mem_path))
then
2152 call get_from_memorystore(name, mem_path, mt, found)
2155 itr = memorystore%iterator()
2156 do while (itr%has_next())
2159 if (
associated(mt%aint1d, aint))
then
2166 if (.not. found .and.
size(aint) > 0)
then
2167 call store_error(
'programming error in deallocate_int1d', terminate=.true.)
◆ deallocate_int2d()
subroutine memorymanagermodule::mem_deallocate::deallocate_int2d |
( |
integer(i4b), dimension(:, :), intent(inout), pointer, contiguous |
aint, |
|
|
character(len=*), optional |
name, |
|
|
character(len=*), optional |
mem_path |
|
) |
| |
|
private |
- Parameters
-
[in,out] | aint | 2d integer array to deallocate |
| name | variable name |
| mem_path | path where variable is stored |
Definition at line 2179 of file MemoryManager.f90.
2180 integer(I4B),
dimension(:, :),
pointer,
contiguous,
intent(inout) :: aint
2181 character(len=*),
optional :: name
2182 character(len=*),
optional :: mem_path
2184 type(MemoryType),
pointer :: mt
2185 logical(LGP) :: found
2186 type(MemoryContainerIteratorType),
allocatable :: itr
2191 if (
present(name) .and.
present(mem_path))
then
2192 call get_from_memorystore(name, mem_path, mt, found)
2195 itr = memorystore%iterator()
2196 do while (itr%has_next())
2199 if (
associated(mt%aint2d, aint))
then
2206 if (.not. found .and.
size(aint) > 0)
then
2207 call store_error(
'programming error in deallocate_int2d', terminate=.true.)
◆ deallocate_int3d()
subroutine memorymanagermodule::mem_deallocate::deallocate_int3d |
( |
integer(i4b), dimension(:, :, :), intent(inout), pointer, contiguous |
aint, |
|
|
character(len=*), optional |
name, |
|
|
character(len=*), optional |
mem_path |
|
) |
| |
|
private |
- Parameters
-
[in,out] | aint | 3d integer array to deallocate |
| name | variable name |
| mem_path | path where variable is stored |
Definition at line 2219 of file MemoryManager.f90.
2220 integer(I4B),
dimension(:, :, :),
pointer,
contiguous,
intent(inout) :: aint
2221 character(len=*),
optional :: name
2222 character(len=*),
optional :: mem_path
2224 type(MemoryType),
pointer :: mt
2225 logical(LGP) :: found
2226 type(MemoryContainerIteratorType),
allocatable :: itr
2231 if (
present(name) .and.
present(mem_path))
then
2232 call get_from_memorystore(name, mem_path, mt, found)
2235 itr = memorystore%iterator()
2236 do while (itr%has_next())
2239 if (
associated(mt%aint3d, aint))
then
2246 if (.not. found .and.
size(aint) > 0)
then
2247 call store_error(
'programming error in deallocate_int3d', terminate=.true.)
◆ deallocate_logical()
subroutine memorymanagermodule::mem_deallocate::deallocate_logical |
( |
logical(lgp), intent(inout), pointer |
sclr | ) |
|
|
private |
- Parameters
-
[in,out] | sclr | logical scalar to deallocate |
Definition at line 2045 of file MemoryManager.f90.
2046 logical(LGP),
pointer,
intent(inout) :: sclr
2048 class(MemoryType),
pointer :: mt
2049 logical(LGP) :: found
2050 type(MemoryContainerIteratorType),
allocatable :: itr
2053 itr = memorystore%iterator()
2054 do while (itr%has_next())
2057 if (
associated(mt%logicalsclr, sclr))
then
2058 nullify (mt%logicalsclr)
2063 if (.not. found)
then
2064 call store_error(
'programming error in deallocate_logical', &
◆ deallocate_str()
subroutine memorymanagermodule::mem_deallocate::deallocate_str |
( |
character(len=*), intent(inout), pointer |
sclr, |
|
|
character(len=*), intent(in), optional |
name, |
|
|
character(len=*), intent(in), optional |
mem_path |
|
) |
| |
|
private |
- Parameters
-
[in,out] | sclr | pointer to string |
[in] | name | variable name |
[in] | mem_path | path where variable is stored |
Definition at line 1923 of file MemoryManager.f90.
1924 character(len=*),
pointer,
intent(inout) :: sclr
1925 character(len=*),
intent(in),
optional :: name
1926 character(len=*),
intent(in),
optional :: mem_path
1928 type(MemoryType),
pointer :: mt
1929 logical(LGP) :: found
1930 type(MemoryContainerIteratorType),
allocatable :: itr
1933 if (
present(name) .and.
present(mem_path))
then
1934 call get_from_memorystore(name, mem_path, mt, found)
1935 nullify (mt%strsclr)
1937 itr = memorystore%iterator()
1938 do while (itr%has_next())
1941 if (
associated(mt%strsclr, sclr))
then
1942 nullify (mt%strsclr)
1948 if (.not. found)
then
1949 call store_error(
'Programming error in deallocate_str.', terminate=.true.)
◆ deallocate_str1d()
subroutine memorymanagermodule::mem_deallocate::deallocate_str1d |
( |
character(len=*), dimension(:), intent(inout), pointer, contiguous |
astr1d, |
|
|
character(len=*), intent(in), optional |
name, |
|
|
character(len=*), intent(in), optional |
mem_path |
|
) |
| |
|
private |
- Parameters
-
[in,out] | astr1d | array of strings |
[in] | name | variable name |
[in] | mem_path | path where variable is stored |
Definition at line 1962 of file MemoryManager.f90.
1963 character(len=*),
dimension(:),
pointer,
contiguous,
intent(inout) :: astr1d
1964 character(len=*),
optional,
intent(in) :: name
1965 character(len=*),
optional,
intent(in) :: mem_path
1967 type(MemoryType),
pointer :: mt
1968 logical(LGP) :: found
1969 type(MemoryContainerIteratorType),
allocatable :: itr
1974 if (
present(name) .and.
present(mem_path))
then
1975 call get_from_memorystore(name, mem_path, mt, found)
1978 itr = memorystore%iterator()
1979 do while (itr%has_next())
1982 if (
associated(mt%astr1d, astr1d))
then
1989 if (.not. found .and.
size(astr1d) > 0)
then
1990 call store_error(
'programming error in deallocate_str1d', terminate=.true.)
The documentation for this interface was generated from the following file: