corrected include
authorhackbard <hackbard@sage.physik.uni-augsburg.de>
Mon, 10 Sep 2007 12:43:58 +0000 (14:43 +0200)
committerhackbard <hackbard@sage.physik.uni-augsburg.de>
Mon, 10 Sep 2007 12:43:58 +0000 (14:43 +0200)
posic.h

diff --git a/posic.h b/posic.h
index 214f07d..18d14d9 100644 (file)
--- a/posic.h
+++ b/posic.h
@@ -12,6 +12,7 @@
 
 #define _GNU_SOURCE
 
+// system
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include <math.h>
 
+// swapped out functions
 #include "math/math.h"
 #include "list/list.h"
 #include "visual/visual.h"
 #include "random/random.h"
 
+// potentials
 #include "potentials/harmonic_oscillator.h"
 #include "potentials/lennard_jones.h"
 #include "potentials/albe.h"
+#ifdef TERSOFF_ORIG
 #include "potentials/tersoff_orig.h"   // obsolete & wrong! ;)
+#else
 #include "potentials/tersoff.h"
+#endif
 
 /* defines */