MODFLOW 6  version 6.7.0.dev0
USGS Modular Hydrologic Model
memorymanagermodule::mem_setptr Interface Reference
Collaboration diagram for memorymanagermodule::mem_setptr:
Collaboration graph

Private Member Functions

subroutine setptr_logical (sclr, name, mem_path)
 Set pointer to a logical scalar. More...
 
subroutine setptr_int (sclr, name, mem_path)
 Set pointer to integer scalar. More...
 
subroutine setptr_int1d (aint, name, mem_path)
 Set pointer to 1d integer array. More...
 
subroutine setptr_int2d (aint, name, mem_path)
 Set pointer to 2d integer array. More...
 
subroutine setptr_int3d (aint, name, mem_path)
 Set pointer to 3d integer array. More...
 
subroutine setptr_dbl (sclr, name, mem_path)
 Set pointer to a real scalar. More...
 
subroutine setptr_dbl1d (adbl, name, mem_path)
 Set pointer to a 1d real array. More...
 
subroutine setptr_dbl2d (adbl, name, mem_path)
 Set pointer to a 2d real array. More...
 
subroutine setptr_dbl3d (adbl, name, mem_path)
 Set pointer to a 3d real array. More...
 
subroutine setptr_str (asrt, name, mem_path)
 Set pointer to a string (scalar) More...
 
subroutine setptr_str1d (astr1d, name, mem_path)
 Set pointer to a fixed-length string array. More...
 
subroutine setptr_charstr1d (acharstr1d, name, mem_path)
 Set pointer to an array of CharacterStringType. More...
 

Detailed Description

Definition at line 89 of file MemoryManager.f90.

Member Function/Subroutine Documentation

◆ setptr_charstr1d()

subroutine memorymanagermodule::mem_setptr::setptr_charstr1d ( type(characterstringtype), dimension(:), intent(inout), pointer, contiguous  acharstr1d,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]acharstr1dthe reallocated charstring array
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1604 of file MemoryManager.f90.

1605  type(CharacterStringType), dimension(:), pointer, contiguous, &
1606  intent(inout) :: acharstr1d !< the reallocated charstring array
1607  character(len=*), intent(in) :: name !< variable name
1608  character(len=*), intent(in) :: mem_path !< path where variable is stored
1609  ! -- local
1610  type(MemoryType), pointer :: mt
1611  logical(LGP) :: found
1612  ! -- code
1613  call get_from_memorystore(name, mem_path, mt, found)
1614  acharstr1d => mt%acharstr1d
Here is the call graph for this function:

◆ setptr_dbl()

subroutine memorymanagermodule::mem_setptr::setptr_dbl ( real(dp), intent(inout), pointer  sclr,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]sclrpointer to a real scalar
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1519 of file MemoryManager.f90.

1520  real(DP), pointer, intent(inout) :: sclr !< pointer to a real scalar
1521  character(len=*), intent(in) :: name !< variable name
1522  character(len=*), intent(in) :: mem_path !< path where variable is stored
1523  ! -- local
1524  type(MemoryType), pointer :: mt
1525  logical(LGP) :: found
1526  ! -- code
1527  call get_from_memorystore(name, mem_path, mt, found)
1528  sclr => mt%dblsclr
Here is the call graph for this function:

◆ setptr_dbl1d()

subroutine memorymanagermodule::mem_setptr::setptr_dbl1d ( real(dp), dimension(:), intent(inout), pointer, contiguous  adbl,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]adblpointer to 1d real array
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1533 of file MemoryManager.f90.

1534  real(DP), dimension(:), pointer, contiguous, intent(inout) :: adbl !< pointer to 1d real array
1535  character(len=*), intent(in) :: name !< variable name
1536  character(len=*), intent(in) :: mem_path !< path where variable is stored
1537  ! -- local
1538  type(MemoryType), pointer :: mt
1539  logical(LGP) :: found
1540  ! -- code
1541  call get_from_memorystore(name, mem_path, mt, found)
1542  adbl => mt%adbl1d
Here is the call graph for this function:

◆ setptr_dbl2d()

subroutine memorymanagermodule::mem_setptr::setptr_dbl2d ( real(dp), dimension(:, :), intent(inout), pointer, contiguous  adbl,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]adblpointer to 2d real array
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1547 of file MemoryManager.f90.

1548  real(DP), dimension(:, :), pointer, contiguous, intent(inout) :: adbl !< pointer to 2d real array
1549  character(len=*), intent(in) :: name !< variable name
1550  character(len=*), intent(in) :: mem_path !< path where variable is stored
1551  ! -- local
1552  type(MemoryType), pointer :: mt
1553  logical(LGP) :: found
1554  ! -- code
1555  call get_from_memorystore(name, mem_path, mt, found)
1556  adbl => mt%adbl2d
Here is the call graph for this function:

◆ setptr_dbl3d()

subroutine memorymanagermodule::mem_setptr::setptr_dbl3d ( real(dp), dimension(:, :, :), intent(inout), pointer, contiguous  adbl,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]adblpointer to 3d real array
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1561 of file MemoryManager.f90.

1562  real(DP), dimension(:, :, :), pointer, contiguous, intent(inout) :: adbl !< pointer to 3d real array
1563  character(len=*), intent(in) :: name !< variable name
1564  character(len=*), intent(in) :: mem_path !< path where variable is stored
1565  ! -- local
1566  type(MemoryType), pointer :: mt
1567  logical(LGP) :: found
1568  ! -- code
1569  call get_from_memorystore(name, mem_path, mt, found)
1570  adbl => mt%adbl3d
Here is the call graph for this function:

◆ setptr_int()

subroutine memorymanagermodule::mem_setptr::setptr_int ( integer(i4b), intent(inout), pointer  sclr,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]sclrpointer to integer scalar
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1463 of file MemoryManager.f90.

1464  integer(I4B), pointer, intent(inout) :: sclr !< pointer to integer scalar
1465  character(len=*), intent(in) :: name !< variable name
1466  character(len=*), intent(in) :: mem_path !< path where variable is stored
1467  ! -- local
1468  type(MemoryType), pointer :: mt
1469  logical(LGP) :: found
1470  ! -- code
1471  call get_from_memorystore(name, mem_path, mt, found)
1472  sclr => mt%intsclr
Here is the call graph for this function:

◆ setptr_int1d()

subroutine memorymanagermodule::mem_setptr::setptr_int1d ( integer(i4b), dimension(:), intent(inout), pointer, contiguous  aint,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]aintpointer to 1d integer array
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1477 of file MemoryManager.f90.

1478  integer(I4B), dimension(:), pointer, contiguous, intent(inout) :: aint !< pointer to 1d integer array
1479  character(len=*), intent(in) :: name !< variable name
1480  character(len=*), intent(in) :: mem_path !< path where variable is stored
1481  ! -- local
1482  type(MemoryType), pointer :: mt
1483  logical(LGP) :: found
1484  ! -- code
1485  call get_from_memorystore(name, mem_path, mt, found)
1486  aint => mt%aint1d
Here is the call graph for this function:

◆ setptr_int2d()

subroutine memorymanagermodule::mem_setptr::setptr_int2d ( integer(i4b), dimension(:, :), intent(inout), pointer, contiguous  aint,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]aintpointer to 2d integer array
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1491 of file MemoryManager.f90.

1492  integer(I4B), dimension(:, :), pointer, contiguous, intent(inout) :: aint !< pointer to 2d integer array
1493  character(len=*), intent(in) :: name !< variable name
1494  character(len=*), intent(in) :: mem_path !< path where variable is stored
1495  ! -- local
1496  type(MemoryType), pointer :: mt
1497  logical(LGP) :: found
1498  ! -- code
1499  call get_from_memorystore(name, mem_path, mt, found)
1500  aint => mt%aint2d
Here is the call graph for this function:

◆ setptr_int3d()

subroutine memorymanagermodule::mem_setptr::setptr_int3d ( integer(i4b), dimension(:, :, :), intent(inout), pointer, contiguous  aint,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]aintpointer to 3d integer array
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1505 of file MemoryManager.f90.

1506  integer(I4B), dimension(:, :, :), pointer, contiguous, intent(inout) :: aint !< pointer to 3d integer array
1507  character(len=*), intent(in) :: name !< variable name
1508  character(len=*), intent(in) :: mem_path !< path where variable is stored
1509  ! -- local
1510  type(MemoryType), pointer :: mt
1511  logical(LGP) :: found
1512  ! -- code
1513  call get_from_memorystore(name, mem_path, mt, found)
1514  aint => mt%aint3d
Here is the call graph for this function:

◆ setptr_logical()

subroutine memorymanagermodule::mem_setptr::setptr_logical ( logical(lgp), intent(inout), pointer  sclr,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]sclrpointer to logical scalar
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1449 of file MemoryManager.f90.

1450  logical(LGP), pointer, intent(inout) :: sclr !< pointer to logical scalar
1451  character(len=*), intent(in) :: name !< variable name
1452  character(len=*), intent(in) :: mem_path !< path where variable is stored
1453  ! -- local
1454  type(MemoryType), pointer :: mt
1455  logical(LGP) :: found
1456  ! -- code
1457  call get_from_memorystore(name, mem_path, mt, found)
1458  sclr => mt%logicalsclr
Here is the call graph for this function:

◆ setptr_str()

subroutine memorymanagermodule::mem_setptr::setptr_str ( character(len=:), pointer  asrt,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
asrtpointer to the character string
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1575 of file MemoryManager.f90.

1576  character(len=:), pointer :: asrt !< pointer to the character string
1577  character(len=*), intent(in) :: name !< variable name
1578  character(len=*), intent(in) :: mem_path !< path where variable is stored
1579  ! -- local
1580  type(MemoryType), pointer :: mt
1581  logical(LGP) :: found
1582  ! -- code
1583  call get_from_memorystore(name, mem_path, mt, found)
1584  asrt => mt%strsclr
Here is the call graph for this function:

◆ setptr_str1d()

subroutine memorymanagermodule::mem_setptr::setptr_str1d ( character(len=:), dimension(:), intent(inout), pointer, contiguous  astr1d,
character(len=*), intent(in)  name,
character(len=*), intent(in)  mem_path 
)
private
Parameters
[in,out]astr1dpointer to the string array
[in]namevariable name
[in]mem_pathpath where variable is stored

Definition at line 1589 of file MemoryManager.f90.

1590  character(len=:), dimension(:), &
1591  pointer, contiguous, intent(inout) :: astr1d !< pointer to the string array
1592  character(len=*), intent(in) :: name !< variable name
1593  character(len=*), intent(in) :: mem_path !< path where variable is stored
1594  ! -- local
1595  type(MemoryType), pointer :: mt
1596  logical(LGP) :: found
1597  ! -- code
1598  call get_from_memorystore(name, mem_path, mt, found)
1599  astr1d => mt%astr1d
Here is the call graph for this function:

The documentation for this interface was generated from the following file: