|
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 121 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 2167 of file MemoryManager.f90.
2168 type(CharacterStringType),
dimension(:),
pointer,
contiguous, &
2169 intent(inout) :: astr1d
2170 character(len=*),
optional,
intent(in) :: name
2171 character(len=*),
optional,
intent(in) :: mem_path
2173 type(MemoryType),
pointer :: mt
2174 logical(LGP) :: found
2175 integer(I4B) :: ipos
2180 if (
present(name) .and.
present(mem_path))
then
2181 call get_from_memorylist(name, mem_path, mt, found)
2182 nullify (mt%acharstr1d)
2184 do ipos = 1, memorylist%count()
2185 mt => memorylist%Get(ipos)
2186 if (
associated(mt%acharstr1d, astr1d))
then
2187 nullify (mt%acharstr1d)
2193 if (.not. found .and.
size(astr1d) > 0)
then
2194 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 2275 of file MemoryManager.f90.
2276 real(DP),
pointer,
intent(inout) :: sclr
2278 class(MemoryType),
pointer :: mt
2279 logical(LGP) :: found
2280 integer(I4B) :: ipos
2283 do ipos = 1, memorylist%count()
2284 mt => memorylist%Get(ipos)
2285 if (
associated(mt%dblsclr, sclr))
then
2286 nullify (mt%dblsclr)
2291 if (.not. found)
then
2292 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 2430 of file MemoryManager.f90.
2431 real(DP),
dimension(:),
pointer,
contiguous,
intent(inout) :: adbl
2432 character(len=*),
optional :: name
2433 character(len=*),
optional :: mem_path
2435 type(MemoryType),
pointer :: mt
2436 logical(LGP) :: found
2437 integer(I4B) :: ipos
2442 if (
present(name) .and.
present(mem_path))
then
2443 call get_from_memorylist(name, mem_path, mt, found)
2446 do ipos = 1, memorylist%count()
2447 mt => memorylist%Get(ipos)
2448 if (
associated(mt%adbl1d, adbl))
then
2455 if (.not. found .and.
size(adbl) > 0)
then
2456 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 2471 of file MemoryManager.f90.
2472 real(DP),
dimension(:, :),
pointer,
contiguous,
intent(inout) :: adbl
2473 character(len=*),
optional :: name
2474 character(len=*),
optional :: mem_path
2476 type(MemoryType),
pointer :: mt
2477 logical(LGP) :: found
2478 integer(I4B) :: ipos
2483 if (
present(name) .and.
present(mem_path))
then
2484 call get_from_memorylist(name, mem_path, mt, found)
2487 do ipos = 1, memorylist%count()
2488 mt => memorylist%Get(ipos)
2489 if (
associated(mt%adbl2d, adbl))
then
2496 if (.not. found .and.
size(adbl) > 0)
then
2497 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 2512 of file MemoryManager.f90.
2513 real(DP),
dimension(:, :, :),
pointer,
contiguous,
intent(inout) :: adbl
2514 character(len=*),
optional :: name
2515 character(len=*),
optional :: mem_path
2517 type(MemoryType),
pointer :: mt
2518 logical(LGP) :: found
2519 integer(I4B) :: ipos
2524 if (
present(name) .and.
present(mem_path))
then
2525 call get_from_memorylist(name, mem_path, mt, found)
2528 do ipos = 1, memorylist%count()
2529 mt => memorylist%Get(ipos)
2530 if (
associated(mt%adbl3d, adbl))
then
2537 if (.not. found .and.
size(adbl) > 0)
then
2538 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 2243 of file MemoryManager.f90.
2244 integer(I4B),
pointer,
intent(inout) :: sclr
2246 class(MemoryType),
pointer :: mt
2247 logical(LGP) :: found
2248 integer(I4B) :: ipos
2251 do ipos = 1, memorylist%count()
2252 mt => memorylist%Get(ipos)
2253 if (
associated(mt%intsclr, sclr))
then
2254 nullify (mt%intsclr)
2259 if (.not. found)
then
2260 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 2307 of file MemoryManager.f90.
2308 integer(I4B),
dimension(:),
pointer,
contiguous,
intent(inout) :: aint
2309 character(len=*),
optional :: name
2310 character(len=*),
optional :: mem_path
2312 type(MemoryType),
pointer :: mt
2313 logical(LGP) :: found
2314 integer(I4B) :: ipos
2319 if (
present(name) .and.
present(mem_path))
then
2320 call get_from_memorylist(name, mem_path, mt, found)
2323 do ipos = 1, memorylist%count()
2324 mt => memorylist%Get(ipos)
2325 if (
associated(mt%aint1d, aint))
then
2332 if (.not. found .and.
size(aint) > 0)
then
2333 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 2348 of file MemoryManager.f90.
2349 integer(I4B),
dimension(:, :),
pointer,
contiguous,
intent(inout) :: aint
2350 character(len=*),
optional :: name
2351 character(len=*),
optional :: mem_path
2353 type(MemoryType),
pointer :: mt
2354 logical(LGP) :: found
2355 integer(I4B) :: ipos
2360 if (
present(name) .and.
present(mem_path))
then
2361 call get_from_memorylist(name, mem_path, mt, found)
2364 do ipos = 1, memorylist%count()
2365 mt => memorylist%Get(ipos)
2366 if (
associated(mt%aint2d, aint))
then
2373 if (.not. found .and.
size(aint) > 0)
then
2374 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 2389 of file MemoryManager.f90.
2390 integer(I4B),
dimension(:, :, :),
pointer,
contiguous,
intent(inout) :: aint
2391 character(len=*),
optional :: name
2392 character(len=*),
optional :: mem_path
2394 type(MemoryType),
pointer :: mt
2395 logical(LGP) :: found
2396 integer(I4B) :: ipos
2401 if (
present(name) .and.
present(mem_path))
then
2402 call get_from_memorylist(name, mem_path, mt, found)
2405 do ipos = 1, memorylist%count()
2406 mt => memorylist%Get(ipos)
2407 if (
associated(mt%aint3d, aint))
then
2414 if (.not. found .and.
size(aint) > 0)
then
2415 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 2210 of file MemoryManager.f90.
2211 logical(LGP),
pointer,
intent(inout) :: sclr
2213 class(MemoryType),
pointer :: mt
2214 logical(LGP) :: found
2215 integer(I4B) :: ipos
2218 do ipos = 1, memorylist%count()
2219 mt => memorylist%Get(ipos)
2220 if (
associated(mt%logicalsclr, sclr))
then
2221 nullify (mt%logicalsclr)
2226 if (.not. found)
then
2227 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 2085 of file MemoryManager.f90.
2086 character(len=*),
pointer,
intent(inout) :: sclr
2087 character(len=*),
intent(in),
optional :: name
2088 character(len=*),
intent(in),
optional :: mem_path
2090 type(MemoryType),
pointer :: mt
2091 logical(LGP) :: found
2092 integer(I4B) :: ipos
2095 if (
present(name) .and.
present(mem_path))
then
2096 call get_from_memorylist(name, mem_path, mt, found)
2097 nullify (mt%strsclr)
2099 do ipos = 1, memorylist%count()
2100 mt => memorylist%Get(ipos)
2101 if (
associated(mt%strsclr, sclr))
then
2102 nullify (mt%strsclr)
2108 if (.not. found)
then
2109 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 2125 of file MemoryManager.f90.
2126 character(len=*),
dimension(:),
pointer,
contiguous,
intent(inout) :: astr1d
2127 character(len=*),
optional,
intent(in) :: name
2128 character(len=*),
optional,
intent(in) :: mem_path
2130 type(MemoryType),
pointer :: mt
2131 logical(LGP) :: found
2132 integer(I4B) :: ipos
2137 if (
present(name) .and.
present(mem_path))
then
2138 call get_from_memorylist(name, mem_path, mt, found)
2141 do ipos = 1, memorylist%count()
2142 mt => memorylist%Get(ipos)
2143 if (
associated(mt%astr1d, astr1d))
then
2150 if (.not. found .and.
size(astr1d) > 0)
then
2151 call store_error(
'programming error in deallocate_str1d', terminate=.true.)
The documentation for this interface was generated from the following file: