Author |
Message |
Topic: Undefined Variable Error |
Ingo
Replies: 18
Views: 20866
|
Forum: Support Posted: Wed Oct 17, 2012 11:34 pm Subject: |
I got the program to work. Thank you very much for the great support! |
Topic: Undefined Variable Error |
Ingo
Replies: 18
Views: 20866
|
Forum: Support Posted: Wed Oct 17, 2012 1:49 pm Subject: |
So how do you propose to set the variables in this case? I assume what that means is that they do not have an initial value. I tried doing it by setting them to 0 in the definition, like I know from C ... |
Topic: Undefined Variable Error |
Ingo
Replies: 18
Views: 20866
|
Forum: Support Posted: Tue Oct 16, 2012 7:41 am Subject: |
The program originally worked with a cartesian coordinate system. All the '90-' expressions come from the transformation to a cylindrical coordinate system. However, my transformation worked in degree ... |
Topic: Undefined Variable Error |
Ingo
Replies: 18
Views: 20866
|
Forum: Support Posted: Mon Oct 15, 2012 11:44 am Subject: |
Yeah that part got a bit messy after I tried fixing the error by changing the coding around a bit. As this is my first time in Fortran I wasn't aware of it being very sensitive to this kind of thing. ... |
Topic: Undefined Variable Error |
Ingo
Replies: 18
Views: 20866
|
Forum: Support Posted: Mon Oct 15, 2012 9:14 am Subject: |
Sorry for the long wait. I was not at home during the weekend.
Here is the dropbox link: https://www.dropbox.com/s/dclxymwdkdni324/main.f95 |
Topic: Undefined Variable Error |
Ingo
Replies: 18
Views: 20866
|
Forum: Support Posted: Fri Oct 12, 2012 3:17 pm Subject: |
The complete program, with every subroutine is about 965 lines long. The 2 subroutines where I had the error 112 issue are at both at the end. |
Topic: Undefined Variable Error |
Ingo
Replies: 18
Views: 20866
|
Forum: Support Posted: Fri Oct 12, 2012 9:28 am Subject: |
First of all I want to thank you for your patience and all the help you have given me so far.
I got the program to work (somewhat). I took out all the INTENT declarations as you advised, however that ... |
Topic: Undefined Variable Error |
Ingo
Replies: 18
Views: 20866
|
Forum: Support Posted: Thu Oct 11, 2012 2:34 pm Subject: |
Ah, I misunderstood the error then. Thanks for the help, I'll see if I can fix it now. |
Topic: Undefined Variable Error |
Ingo
Replies: 18
Views: 20866
|
Forum: Support Posted: Thu Oct 11, 2012 12:28 pm Subject: |
SUBROUTINE IntegrateSpeed(Thrust,MassActual,Massflow,Alpha,g,Gamma,Density,Dref,CD,Timestep,v0,Drag,v1)
! This Subroutine will integrate the speed value.
! It takes speed and other parameters from ... |
Topic: Undefined Variable Error |
Ingo
Replies: 18
Views: 20866
|
Forum: Support Posted: Thu Oct 11, 2012 12:22 am Subject: Undefined Variable Error |
I recently changed a few equations in a subroutine of my program and now it's giving me the Error 112 when I try to run it. I also get a couple of Error 58's but I edited the project properties to ign ... |
|