|
[Sponsors] |
February 1, 2013, 17:32 |
Transferred array automatically changed?
|
#1 |
Member
Join Date: Feb 2011
Posts: 41
Rep Power: 15 |
Hi All
I'm experimenting with the famous fftpack, but encountered some "weird" problems (or stupid ones....) that when I transferred an array to the subroutine rfft1f.f, the array would automatically, at least in my mac, be altered in the subroutine. I attached the codes here. I made a simple makefile. Please check the main file fft_test.f and the subroutine rfft1f.f, the other files are not edited. The results I got is attached. The fftpack is downloaded from here https://www2.cisl.ucar.edu/resources.../documentation. Could anyone point out what is going on here? What could be the reason? Thanks in advance. Any comment is appreciated. jo |
|
February 1, 2013, 17:45 |
|
#2 |
Member
Join Date: Feb 2011
Posts: 41
Rep Power: 15 |
Oh..sorry for bothering...I just found the error, it's the problem of the data types...
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multi-dimensional dynamic array allocation for multi-block solver using fortran | mano | Main CFD Forum | 4 | June 25, 2012 21:01 |
Simple UDF array question [Fluent] | Patrick1 | Fluent UDF and Scheme Programming | 0 | April 19, 2012 01:41 |
An unknown array definition in fortran | morteza08 | Main CFD Forum | 0 | June 20, 2011 04:32 |
ODETest.C Compiling failed in version 1.6 | sxhdhi | OpenFOAM Bugs | 4 | April 27, 2010 05:36 |
Tecplot Macro - conditional - array variable | pchidamb | Tecplot | 2 | July 29, 2009 09:48 |