Hi,
I am trying to use the pack and reshape commands on an array equal to zero. For some reason the size intrinsic of each array changes in the process. I am doing the same for arrays not equal to zero and this problem does not exist. Here is the code that I currently have. Any thoughts would be appreciated.
xfinalIC(FAindIC, QindIC)= 0.0d0
x0p= pack(xfinalIC, xfinalIC == xfinalIC(FAindIC, QindIC))
x0pp= reshape(x0p, (/size(x0p), pnull/))
I suspect there is something going on with the specificity that the array is equal to zero...
Thanks!
I am trying to use the pack and reshape commands on an array equal to zero. For some reason the size intrinsic of each array changes in the process. I am doing the same for arrays not equal to zero and this problem does not exist. Here is the code that I currently have. Any thoughts would be appreciated.
xfinalIC(FAindIC, QindIC)= 0.0d0
x0p= pack(xfinalIC, xfinalIC == xfinalIC(FAindIC, QindIC))
x0pp= reshape(x0p, (/size(x0p), pnull/))
I suspect there is something going on with the specificity that the array is equal to zero...
Thanks!