Commit 2712b681 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5150 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 890d2a25
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -43,6 +43,12 @@ void lammps_open(int argc, char **argv, MPI_Comm communicator, void **ptr)
  *ptr = (void *) lmp;
}

void *lammps_open2(int argc, char **argv, MPI_Comm communicator)
{
  LAMMPS *lmp = new LAMMPS(argc,argv,communicator);
  return (void *) lmp;
}

/* ----------------------------------------------------------------------
   destruct an instance of LAMMPS
------------------------------------------------------------------------- */
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ extern "C" {
#endif

void lammps_open(int, char **, MPI_Comm, void **);
void *lammps_open2(int, char **, MPI_Comm);
void lammps_close(void *);
void lammps_file(void *, char *);
char *lammps_command(void *, char *);