added potential header files
[physik/posic.git] / potentials / harmonic_oscillator.h
diff --git a/potentials/harmonic_oscillator.h b/potentials/harmonic_oscillator.h
new file mode 100644 (file)
index 0000000..c9c9891
--- /dev/null
@@ -0,0 +1,20 @@
+/*
+ * harmonic_oscillator.h - harmonic oscillator potential header file
+ *
+ * author: Frank Zirkelbach <frank.zirkelbach@physik.uni-augsburg.de>
+ *
+ */
+
+#ifndef HARMONIC_OSCILLATOR_H
+#define HARMONIC_OSCILLATOR_H
+
+/* types */
+typedef struct s_ho_params {
+       double spring_constant;
+       double equilibrium_distance;
+} t_ho_params;
+
+/* function prototype */
+int harmonic_oscillator(t_moldyn *moldyn,t_atom *ai,t_atom *aj,u8 bc);
+
+#endif