Recent content by Jamil

  1. 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:
  2. 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...
  3. J

    Fortran Problem with initial state in FORTRAN

    Thank you for you help! I have solved the problem! :smile:
  4. J

    Fortran Problem with initial state in FORTRAN

    The function named RANDOM_NORMAL_MOD is defined in other page.
  5. 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:
  6. 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
  7. J

    Fortran Problem with initial state in FORTRAN

    error 112: reference to undefined variable, array element or function result. Thank you jtbell!
  8. 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...
Back
Top