An undeclared element?
Posted: Mon Oct 24, 2011 6:41 pm
Hi, everyone. This may be a very basic question, but it does trouble me for a long time.
In the code, we can find the usage of W%CW everywhere, e.g. in fileio.F:
where W is of the type 'wavespin'. However, in the declaration of wavespin type, I cannot find any element named 'CW'.
So I guess it is an undeclared array. But it is quite confusing because sometimes such "W%CW" is 1-dimensional and sometimes it is 4-dimensional.
Can anyone tell me how can I find the definition of this "W%CW"?
<span class='smallblacktext'>[ Edited ]</span>
In the code, we can find the usage of W%CW everywhere, e.g. in fileio.F:
Code: Select all
CALL DIS_PW_BAND(WDES1, J+NBANDF, CW1, W%CW(1,1,K,1))
where W is of the type 'wavespin'. However, in the declaration of wavespin type, I cannot find any element named 'CW'.
So I guess it is an undeclared array. But it is quite confusing because sometimes such "W%CW" is 1-dimensional and sometimes it is 4-dimensional.
Can anyone tell me how can I find the definition of this "W%CW"?
<span class='smallblacktext'>[ Edited ]</span>