Search:

Type: Posts; User: benner

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,893

    Problem in Viewing Output File in VMD

    I am doing a Monte Carlo Simulation on Argon and viewing the output file using VMD. Here is the part of that file:
    21 10.000000 10.000000 10.000000 Ar 0.303895 4.327322 ...
  2. Here is the first part of the program: ...

    Here is the first part of the program:


    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>


    int n_atoms; //number of atoms in the file
    char space[3]; //for holding blank lines...
  3. Thank you for the reply :) . I followed your...

    Thank you for the reply :) . I followed your instructions and I get this:
    Starting program: /home/lenovo/Desktop/m Output the calculated total energy Program received signal SIGSEGV,...
  4. Thank you for the reply. I am using Ubuntu...

    Thank you for the reply.

    I am using Ubuntu 11.10. It compiles correctly but when I do the ./a.out I get segmentation fault. I think it is on the function call made in int main.
  5. Printing the Output for Lennard Jones Potential Energy

    I am trying to make a program for Metropolis Monte Carlo Simulation. I am still on the first two steps of the program. My problem is on how to output the the number of atoms, distance between two...
  6. Replies
    2
    Views
    1,214

    N by N Determinant

    I am trying to make a program for n by n determinant. This program compiles correctly but it does not give a correct answer. I don't know why?



    int Determinant(int m[DIM][DIM],int size);
    int...
Results 1 to 6 of 6