source:
CIVL/mods/dev.civl.abc/examples/fortran/flash/heat/_Grid_getBlkPtr.F90
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 303 bytes | |
| Line | |
|---|---|
| 1 | subroutine Grid_getBlkPtr(blockID,dataPtr) |
| 2 | |
| 3 | #include "constants.h" |
| 4 | #include "Flash.h" |
| 5 | |
| 6 | use physicaldata, ONLY : unk |
| 7 | |
| 8 | implicit none |
| 9 | integer, intent(in) :: blockID |
| 10 | real, dimension(:,:,:,:), pointer :: dataPtr |
| 11 | |
| 12 | dataPtr => unk(:,:,:,:,blockid) |
| 13 | |
| 14 | |
| 15 | return |
| 16 | end subroutine Grid_getBlkPtr |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 |
Note:
See TracBrowser
for help on using the repository browser.
