|
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 2005 of file MemoryManager.f90.
2006 type(CharacterStringType),
dimension(:),
pointer,
contiguous, &
2007 intent(inout) :: astr1d
2008 character(len=*),
optional,
intent(in) :: name
2009 character(len=*),
optional,
intent(in) :: mem_path
2011 type(MemoryType),
pointer :: mt
2012 logical(LGP) :: found
2013 type(MemoryContainerIteratorType),
allocatable :: itr
2019 if (
present(name) .and.
present(mem_path))
then
2020 call get_from_memorystore(name, mem_path, mt, found)
2021 nullify (mt%acharstr1d)
2023 itr = memorystore%iterator()
2024 do while (itr%has_next())
2027 if (
associated(mt%acharstr1d, astr1d))
then
2028 nullify (mt%acharstr1d)
2034 if (.not. found .and.
size(astr1d) > 0)
then
2035 call store_error(
'programming error in deallocate_charstr1d', &
2039 do n = 1,
size(astr1d)
2040 call astr1d(n)%destroy()
◆ 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 2114 of file MemoryManager.f90.
2115 real(DP),
pointer,
intent(inout) :: sclr
2117 class(MemoryType),
pointer :: mt
2118 logical(LGP) :: found
2119 type(MemoryContainerIteratorType),
allocatable :: itr
2122 itr = memorystore%iterator()
2123 do while (itr%has_next())
2126 if (
associated(mt%dblsclr, sclr))
then
2127 nullify (mt%dblsclr)
2132 if (.not. found)
then
2133 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 2265 of file MemoryManager.f90.
2266 real(DP),
dimension(:),
pointer,
contiguous,
intent(inout) :: adbl
2267 character(len=*),
optional :: name
2268 character(len=*),
optional :: mem_path
2270 type(MemoryType),
pointer :: mt
2271 logical(LGP) :: found
2272 type(MemoryContainerIteratorType),
allocatable :: itr
2277 if (
present(name) .and.
present(mem_path))
then
2278 call get_from_memorystore(name, mem_path, mt, found)
2281 itr = memorystore%iterator()
2282 do while (itr%has_next())
2285 if (
associated(mt%adbl1d, adbl))
then
2292 if (.not. found .and.
size(adbl) > 0)
then
2293 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 2305 of file MemoryManager.f90.
2306 real(DP),
dimension(:, :),
pointer,
contiguous,
intent(inout) :: adbl
2307 character(len=*),
optional :: name
2308 character(len=*),
optional :: mem_path
2310 type(MemoryType),
pointer :: mt
2311 logical(LGP) :: found
2312 type(MemoryContainerIteratorType),
allocatable :: itr
2317 if (
present(name) .and.
present(mem_path))
then
2318 call get_from_memorystore(name, mem_path, mt, found)
2321 itr = memorystore%iterator()
2322 do while (itr%has_next())
2325 if (
associated(mt%adbl2d, adbl))
then
2332 if (.not. found .and.
size(adbl) > 0)
then
2333 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 2345 of file MemoryManager.f90.
2346 real(DP),
dimension(:, :, :),
pointer,
contiguous,
intent(inout) :: adbl
2347 character(len=*),
optional :: name
2348 character(len=*),
optional :: mem_path
2350 type(MemoryType),
pointer :: mt
2351 logical(LGP) :: found
2352 type(MemoryContainerIteratorType),
allocatable :: itr
2357 if (
present(name) .and.
present(mem_path))
then
2358 call get_from_memorystore(name, mem_path, mt, found)
2361 itr = memorystore%iterator()
2362 do while (itr%has_next())
2365 if (
associated(mt%adbl3d, adbl))
then
2372 if (.not. found .and.
size(adbl) > 0)
then
2373 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 2083 of file MemoryManager.f90.
2084 integer(I4B),
pointer,
intent(inout) :: sclr
2086 class(MemoryType),
pointer :: mt
2087 logical(LGP) :: found
2088 type(MemoryContainerIteratorType),
allocatable :: itr
2091 itr = memorystore%iterator()
2092 do while (itr%has_next())
2095 if (
associated(mt%intsclr, sclr))
then
2096 nullify (mt%intsclr)
2101 if (.not. found)
then
2102 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 2145 of file MemoryManager.f90.
2146 integer(I4B),
dimension(:),
pointer,
contiguous,
intent(inout) :: aint
2147 character(len=*),
optional :: name
2148 character(len=*),
optional :: mem_path
2150 type(MemoryType),
pointer :: mt
2151 logical(LGP) :: found
2152 type(MemoryContainerIteratorType),
allocatable :: itr
2157 if (
present(name) .and.
present(mem_path))
then
2158 call get_from_memorystore(name, mem_path, mt, found)
2161 itr = memorystore%iterator()
2162 do while (itr%has_next())
2165 if (
associated(mt%aint1d, aint))
then
2172 if (.not. found .and.
size(aint) > 0)
then
2173 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 2185 of file MemoryManager.f90.
2186 integer(I4B),
dimension(:, :),
pointer,
contiguous,
intent(inout) :: aint
2187 character(len=*),
optional :: name
2188 character(len=*),
optional :: mem_path
2190 type(MemoryType),
pointer :: mt
2191 logical(LGP) :: found
2192 type(MemoryContainerIteratorType),
allocatable :: itr
2197 if (
present(name) .and.
present(mem_path))
then
2198 call get_from_memorystore(name, mem_path, mt, found)
2201 itr = memorystore%iterator()
2202 do while (itr%has_next())
2205 if (
associated(mt%aint2d, aint))
then
2212 if (.not. found .and.
size(aint) > 0)
then
2213 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 2225 of file MemoryManager.f90.
2226 integer(I4B),
dimension(:, :, :),
pointer,
contiguous,
intent(inout) :: aint
2227 character(len=*),
optional :: name
2228 character(len=*),
optional :: mem_path
2230 type(MemoryType),
pointer :: mt
2231 logical(LGP) :: found
2232 type(MemoryContainerIteratorType),
allocatable :: itr
2237 if (
present(name) .and.
present(mem_path))
then
2238 call get_from_memorystore(name, mem_path, mt, found)
2241 itr = memorystore%iterator()
2242 do while (itr%has_next())
2245 if (
associated(mt%aint3d, aint))
then
2252 if (.not. found .and.
size(aint) > 0)
then
2253 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 2051 of file MemoryManager.f90.
2052 logical(LGP),
pointer,
intent(inout) :: sclr
2054 class(MemoryType),
pointer :: mt
2055 logical(LGP) :: found
2056 type(MemoryContainerIteratorType),
allocatable :: itr
2059 itr = memorystore%iterator()
2060 do while (itr%has_next())
2063 if (
associated(mt%logicalsclr, sclr))
then
2064 nullify (mt%logicalsclr)
2069 if (.not. found)
then
2070 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 1925 of file MemoryManager.f90.
1926 character(len=*),
pointer,
intent(inout) :: sclr
1927 character(len=*),
intent(in),
optional :: name
1928 character(len=*),
intent(in),
optional :: mem_path
1930 type(MemoryType),
pointer :: mt
1931 logical(LGP) :: found
1932 type(MemoryContainerIteratorType),
allocatable :: itr
1935 if (
present(name) .and.
present(mem_path))
then
1936 call get_from_memorystore(name, mem_path, mt, found)
1937 nullify (mt%strsclr)
1939 itr = memorystore%iterator()
1940 do while (itr%has_next())
1943 if (
associated(mt%strsclr, sclr))
then
1944 nullify (mt%strsclr)
1950 if (.not. found)
then
1951 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 1964 of file MemoryManager.f90.
1965 character(len=*),
dimension(:),
pointer,
contiguous,
intent(inout) :: astr1d
1966 character(len=*),
optional,
intent(in) :: name
1967 character(len=*),
optional,
intent(in) :: mem_path
1969 type(MemoryType),
pointer :: mt
1970 logical(LGP) :: found
1971 type(MemoryContainerIteratorType),
allocatable :: itr
1976 if (
present(name) .and.
present(mem_path))
then
1977 call get_from_memorystore(name, mem_path, mt, found)
1980 itr = memorystore%iterator()
1981 do while (itr%has_next())
1984 if (
associated(mt%astr1d, astr1d))
then
1991 if (.not. found .and.
size(astr1d) > 0)
then
1992 call store_error(
'programming error in deallocate_str1d', terminate=.true.)
The documentation for this interface was generated from the following file: