First  |  Prev |  Next  |  Last
Pages: 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
Type specification and initialization expressions
James Giles wrote: .... The following has been discussed before and I think was determined to be non-standard for the same reason: Real :: X(5), Y(size(x)) By Steve's response it's clear that I mis-remembered the case. The one that I recalled must have been something like: Real :: X(4) = size(... 1 Feb 2008 14:13
computing Bernoulli numbers
I would like to implement a routine to compute floating point Bernoulli numbers. After reading through the thread http://groups.google.be/group/sci.math.num-analysis/browse_thread/thread/88cab7bfaf115f6d/671edcdf8ebc5523?hl=nl&lnk=st&q=#671edcdf8ebc5523 it seemed to me that equation (23.2.16) that uses the R... 1 Feb 2008 00:44
Fortran 2003: abstract interfaces
Hello, I have a question about abstract interfaces and actual procedures in Fortran 2003: Suppose I have such code as: abstract interface subroutine dothis( ... ) .... end subroutine end interface This abstract interface is part of a typ definition. How do I specify that a particular ro... 1 Feb 2008 11:25
Automatically transform or expand do loop in a subroutine
Hi All, I knew following piece of code will not be compiled, at least with Compaq Visual Fortran. My intention of this code is to let the compiler automatically transform or expand the loop inside the function (I do not care the code size) if the caller has a SMALL CONSTANT integer 'd' in its argument list when ... 2 Feb 2008 08:33
How to quote the " character in a format statement?
Hi, This is a follow-up on my previous post, as it relates to generating valid TecPlot files. Given a vector of strings, I need to print out a string of the following form (with the quote characters in it). "string1" "string2" "string3" I was trying along the lines of "4('magic'A5'magic')" but I could not... 1 Feb 2008 00:44
passing a variable number of args/vectors to a routine
Mirko.Vukovic(a)gmail.com wrote: Hello, I am writing a module to produce TecPlot data files (in ASCII code). .... dump_loop: do iData=1,self%cData_pts select case (self%cDep_Profs) case (1) write (self%lu,*) vP1(iData) case (2) write (self%lu,*) vP1(... 1 Feb 2008 10:51
OT Launched - pictures from Andoya, Norway - Andenes, Bleik, and the rocket range
Hello, We launched, I am back, there are photos of our launch at the range http://www.rocketrange.no/ just look for Scifer2. Sincerely Kevin --------------------------------------- Hello All, While at the Andoya Rocket Range near Andenes, Norway for the Scifer2 (NSROC 40.021) Sounding Rocket Launch, I ... 1 Feb 2008 00:44
Did anyone manage to get MATRAN compiled with g95?
Hello On browsing www.g95.org, I have noticed that MATRAN is said to work with g95. So I download the tar file and under msys, I issued the command make (Of course I changed f95 to g95). The result was a series of error messages. Does anyone have the exact configuration to get MATRAN compiled under g95? ... 1 Feb 2008 00:44
The concept of a record
I found it hard to understand the concept of a record in Fortran I/O. Here are some of the questions I have about it. 1. one record is equivalent to one line? 2. Each read, write or print statement deal transfer one record? 3. What if in one write statement I want output several values? Will they be treated ... 1 Feb 2008 00:44
Allocatable Arrays As Outputs
Hi All, first of all, please forgive my poor mastering of Fortran. I am still a beginner who uses Fortran sporadically. I have a subroutine in which I declare 4 output variables as allocatable. This is because, a priori, I don't know their lengths (they're all one-dimensional vectors), and I discover this ... 1 Feb 2008 00:44
First  |  Prev |  Next  |  Last
Pages: 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54