Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. minger88

    Using comments in input files

    Likewise you could just put your comments after the variable. Mine usually look like: 2.0 ! constant 1 4 ! constant 2 .true. ! constant 3 etc
  2. minger88

    Limit Access to executable by date

    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.
  3. minger88

    Tridiagonal Algoritm

    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.
  4. minger88

    Multiblock Plot3d Problem

    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...
  5. minger88

    Array troubles help appreciated

    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.
  6. minger88

    FORTRAN OPEN/READ Help

    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...
  7. minger88

    FORTRAN OPEN/READ Help

    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...

Part and Inventory Search

Back
Top