Where to find Module nr Used in F90 Sub [B]SvdCmp_dp[/B]() ??
monir
07-28-2010, 09:35 AM
Hello;
I'm replacing F77 Sub SvdCmp() in one of my algorithms with Sub SvdCmp_dp().
In the process I'm also converting gradually but slowly to F90 construct!
The NR F90 Sub SvdCmp_dp(a,w,v), listed in Chapter B2, page 1026, uses Modules nrtype and nrutil.
In addition, it also uses:
USE nr, ONLY : pythag
So far I haven't been able to locate Module nr
Can someone please direct me to where to find it ??
Thank you kindly.
Monir
MPD78
07-28-2010, 09:45 AM
The modules are located in appendix C1
http://www.nrbook.com/a/bookf90pdf/chap2c1f9.pdf
You can probably just type in the nrtype module but the nrutil is quite long.
I don't use the fortran recipes so that is about as much help as I can give.
Thanks
Matt
monir
07-28-2010, 10:12 AM
Matt;
Thank you for your prompt reply.
Appendix C1 "Listing of Utility Modules
(nrtype and nrutil)" doesn't include Module nr.
I'm sure the module is somewhere since it is extensively used by almost all the NR F90 routines.
I just couldn't locate it!
Kind regards.
Monir
MPD78
07-28-2010, 10:25 AM
utility nr is listed in appendix C2
http://www.nrbook.com/a/bookf90pdf/chap2c2f9.pdf
Thanks
Matt
monir
07-28-2010, 11:56 AM
Matt;
You're absolutely correct!
Believe it or not, I had looked everywhere for MODULE nr with no luck. In NR F90 electronic files, google search using different keywords, diff NR sites, my personal tech notes, etc.
Never looked in:
"Appendix C2, p. 1384: "Alphabetical Listing of Explicit Interfaces"
I (mistakenly) had expected the name of something that important and crucial to the use of the NR F90 routines to be in the title of the Appendix. Keep in mind the module is 50 page long and it is the ONLY module listed in Appendix C2.
Thank you once again for your tremendous help.
Kind regards.
Monir
MPD78
07-28-2010, 01:21 PM
I am glad to be of use.
I hope you don't have to type all 50 pages in.
Thanks
Matt