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

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

    call perl in fortan

    Dear all, Thank you for your previous responses. I wrote a perl script which clears comments (text following '#' in any line) and empty lines from a fortran input file. Some of my inputs are very lengthy so I write comments followed by '#'. Before using the input as such, I use the script to...
  2. raghu81

    Process grid data

    Dear all, I have a grid based data which is a 3-D array data(N1,N2,N3) where N1 = (x_max - x_min + step_x) / step_x N2 = (y_max - y_min + step_y) / step_y N3 = (z_max - z_min + step_z) / step_z x_min is the minimum value for the x-coordinate x_max is the maximum value for the x-coordinate...
  3. raghu81

    how to avoid multiple do loops

    Dear all, In a code which I have been trying to generalize, I have an array of integers for ex., A = [1, 2, 3] then I have multiple do loops as do i1 = 1, A(1) do i2 = 1, A(2) do i3 = 1, A(3) ... ... enddo enddo enddo I want to generalize this code so that...
  4. raghu81

    Use cpp function ASSERT in fortran

    Hi, I am looking for a way to use the c++ ASSERT function in a fortran code like for ex., allocate (a(10,10), stat=memstat) ASSERT(memstat==0) I am looking for a way to define the 'ASSERT' function in a header file and include some error msg with line numbers etc. and use it. Can any body...
  5. raghu81

    help with DISLIN

    Hi all, I am trying to use the DISLIN plotting interface with gfortran in ubuntu. I managed to install DISLIN, but i always get error messages when i try to link the .o file. I followed an example from the site http://de.wikibooks.org/wiki/Fortran:_DISLIN code: hello.f90 -----------------...
  6. raghu81

    Matrix direct sum

    Hello everyone, Thanx for the previous answers. Spl thanx to xwb. I need help in coding matrix direct sum. I have 'n' matrices of varying size. I want to read them as a single matrix as the direct sum of all the 'n' matrices. I have 'n' matrices P(n) and the sizes of the matrices Size(n). I...
  7. raghu81

    Using comments in input files

    Hello everyone, I am writing some programs in GFortran for educational purposes. For some programs, the input files have a lot of data and I like to mark them with comments using special symbols for ex., "#" Can any one suggest me a way to make the program ignore the comment line which is...
  8. raghu81

    Fortran character set

    Hi everyone, I am new to this field and my question may be stupid. I see in text books [e.g. Fortran 95/2003 for Scientists and Engineers, Stephen J. Chapman, P. No. 23] on Fortran that the Fortran 95 character set consists of 86 symbols but when I count them from the table given in the books I...
  9. raghu81

    Fortran character set

    Hi everyone, I am new to this field and my question may be stupid. I see in text books [e.g. Fortran 95/2003 for Scientists and Engineers, Stephen J. Chapman, P. No. 23] on Fortran that the Fortran 95 character set consists of 86 symbols but when I count them from the table given in the books I...

Part and Inventory Search

Back
Top