|
subroutine, private | allocateiscr (nw, ierr) |
| Reallocates the integer scratch array to fit at least the size. More...
|
|
subroutine, private | allocatelscr (nw, ierr) |
| Reallocates the logical scratch array to fit at least given size. More...
|
|
subroutine, private | allocatesscr (nw, ierr) |
| Reallocates the real(sp) scratch array to fit at least given size. More...
|
|
subroutine, private | allocatedscr (nw, ierr) |
| Reallocates the real(dp) scratch array to fit at least given size. More...
|
|
integer function, dimension(:), pointer | getintegerscratcharray (nsize, ierr) |
| Returns a pointer to an integer scratch array. More...
|
|
logical function, dimension(:), pointer | getlogicalscratcharray (nsize, ierr) |
| Returns a pointer to a logical scratch array. More...
|
|
real(sp) function, dimension(:), pointer | getsinglescratcharray (nsize, ierr) |
| Returns a pointer to a real(sp) scratch array. More...
|
|
real(dp) function, dimension(:), pointer | getrealscratcharray (nsize, ierr) |
| Returns a pointer to a real(dp) scratch array. More...
|
|
real(dp) function, dimension(:,:), pointer | getrealscratchmatrix (nrow, ncol, ierr) |
| Returns a pointer to a nrow ×ncol real(dp) scratch array. More...
|
|
subroutine, private | singlescratcharray (rscr, nsize, ierr) |
| Returns a pointer to a real(sp) scratch array. More...
|
|
subroutine, private | doublescratcharray (rscr, nsize, ierr) |
| Returns a pointer to a real(dp) scratch array. More...
|
|
subroutine | releasescratcharrays () |
| Deallocates the scratch arrays, if allocated. More...
|
|
|
integer, dimension(:), allocatable, target, save, private | iscr |
| Integer array. More...
|
|
logical, dimension(:), allocatable, target, save, private | lscr |
| Logical array. More...
|
|
real(sp), dimension(:), allocatable, target, save, private | sscr |
| Single precision. More...
|
|
real(dp), dimension(:), allocatable, target, save, private | dscr |
| Double precision. More...
|
|
Module with subroutines for dynamic allocation of scratch arrays.
This module is provided to avoid frequent allocation and deallocation of temporary scratch arrays during the computations. It should NOT be used to transfer data between subroutines. That will be dangerous and may sooner or later lead to overwriting errors.
Knut Morten Okstad
- Date
- 12 July 2002