QR_MUMPS
|
This file contains a routine that does a dirty trick to convert a 1d array into a 2d array. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | _qrm_remap_pnt (arr1d, pnt2d, n) |
This function makes a 2D pointer point to a 1D array. More... | |
This file contains a routine that does a dirty trick to convert a 1d array into a 2d array.
Definition in file qrm_remap_pnt.F90.
subroutine _qrm_remap_pnt | ( | dimension(1:n), target | arr1d, |
dimension(:,:), pointer | pnt2d, | ||
integer | n | ||
) |
This function makes a 2D pointer point to a 1D array.
This is needed to have a single code handling single and multiple right-hand-sides. This is a dirty workaround that relies on iso_c_binding while waiting for the array bounds remapping to be supported by compilers (in F2008 standard).
Input: arr1d - the input 1d array
Output: pnt2d - the output 2d pointer pointing to arr1d
Definition at line 49 of file qrm_remap_pnt.F90.
Referenced by _qrm_apply1d(), and _qrm_solve1d().