|
subroutine | reassignptr_int (sclr, name, mem_path, name_target, mem_path_target) |
| Set the pointer for an integer scalar to. More...
|
|
subroutine | reassignptr_int1d (aint, name, mem_path, name_target, mem_path_target) |
| Set the pointer for a 1-dimensional integer array to. More...
|
|
subroutine | reassignptr_int2d (aint, name, mem_path, name_target, mem_path_target) |
| Set the pointer for a 2-dimensional integer array to. More...
|
|
subroutine | reassignptr_dbl1d (adbl, name, mem_path, name_target, mem_path_target) |
| Set the pointer for a 1-dimensional real array to. More...
|
|
subroutine | reassignptr_dbl2d (adbl, name, mem_path, name_target, mem_path_target) |
| Set the pointer for a 2-dimensional real array to. More...
|
|
Definition at line 113 of file MemoryManager.f90.
◆ reassignptr_dbl1d()
subroutine memorymanagermodule::mem_reassignptr::reassignptr_dbl1d |
( |
real(dp), dimension(:), intent(inout), pointer, contiguous |
adbl, |
|
|
character(len=*), intent(in) |
name, |
|
|
character(len=*), intent(in) |
mem_path, |
|
|
character(len=*), intent(in) |
name_target, |
|
|
character(len=*), intent(in) |
mem_path_target |
|
) |
| |
|
private |
- Parameters
-
[in,out] | adbl | pointer to 1d real array |
[in] | name | variable name |
[in] | mem_path | path where variable is stored |
[in] | name_target | name of target variable |
[in] | mem_path_target | path where target variable is stored |
Definition at line 1857 of file MemoryManager.f90.
1858 real(DP),
dimension(:),
pointer,
contiguous,
intent(inout) :: adbl
1859 character(len=*),
intent(in) :: name
1860 character(len=*),
intent(in) :: mem_path
1861 character(len=*),
intent(in) :: name_target
1862 character(len=*),
intent(in) :: mem_path_target
1864 type(MemoryType),
pointer :: mt
1865 type(MemoryType),
pointer :: mt2
1866 logical(LGP) :: found
1868 call get_from_memorystore(name, mem_path, mt, found)
1869 call get_from_memorystore(name_target, mem_path_target, mt2, found)
1870 if (
size(adbl) > 0)
then
1871 nvalues_adbl = nvalues_adbl -
size(adbl)
1876 mt%element_size = dp
1877 mt%isize =
size(adbl)
1878 write (mt%memtype,
"(a,' (',i0,')')")
'DOUBLE', mt%isize
1882 mt%mastername = name_target
1883 mt%masterPath = mem_path_target
◆ reassignptr_dbl2d()
subroutine memorymanagermodule::mem_reassignptr::reassignptr_dbl2d |
( |
real(dp), dimension(:, :), intent(inout), pointer, contiguous |
adbl, |
|
|
character(len=*), intent(in) |
name, |
|
|
character(len=*), intent(in) |
mem_path, |
|
|
character(len=*), intent(in) |
name_target, |
|
|
character(len=*), intent(in) |
mem_path_target |
|
) |
| |
|
private |
- Parameters
-
[in,out] | adbl | pointer to 2d real array |
[in] | name | variable name |
[in] | mem_path | path where variable is stored |
[in] | name_target | name of target variable |
[in] | mem_path_target | path where target variable is stored |
Definition at line 1888 of file MemoryManager.f90.
1889 real(DP),
dimension(:, :),
pointer,
contiguous,
intent(inout) :: adbl
1890 character(len=*),
intent(in) :: name
1891 character(len=*),
intent(in) :: mem_path
1892 character(len=*),
intent(in) :: name_target
1893 character(len=*),
intent(in) :: mem_path_target
1895 type(MemoryType),
pointer :: mt
1896 type(MemoryType),
pointer :: mt2
1897 logical(LGP) :: found
1898 integer(I4B) :: ncol
1899 integer(I4b) :: nrow
1901 call get_from_memorystore(name, mem_path, mt, found)
1902 call get_from_memorystore(name_target, mem_path_target, mt2, found)
1903 if (
size(adbl) > 0)
then
1904 nvalues_adbl = nvalues_adbl -
size(adbl)
1909 mt%element_size = dp
1910 mt%isize =
size(adbl)
1911 ncol =
size(adbl, dim=1)
1912 nrow =
size(adbl, dim=2)
1913 write (mt%memtype,
"(a,' (',i0,',',i0,')')")
'DOUBLE', ncol, nrow
1917 mt%mastername = name_target
1918 mt%masterPath = mem_path_target
◆ reassignptr_int()
subroutine memorymanagermodule::mem_reassignptr::reassignptr_int |
( |
integer(i4b), intent(inout), pointer |
sclr, |
|
|
character(len=*), intent(in) |
name, |
|
|
character(len=*), intent(in) |
mem_path, |
|
|
character(len=*), intent(in) |
name_target, |
|
|
character(len=*), intent(in) |
mem_path_target |
|
) |
| |
|
private |
- Parameters
-
[in,out] | sclr | pointer to integer scalar |
[in] | name | variable name |
[in] | mem_path | path where variable is stored |
[in] | name_target | name of target variable |
[in] | mem_path_target | path where target variable is stored |
Definition at line 1760 of file MemoryManager.f90.
1761 integer(I4B),
pointer,
intent(inout) :: sclr
1762 character(len=*),
intent(in) :: name
1763 character(len=*),
intent(in) :: mem_path
1764 character(len=*),
intent(in) :: name_target
1765 character(len=*),
intent(in) :: mem_path_target
1767 type(MemoryType),
pointer :: mt
1768 type(MemoryType),
pointer :: mt2
1769 logical(LGP) :: found
1771 call get_from_memorystore(name, mem_path, mt, found)
1772 call get_from_memorystore(name_target, mem_path_target, mt2, found)
1773 if (
associated(sclr))
then
1774 nvalues_aint = nvalues_aint - 1
1779 mt%element_size = i4b
1781 write (mt%memtype,
"(a,' (',i0,')')")
'INTEGER', mt%isize
1785 mt%mastername = name_target
1786 mt%masterPath = mem_path_target
◆ reassignptr_int1d()
subroutine memorymanagermodule::mem_reassignptr::reassignptr_int1d |
( |
integer(i4b), dimension(:), intent(inout), pointer, contiguous |
aint, |
|
|
character(len=*), intent(in) |
name, |
|
|
character(len=*), intent(in) |
mem_path, |
|
|
character(len=*), intent(in) |
name_target, |
|
|
character(len=*), intent(in) |
mem_path_target |
|
) |
| |
|
private |
- Parameters
-
[in,out] | aint | pointer to 1d integer array |
[in] | name | variable name |
[in] | mem_path | path where variable is stored |
[in] | name_target | name of target variable |
[in] | mem_path_target | path where target variable is stored |
Definition at line 1791 of file MemoryManager.f90.
1792 integer(I4B),
dimension(:),
pointer,
contiguous,
intent(inout) :: aint
1793 character(len=*),
intent(in) :: name
1794 character(len=*),
intent(in) :: mem_path
1795 character(len=*),
intent(in) :: name_target
1796 character(len=*),
intent(in) :: mem_path_target
1798 type(MemoryType),
pointer :: mt
1799 type(MemoryType),
pointer :: mt2
1800 logical(LGP) :: found
1802 call get_from_memorystore(name, mem_path, mt, found)
1803 call get_from_memorystore(name_target, mem_path_target, mt2, found)
1804 if (
size(aint) > 0)
then
1805 nvalues_aint = nvalues_aint -
size(aint)
1810 mt%element_size = i4b
1811 mt%isize =
size(aint)
1812 write (mt%memtype,
"(a,' (',i0,')')")
'INTEGER', mt%isize
1816 mt%mastername = name_target
1817 mt%masterPath = mem_path_target
◆ reassignptr_int2d()
subroutine memorymanagermodule::mem_reassignptr::reassignptr_int2d |
( |
integer(i4b), dimension(:, :), intent(inout), pointer, contiguous |
aint, |
|
|
character(len=*), intent(in) |
name, |
|
|
character(len=*), intent(in) |
mem_path, |
|
|
character(len=*), intent(in) |
name_target, |
|
|
character(len=*), intent(in) |
mem_path_target |
|
) |
| |
|
private |
- Parameters
-
[in,out] | aint | pointer to 2d integer array |
[in] | name | variable name |
[in] | mem_path | path where variable is stored |
[in] | name_target | name of target variable |
[in] | mem_path_target | path where target variable is stored |
Definition at line 1822 of file MemoryManager.f90.
1823 integer(I4B),
dimension(:, :),
pointer,
contiguous,
intent(inout) :: aint
1824 character(len=*),
intent(in) :: name
1825 character(len=*),
intent(in) :: mem_path
1826 character(len=*),
intent(in) :: name_target
1827 character(len=*),
intent(in) :: mem_path_target
1829 type(MemoryType),
pointer :: mt
1830 type(MemoryType),
pointer :: mt2
1831 logical(LGP) :: found
1832 integer(I4B) :: ncol
1833 integer(I4B) :: nrow
1835 call get_from_memorystore(name, mem_path, mt, found)
1836 call get_from_memorystore(name_target, mem_path_target, mt2, found)
1837 if (
size(aint) > 0)
then
1838 nvalues_aint = nvalues_aint -
size(aint)
1843 mt%element_size = i4b
1844 mt%isize =
size(aint)
1845 ncol =
size(aint, dim=1)
1846 nrow =
size(aint, dim=2)
1847 write (mt%memtype,
"(a,' (',i0,',',i0,')')")
'INTEGER', ncol, nrow
1851 mt%mastername = name_target
1852 mt%masterPath = mem_path_target
The documentation for this interface was generated from the following file: