First  |  Prev |  Next  |  Last
Pages: 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
GMT - Local Time Converting along with DATE, MONTH and YEAR
Dear Everyone: From time to time, I need to call a routine to compute the solar zenith angle and solar azimuth angle, and I need to provide the YEAR, MONTH and DATE and GMT as well as the LONGITUDE of the concerned location. Around the end/beginning of a month and/or a year, the converting of time involves th... 22 Jun 2010 03:55
F2003's get_command_argument() intrinsic
All, I was reading through the description of get_command_argument(). It has the form get_command_argument(number [, value, length, status]) where number is the argument number that one wants information. value, length, and status are option, and from the description none of these are required. Thus. pro... 20 Jun 2010 13:27
looking for some advice on program organization
Hello everyone, I'm learning a little bit about organization in fortran, and was wondering, if I could trouble you for a bit of answers on some questions - well, ... advice more, actually. The answers I'll find in a manual, but good experience is hard to come by. The structure of most of my programs (f77 mostl... 24 Jun 2010 11:49
Functions with side effects in I/O list
The following code definitely is ill-advised (a function changing its arguments is not a good idea). Is it also illegal? module foo implicit none contains integer function f(i) integer, intent(inout) :: i i = i + 1 f = i end function f end module foo program main use foo implicit... 19 Jun 2010 15:39
Random number in Fortran 90/95
I would get random (maybe it is more correct 'pseudorandom') numbers with distribution [0,1] I try this wrong code: PROGRAM RANDOMIZE IMPLICIT NONE INTEGER :: SEED REAL :: HARVEST REAL, DIMENSION(4,4) :: HARVEYS CALL RANDOM_NUMBER(HARVEST) ... 12 Jul 2010 11:47
preprocessing issue with Visual Studio
To demonstrate this issue, I created three files. The first 'dim.h' is a head file with a variable definition in it: #define dim 2 The second file 'typ_boundary.f90' contains a module definition: #include "dim.h" #if (dim==2) MODULE TypBoundary_2D #elif (dim==3) MODULE TypBoundary_3D #endif INTEGE... 19 Jun 2010 01:35
Compile and link optimization using gfortran
On Jun 19, 12:24 am, steve <kar...(a)comcast.net> wrote: On Jun 18, 8:22 pm, Hifi-Comp <wenbinyu.hea...(a)gmail.com> wrote: It is a revisit a problem I posted some time ago. However, the problem is not completely resolved. I have a code as follows to test the efficiency of OO. Oddly, you haven't ... 25 Jun 2010 10:57
Commercial Fortran Compilers
I am in the market for a single copy of a commercial* Fortran compiler to use under Windows. I'm seeking advice on the options. Because I am a one-man, part-time consulting shop, price is important. Lahey Express is cheap, but apparently it's not being updated any more. Intel and Absoft both seem good and curre... 24 Jun 2010 18:35
Why was SPREAD left out of initialization expressions?
I know RESHAPE is allowed in Fortran-95+ initialization expressions, but why is its "cousin" SPREAD not allowed? Al Greynolds www.ruda-cardinal.com ... 17 Jun 2010 15:37
Interoperability with C, Interoperability of global data in INTEL FORTRAN 11.1
A module variable can not interoperate with a C global variable when I use intel fortran 11.1.065 or 11.1.053 the source code: C language: ----------------------------------------------------------------------------------------------- #include <stdio.h> int entier_externe; double double_externe; extern "C" ... 17 Jun 2010 22:16
First  |  Prev |  Next  |  Last
Pages: 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26