- #1
Jamil
- 8
- 0
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.
The code is:
Could anyone help me?? Thank you!
It is importan for the distribution to have sigma defined.
The code is:
Fortran:
PARAMETER (N=125)
INTEGER (SELECTED_INT_KIND(4)) I !Átomo I-ésimo
REAL, DIMENSION(1:N):: VX(N), VY(N), VZ(N)
DO 200 I=1,N
VX(I)=?¿
VY(I)=?¿
VZ(I)=?¿
ENDDO