Author |
Message |
Topic: Fortran 2003 and 2008 features |
Kenneth_Smith
Replies: 147
Views: 54445
|
Forum: Suggestions Posted: Fri Mar 24, 2023 12:42 pm Subject: |
Earlier in this discussion we talked about exactly what the ASSOCIATE construct does.
Following its recent addition to FTN95, the program below which uses the trapezoidal method to integrate a set ... |
Topic: Porting SLATEC Library -- Undocumented routines in SALFLIBC |
Kenneth_Smith
Replies: 44
Views: 2824
|
Forum: Support Posted: Wed Mar 22, 2023 9:31 am Subject: |
Well done.
Proof that the statement by Ellis in his text “Fortran 77 Programming” published 33 years ago, “Programs written in Fortran 77 will have life well into the 21st century”, was not in e ... |
Topic: Porting SLATEC Library -- Undocumented routines in SALFLIBC |
Kenneth_Smith
Replies: 44
Views: 2824
|
Forum: Support Posted: Mon Mar 20, 2023 11:50 am Subject: |
mecej4,
I produced this using RFFTF1.
https://www.dropbox.com/s/zlc7dyrtbd86ldt/fft.png?dl=0
Basically extracting the harmonic content of a signal which is hidden within random noise.
Not ... |
Topic: Locating x, y on the display |
Kenneth_Smith
Replies: 2
Views: 149
|
Forum: General Posted: Sun Mar 19, 2023 4:17 pm Subject: |
Please provide a simple example program that demonstrates what you program presently does, and describe what you wish it to do.
I suspect, that you need to understand the use of the Fortran format ... |
Topic: Porting SLATEC Library -- Undocumented routines in SALFLIBC |
Kenneth_Smith
Replies: 44
Views: 2824
|
Forum: Support Posted: Sun Mar 19, 2023 11:52 am Subject: |
mecej4,
Final version of the eigenvalue example can be found here.
https://www.dropbox.com/s/lggp8hvaufa7hm5/ieee4.f95?dl=0
Incorrect labels (mode numbers) in the graphics output corrected ... |
Topic: if (my_iostat/=0) then |
Kenneth_Smith
Replies: 2
Views: 155
|
Forum: General Posted: Fri Mar 17, 2023 11:21 pm Subject: |
You should be able to work it all out from this short program.
program t
implicit none
integer i, j
i = 1
j = 0
! Six relational operators in Fortran
! Prints T for true, F for ... |
Topic: Porting SLATEC Library -- Undocumented routines in SALFLIBC |
Kenneth_Smith
Replies: 44
Views: 2824
|
Forum: Support Posted: Fri Mar 17, 2023 3:06 pm Subject: |
Mecej4,
Thanks for sharing both of these links.
The Energiforsk document appears to be mostly drawn from an earlier EPRI report which is on my desk, updated to reflect the more recent advanc ... |
Topic: Porting SLATEC Library -- Undocumented routines in SALFLIBC |
Kenneth_Smith
Replies: 44
Views: 2824
|
Forum: Support Posted: Thu Mar 16, 2023 11:02 am Subject: |
mecej4,
A revised version can be found here:
PS I can see a way of fixing all of these issues. But it will be some time before I can implement this, as there a a few other urgent things on the ... |
Topic: Request for extension |
Kenneth_Smith
Replies: 15
Views: 523
|
Forum: ClearWin+ Posted: Wed Mar 15, 2023 9:24 pm Subject: |
Dan, take a look at the %pl[stacked] option. |
Topic: Running the Fortran Ide |
Kenneth_Smith
Replies: 2
Views: 178
|
Forum: Support Posted: Tue Mar 14, 2023 11:02 pm Subject: |
This may help.
https://www.youtube.com/watch?v=7P8vPlCPxuk |
Topic: Porting SLATEC Library -- Undocumented routines in SALFLIBC |
Kenneth_Smith
Replies: 44
Views: 2824
|
Forum: Support Posted: Tue Mar 14, 2023 7:42 pm Subject: |
mecej4,
Below is a link to another example (a well known problem in the electrical world) which uses the some of the SLATEC eigenvalue and eigenvector routines.
Here is a better, tidied up versi ... |
Topic: Porting SLATEC Library -- Undocumented routines in SALFLIBC |
Kenneth_Smith
Replies: 44
Views: 2824
|
Forum: Support Posted: Sun Mar 12, 2023 9:25 pm Subject: |
mecej4,
Thanks I should have spotted that. So no problems with this example.
The Scotland vs. Ireland rugby match as on the television when I was looking at this, which may have distracted me ... |
Topic: Porting SLATEC Library -- Undocumented routines in SALFLIBC |
Kenneth_Smith
Replies: 44
Views: 2824
|
Forum: Support Posted: Sun Mar 12, 2023 8:08 pm Subject: |
mecej4,
My initial version was much longer and included a call to an initial routine to bracket the roots, rather than expanding the search space based on iflag returned from FZERO.
I was not wa ... |
Topic: Porting SLATEC Library -- Undocumented routines in SALFLIBC |
Kenneth_Smith
Replies: 44
Views: 2824
|
Forum: Support Posted: Sat Mar 11, 2023 12:32 pm Subject: |
mecej4,
I had some fun yesterday evening examining IFLAG from FZERO and came up with another example for you to consider.
! EXAMPLE (Use of Slatec routines BESJ0 and FZERO)
!
! The p ... |
Topic: Porting SLATEC Library -- Undocumented routines in SALFLIBC |
Kenneth_Smith
Replies: 44
Views: 2824
|
Forum: Support Posted: Thu Mar 09, 2023 5:29 pm Subject: |
mecej4,
The integration subroutine DGAUS8 is also fine for both 32 and 64 bit dlls.
The following program (which you may wish to adapt as a further example) demonstrates DGAUS8 and was developed ... |
|