If you don't need it very secure, you could just use the DATE or DATE_AND_TIME intrinsics to grab the date. Then parse it into an integer. From there, just have your program inside one giant IF loop. Compile and enjoy.
The easiest way is the Thomas Algorithm. You basically sweep down the i-1 diagonal by using the i (main) diagonal. Then back substitute when you get to the bottom.
They are quite easy to code once you get a pseudo-code going of what you need to do.
Hello, I have a seemingly simple problem that I cannot solve. I am trying to read in a multiblock plot3D formatted file, and given a block number, write out a single block plot3D formatted file for just that block. It seems like it should be rather easy, but I am having problems. My code is...
You can simply use array intrinsics
MAXVAL/MINVAL to give the max and min values of an array, and:
MAXLOC/MINLOC to give the array position of those values.
Actually, I misunderstood the format. It actually has all of the points on one line.
So, the first line is the numblocks. The second line is the xmax, ymax, and zmax just like before. But, the third (or fourth in my case) line is one long line of all of the x points for the first block, the all...
First off, I would say my knowledge of FORTRAN is novice. I am working in CFD research. I have looked at some resources, and conceptually, I know how to go about opening and reading files, but I am completely stumped on this one. Here's what I need to do (it may be more familiar for people with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.