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