forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1449 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
45cb5f891d
commit
19dbbe99f5
|
@ -16,6 +16,9 @@
|
||||||
open-source XDR routines from
|
open-source XDR routines from
|
||||||
Frans van Hoesel (http://md.chem.rug.nl/hoesel)
|
Frans van Hoesel (http://md.chem.rug.nl/hoesel)
|
||||||
are also included in this file
|
are also included in this file
|
||||||
|
Axel Kohlmeyer (UPenn)
|
||||||
|
port to platforms without XDR support
|
||||||
|
added support for unwrapped trajectories
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
|
@ -44,12 +47,6 @@ int xdrclose(XDR *);
|
||||||
void xdrfreebuf();
|
void xdrfreebuf();
|
||||||
int xdr3dfcoord(XDR *, float *, int *, float *);
|
int xdr3dfcoord(XDR *, float *, int *, float *);
|
||||||
|
|
||||||
// include XDR compatibility code
|
|
||||||
|
|
||||||
#ifdef LAMMPS_USE_XDR_COMPAT
|
|
||||||
#include "xdr_compat.c"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
||||||
DumpXTC::DumpXTC(LAMMPS *lmp, int narg, char **arg) : Dump(lmp, narg, arg)
|
DumpXTC::DumpXTC(LAMMPS *lmp, int narg, char **arg) : Dump(lmp, narg, arg)
|
||||||
|
|
|
@ -714,4 +714,9 @@ xdrstdio_putuint32 (XDR *xdrs, xdr_uint32_t *ip)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
/* satisfy compilers that do not like to compile empty files. */
|
||||||
|
static void i_am_a_dummy_subroutine(void) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue