|
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 1859 of file MemoryManager.f90.
1860 real(DP),
dimension(:),
pointer,
contiguous,
intent(inout) :: adbl
1861 character(len=*),
intent(in) :: name
1862 character(len=*),
intent(in) :: mem_path
1863 character(len=*),
intent(in) :: name_target
1864 character(len=*),
intent(in) :: mem_path_target
1866 type(MemoryType),
pointer :: mt
1867 type(MemoryType),
pointer :: mt2
1868 logical(LGP) :: found
1870 call get_from_memorystore(name, mem_path, mt, found)
1871 call get_from_memorystore(name_target, mem_path_target, mt2, found)
1872 if (
size(adbl) > 0)
then
1873 nvalues_adbl = nvalues_adbl -
size(adbl)
1878 mt%element_size = dp
1879 mt%isize =
size(adbl)
1880 write (mt%memtype,
"(a,' (',i0,')')")
'DOUBLE', mt%isize
1884 mt%mastername = name_target
1885 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 1890 of file MemoryManager.f90.
1891 real(DP),
dimension(:, :),
pointer,
contiguous,
intent(inout) :: adbl
1892 character(len=*),
intent(in) :: name
1893 character(len=*),
intent(in) :: mem_path
1894 character(len=*),
intent(in) :: name_target
1895 character(len=*),
intent(in) :: mem_path_target
1897 type(MemoryType),
pointer :: mt
1898 type(MemoryType),
pointer :: mt2
1899 logical(LGP) :: found
1900 integer(I4B) :: ncol
1901 integer(I4b) :: nrow
1903 call get_from_memorystore(name, mem_path, mt, found)
1904 call get_from_memorystore(name_target, mem_path_target, mt2, found)
1905 if (
size(adbl) > 0)
then
1906 nvalues_adbl = nvalues_adbl -
size(adbl)
1911 mt%element_size = dp
1912 mt%isize =
size(adbl)
1913 ncol =
size(adbl, dim=1)
1914 nrow =
size(adbl, dim=2)
1915 write (mt%memtype,
"(a,' (',i0,',',i0,')')")
'DOUBLE', ncol, nrow
1919 mt%mastername = name_target
1920 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 1762 of file MemoryManager.f90.
1763 integer(I4B),
pointer,
intent(inout) :: sclr
1764 character(len=*),
intent(in) :: name
1765 character(len=*),
intent(in) :: mem_path
1766 character(len=*),
intent(in) :: name_target
1767 character(len=*),
intent(in) :: mem_path_target
1769 type(MemoryType),
pointer :: mt
1770 type(MemoryType),
pointer :: mt2
1771 logical(LGP) :: found
1773 call get_from_memorystore(name, mem_path, mt, found)
1774 call get_from_memorystore(name_target, mem_path_target, mt2, found)
1775 if (
associated(sclr))
then
1776 nvalues_aint = nvalues_aint - 1
1781 mt%element_size = i4b
1783 write (mt%memtype,
"(a,' (',i0,')')")
'INTEGER', mt%isize
1787 mt%mastername = name_target
1788 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 1793 of file MemoryManager.f90.
1794 integer(I4B),
dimension(:),
pointer,
contiguous,
intent(inout) :: aint
1795 character(len=*),
intent(in) :: name
1796 character(len=*),
intent(in) :: mem_path
1797 character(len=*),
intent(in) :: name_target
1798 character(len=*),
intent(in) :: mem_path_target
1800 type(MemoryType),
pointer :: mt
1801 type(MemoryType),
pointer :: mt2
1802 logical(LGP) :: found
1804 call get_from_memorystore(name, mem_path, mt, found)
1805 call get_from_memorystore(name_target, mem_path_target, mt2, found)
1806 if (
size(aint) > 0)
then
1807 nvalues_aint = nvalues_aint -
size(aint)
1812 mt%element_size = i4b
1813 mt%isize =
size(aint)
1814 write (mt%memtype,
"(a,' (',i0,')')")
'INTEGER', mt%isize
1818 mt%mastername = name_target
1819 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 1824 of file MemoryManager.f90.
1825 integer(I4B),
dimension(:, :),
pointer,
contiguous,
intent(inout) :: aint
1826 character(len=*),
intent(in) :: name
1827 character(len=*),
intent(in) :: mem_path
1828 character(len=*),
intent(in) :: name_target
1829 character(len=*),
intent(in) :: mem_path_target
1831 type(MemoryType),
pointer :: mt
1832 type(MemoryType),
pointer :: mt2
1833 logical(LGP) :: found
1834 integer(I4B) :: ncol
1835 integer(I4B) :: nrow
1837 call get_from_memorystore(name, mem_path, mt, found)
1838 call get_from_memorystore(name_target, mem_path_target, mt2, found)
1839 if (
size(aint) > 0)
then
1840 nvalues_aint = nvalues_aint -
size(aint)
1845 mt%element_size = i4b
1846 mt%isize =
size(aint)
1847 ncol =
size(aint, dim=1)
1848 nrow =
size(aint, dim=2)
1849 write (mt%memtype,
"(a,' (',i0,',',i0,')')")
'INTEGER', ncol, nrow
1853 mt%mastername = name_target
1854 mt%masterPath = mem_path_target
The documentation for this interface was generated from the following file: