Search results

  1. A

    Fortran Fortran Forum

    thanks, the code in the main function call some subroutines to produce a complex matrix and let the function return this matrix to the main program, actually I've everything correct and the function produce the right matrix,.......just I have a problem of return this matrix t the main program...
  2. A

    Fortran Fortran Forum

    Hi everyone I've got a problem when I build a function, I need my function to produce a matrix, then I called the function in the main program by its name to give the matrix to the main program, but it does not work at all, I mean the matrix is computed correctly in the function but I failed to...
  3. A

    Fortran Fortran Forum

    Hi, can I call a subroutine inside another subroutine in Fortran 77???, also can I call a function in a subroutine??? advance thank for help
  4. A

    Fortran Fortran Forum

    please try to make your own thread, and upload your question there, anyway I think you need to compile by the following commaand f95nag file_name
  5. A

    Fortran Fortran Forum

    I have a mesh on the interior of a square as a triangles grids, 950 points in the interior which construct 1890 triangles, with the connectivity how can I link these data to generate VTK format, as I need this format to be able to plot the data.
  6. A

    Fortran Fortran Forum

    Hi Mathmate I am looking for your help in this...... I would like to use this NAG routine ( D06AAF) as attached with the post , to generate a mesh on Rectangle,but it is not a clear for me where do I need to give the coordinates of my rectangle please help me out
  7. A

    LaTeX Gnuplot and Latex

    Hi have alook at this link, it explains how to add symbols like Greek letters http://t16web.lanl.gov/Kawano/gnuplot/label-e.html [Broken]
  8. A

    LaTeX Gnuplot and Latex

    Please could anyone give me a hand in this.......I've been struggling for a while of using GNUPLOT to plot a file of 3 columns as a contour plot, but it gave me warning message say {can not contour non grid data}, even I used the command set dgrid3d 10,10, 16 set dummy u,v set...
  9. A

    Fortran Fortran Forum

    can anyone show me how to search for a specific program such as Graphics tool or whatever on my computer, as I forget where is I installed, I mean which directory it is stored in??what is the shell command for this job???
  10. A

    Fortran Fortran Forum

    thanks mathmate for your help, how can have such profilers built-in, do I need to download anything, or how can I check cos I might have them on my unix machine... I did the command time, so it gave me real 0m0.000s user 0m0.000s sys 0m0.000s ------- so did the command time...
  11. A

    Fortran Fortran Forum

    anyone know how to measure the running time for a FORTRAN 77 code?is there any function for this purpose??
  12. A

    Fortran Fortran Forum

    anyone know how to configure a file as VTK file to be able to plot it by paraview??
  13. A

    Fortran Fortran Forum

    nooooooo not the area, I have some function with given value at points in the polygon with regular grids, what I need is how to code the numerical integral over the polygon, for example if I have a rectangle I will integrate by doing summation over the region by increasing x till the lenght and...
  14. A

    Fortran Fortran Forum

    how can I integrate a function(f(x)) on polygonal area numerically on each point we can start with double summation and multiply by dx, dy, but how can we end the summation? the double summation seems to be difficult to implemented as a code......
  15. A

    Fortran Fortran Forum

    small question on fomatting in f77, I typed the line below to write the data in a file, but the data being separated in two lines in the data file, the first 6 numbers in th first line of the data file then the last two numbers in the second line of the data file, how can we write them in one...
  16. A

    Fortran Fortran Forum

    Thanks mathmate, i meant the these two numbers 0.397583618 , 0.602416382 , are they rational or irrational? can one say that ..........( if the length of the side of the triangle are irrational number, then the angle will be irrational multiple of \pi?)
  17. A

    Fortran Fortran Forum

    let say for polygon, the length of the five sides are 2.82842712, 2.82842712, 2, 2.82842712, 4.47213595, and the angles are after diving by pi 0.5,0.75, 0.75, 0.397583618, 0.852416382 I wanna to know if the last two ones are rational or irrational, is there any role to distinguish between the...
  18. A

    Fortran Fortran Forum

    Hi MATHmate, I found the angle between two adjacent side in rectangle and then divide by \pi, as I need to know wheather the angles are rational or irrational multiple of \pi, I've got this number 0.397583618, how do I know WEATHER rational or irrational???
  19. A

    Fortran Fortran Forum

    Thanks Mathmate for your help, can I put the body of subroutine in separate file, and in the main program just write include 'subroutine_name.f' the same of including the numerical recipes...
  20. A

    Fortran Fortran Forum

    can anyone help me out in ......how to read a specific column id data file in FORTRAN 77, let say I have a data file of 5 columns , I need to read the third column.......
  21. A

    Fortran Fortran Forum

    thanks aloooooot......I am using unix, so what is the command to check weather I have it on not??? regarding to the linear system ......yes I've got the same as you've got manually........did you solve them by eliminating the variables, cos that is what I used to get my solutions....
  22. A

    Fortran Fortran Forum

    Please Mathmate can you help me out in this, I need to solve a system of linear equations with complex coefficients, so I have used the NAG routine F04CAF.F, pleas see the attached which are the F04CAF.F and my file which is just the NAG file updated abit and does work fine for the given test...
  23. A

    Fortran Fortran Forum

    Hi mathmate, how can I access such utility, what is the command shell for it.......cos I AM NOT SURE IF i HAVE it or no............:smile:
  24. A

    Fortran Fortran Forum

    As I had this guess because I made change in bounds of array, then it gives me this warning, but then I changed to the previous ones, but still giving me the killed warning message, and I have so many data files in my program.......... The matter is not a senstive code or not, but it is that...
  25. A

    Inner product of functions help

    Hi guys, I am really sorry if Ia m not allowed to post in this thread, but I added a subscription and I am struggling with a similar question, so I though I might get a help from a generous people in this thread...........it is QM context and I am new to this area, ............here I am trying...
  26. A

    Fortran Fortran Forum

    please mathmate can you help me in this Hi guys I have a code written by fortran 77, it has been working fine, but after I add some changes. I had compiled and does not give me any error messages, but when had the command ./a.out to display the results, it says killed, and I do not have no...
  27. A

    LaTeX Gnuplot and Latex

    ANYONE plaes show me how to add the time in Latex presentation and slide number??
  28. A

    What's the difference between initial conditions and boundary conditions?

    can anyone tell me what one means by these bracket \langle\psi(r)\psi^*(r) \rangle , is it integral or what?????and is there any idea how to calculate this integral \int\int{\mid\langle\psi(r)\psi^*(s)\rangle\mid}^ 2 dr ds
  29. A

    MATLAB Matlab contour labels for PDEs

    Hey Guys I would be grateful if you could have some time to look into my question, I am trying to do density plot (contour or surface or map)from a data file which has 3 columns.........the code below does not shows any errors, but also does not give any figure, I think may be the way I had...
  30. A

    Producing a graph plot of points in 2D/3D

    I have a data file of 3 column, I want to plot it in 3 dimension as a color map, I have apply this command set term postscript eps enhanced color set output "color.eps" set xrange [-4:0] set yrange [0:8] unset key set pm3d map splot 'file.xyz' with points but I did not get any plot, though the...
Top