CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Help: Reading values in derived types for VFortran (http://www.cfd-online.com/Forums/main/12408-help-reading-values-derived-types-vfortran.html)

Wee October 15, 2006 09:39

Help: Reading values in derived types for VFortran
 
hello,

in the past, i simply use

real :: u(:,:),v(:,:) to define the velocities in my FVM code.

now, i'm trying to use derived type in my fortran code. e.g.

type cell

real :: u,v

end type cell

during debugging using either compaq or intel visual fortran, to show all the values of variables u or v, I either enter "u" or "u(:,:)" in the debug window in the past. but now, if I want to see the values, i can only see the u or v for each cell ie "cell(1,1)%u". "cell(:,:)%u" does not work. this is very troublesome.

so is there anyway I can see all values of u,v using the new derived type? thank you very much


All times are GMT -4. The time now is 05:41.