MODFLOW 6  version 6.6.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 1602 of file MemoryManager.f90.

1603  type(CharacterStringType), dimension(:), pointer, contiguous, &
1604  intent(inout) :: acharstr1d !< the reallocated charstring array
1605  character(len=*), intent(in) :: name !< variable name
1606  character(len=*), intent(in) :: mem_path !< path where variable is stored
1607  ! -- local
1608  type(MemoryType), pointer :: mt
1609  logical(LGP) :: found
1610  ! -- code
1611  call get_from_memorystore(name, mem_path, mt, found)
1612  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 1517 of file MemoryManager.f90.

1518  real(DP), pointer, intent(inout) :: sclr !< pointer to a real scalar
1519  character(len=*), intent(in) :: name !< variable name
1520  character(len=*), intent(in) :: mem_path !< path where variable is stored
1521  ! -- local
1522  type(MemoryType), pointer :: mt
1523  logical(LGP) :: found
1524  ! -- code
1525  call get_from_memorystore(name, mem_path, mt, found)
1526  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 1531 of file MemoryManager.f90.

1532  real(DP), dimension(:), pointer, contiguous, intent(inout) :: adbl !< pointer to 1d real array
1533  character(len=*), intent(in) :: name !< variable name
1534  character(len=*), intent(in) :: mem_path !< path where variable is stored
1535  ! -- local
1536  type(MemoryType), pointer :: mt
1537  logical(LGP) :: found
1538  ! -- code
1539  call get_from_memorystore(name, mem_path, mt, found)
1540  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 1545 of file MemoryManager.f90.

1546  real(DP), dimension(:, :), pointer, contiguous, intent(inout) :: adbl !< pointer to 2d real array
1547  character(len=*), intent(in) :: name !< variable name
1548  character(len=*), intent(in) :: mem_path !< path where variable is stored
1549  ! -- local
1550  type(MemoryType), pointer :: mt
1551  logical(LGP) :: found
1552  ! -- code
1553  call get_from_memorystore(name, mem_path, mt, found)
1554  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 1559 of file MemoryManager.f90.

1560  real(DP), dimension(:, :, :), pointer, contiguous, intent(inout) :: adbl !< pointer to 3d real array
1561  character(len=*), intent(in) :: name !< variable name
1562  character(len=*), intent(in) :: mem_path !< path where variable is stored
1563  ! -- local
1564  type(MemoryType), pointer :: mt
1565  logical(LGP) :: found
1566  ! -- code
1567  call get_from_memorystore(name, mem_path, mt, found)
1568  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 1461 of file MemoryManager.f90.

1462  integer(I4B), pointer, intent(inout) :: sclr !< pointer to integer scalar
1463  character(len=*), intent(in) :: name !< variable name
1464  character(len=*), intent(in) :: mem_path !< path where variable is stored
1465  ! -- local
1466  type(MemoryType), pointer :: mt
1467  logical(LGP) :: found
1468  ! -- code
1469  call get_from_memorystore(name, mem_path, mt, found)
1470  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 1475 of file MemoryManager.f90.

1476  integer(I4B), dimension(:), pointer, contiguous, intent(inout) :: aint !< pointer to 1d integer array
1477  character(len=*), intent(in) :: name !< variable name
1478  character(len=*), intent(in) :: mem_path !< path where variable is stored
1479  ! -- local
1480  type(MemoryType), pointer :: mt
1481  logical(LGP) :: found
1482  ! -- code
1483  call get_from_memorystore(name, mem_path, mt, found)
1484  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 1489 of file MemoryManager.f90.

1490  integer(I4B), dimension(:, :), pointer, contiguous, intent(inout) :: aint !< pointer to 2d integer array
1491  character(len=*), intent(in) :: name !< variable name
1492  character(len=*), intent(in) :: mem_path !< path where variable is stored
1493  ! -- local
1494  type(MemoryType), pointer :: mt
1495  logical(LGP) :: found
1496  ! -- code
1497  call get_from_memorystore(name, mem_path, mt, found)
1498  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 1503 of file MemoryManager.f90.

1504  integer(I4B), dimension(:, :, :), pointer, contiguous, intent(inout) :: aint !< pointer to 3d integer array
1505  character(len=*), intent(in) :: name !< variable name
1506  character(len=*), intent(in) :: mem_path !< path where variable is stored
1507  ! -- local
1508  type(MemoryType), pointer :: mt
1509  logical(LGP) :: found
1510  ! -- code
1511  call get_from_memorystore(name, mem_path, mt, found)
1512  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 1447 of file MemoryManager.f90.

1448  logical(LGP), pointer, intent(inout) :: sclr !< pointer to logical scalar
1449  character(len=*), intent(in) :: name !< variable name
1450  character(len=*), intent(in) :: mem_path !< path where variable is stored
1451  ! -- local
1452  type(MemoryType), pointer :: mt
1453  logical(LGP) :: found
1454  ! -- code
1455  call get_from_memorystore(name, mem_path, mt, found)
1456  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 1573 of file MemoryManager.f90.

1574  character(len=:), pointer :: asrt !< pointer to the character string
1575  character(len=*), intent(in) :: name !< variable name
1576  character(len=*), intent(in) :: mem_path !< path where variable is stored
1577  ! -- local
1578  type(MemoryType), pointer :: mt
1579  logical(LGP) :: found
1580  ! -- code
1581  call get_from_memorystore(name, mem_path, mt, found)
1582  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 1587 of file MemoryManager.f90.

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

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