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 dencom 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: *

  • Users: byter101
  • Content: Threads
  • Order by date
  1. byter101

    use of enum() and format() in fortran

    hello, how does an "enum" array work, as in below? I understand the exp() function. enum(i)=enum(i)*exp(-0.8/24) there's a simpler line elsewhere: enum(i)=0 but i can't figure it out. additionally, what is "format()" doing, what purpose does that darn 1007 serve, and what would this...
  2. byter101

    what does ** mean in fortran?

    herro, i have a line: t1=2.0/(6316.0*zwtemp(ix,iy,iz)**(-1.55)+13609.0*zwtemp(ix,iy,iz)**(-1.86)) can anyone tell me what it does? specifically what the double asterisks are? (i'm assuming the single asterisk is a multiply) thank yous
  3. byter101

    using an array between C and FORTRAN

    Hello, I cannot get a 3D array to work properly between c and fortran. I put it in the fortran file (for.f90): COMMON/ENVREAL/zwtemp(3,3,3) so it should be global, then in the C file (c.c) it is: extern struct { double long zwtemp[3][3][3]; } envreal_; yet when I try to assign a number...
  4. byter101

    using external variable files

    Hello, I am dealing with a program that uses a file (called vars.i) which is basically a text file that contains a list of variables (integers and reals) that the program accesses throughout its execution. can anyone explain how this interaction works between the file and the .f90 file? like...

Part and Inventory Search

Back
Top