Recent content by Jamil
-
J
Normal distribution starting with a uniformed distribution
thank you! I have seen this algorithm before, but with sigma=1. It is very useful to my proyect! Thans again! :smile:- Jamil
- Post #3
- Forum: Programming and Computer Science
-
J
Normal distribution starting with a uniformed distribution
Hi comunity! I need to make a code o a normal distribution of velocities, starting whit a random secuence uniformly distributed between [0,1]. I am using FNT95, with Plato. I want to obtain a ''for'' bucle with I=1,N for the velocities. It is importan for the distribution to have sigma defined...- Jamil
- Thread
- Code Distribution Fortran Gaussian distribution Initial conditions Initial state Normal Normal distribution
- Replies: 2
- Forum: Programming and Computer Science
-
J
Fortran Problem with initial state in FORTRAN
Thank you for you help! I have solved the problem! :smile:- Jamil
- Post #13
- Forum: Programming and Computer Science
-
J
Fortran Problem with initial state in FORTRAN
The function named RANDOM_NORMAL_MOD is defined in other page.- Jamil
- Post #9
- Forum: Programming and Computer Science
-
J
Fortran Problem with initial state in FORTRAN
I am using FORTRAN 95, and the error message is: ''Error 112, reference to undefined variable, array element or function result (/UNDEF)'' Thanks for your interest! :smile:- Jamil
- Post #8
- Forum: Programming and Computer Science
-
J
Fortran Problem with initial state in FORTRAN
the problem is in : IF (RX(I) > L*0.5) RX(I)=RX(I)-L IF (RX(I) < -L*0.5) RX(I)=RX(I)+L IF (RY(I) > L*0.5) RY(I)=RY(I)-L IF (RY(I) < -L*0.5) RY(I)=RY(I)+L IF (RZ(I) > L*0.5) RZ(I)=RZ(I)-L IF (RZ(I) < -L*0.5) RZ(I)=RZ(I)+L but I don't know why. o_O- Jamil
- Post #5
- Forum: Programming and Computer Science
-
J
Fortran Problem with initial state in FORTRAN
error 112: reference to undefined variable, array element or function result. Thank you jtbell!- Jamil
- Post #3
- Forum: Programming and Computer Science
-
J
Fortran Problem with initial state in FORTRAN
I have created an initial state code with perodic boundary conditions and normal distribution of velocities. I not know where is the problem, when I compile the computer detect the 112 error. Could anyone help me please? Thanks! the code is...- Jamil
- Thread
- Fortran Fortran95 Initial Initial state Physics problems State
- Replies: 12
- Forum: Programming and Computer Science