Ejemplo n.º 1
0
int main(int argc, char *argv[]) {
  printf("dx = %g, xmax = %g\n", dx, xmax);
  if (argc != 3) {
    fprintf(stderr, "Usage: %s FILLINGFRACTION kT\n", argv[0]);
    exit(1);
  }
  double temp = 0;
  double eta = 0;
  sscanf(argv[2], " %lg", &temp);
  sscanf(argv[1], " %lg", &eta);

  run_soft_sphere(eta, temp);
  return 0;
}
Ejemplo n.º 2
0
int main(int argc, char *argv[]) {
  printf("version %s\n", version_identifier());
  printf("dx = %g, xmax = %g\n", dx, xmax);
  if (argc != 3) {
    fprintf(stderr, "Usage: %s FILLINGFRACTION kT\n", argv[0]);
    exit(1);
  }

  double temp = 0;
  double reduced_density = 0;
  sscanf(argv[1], " %lg", &reduced_density);
  sscanf(argv[2], " %lg", &temp);

  run_soft_sphere(reduced_density, temp);
  return 0;
}