c9c9891c56e5c1e9e37d946d38dfbdef6001d042
[physik/posic.git] / potentials / harmonic_oscillator.h
1 /*
2  * harmonic_oscillator.h - harmonic oscillator potential header file
3  *
4  * author: Frank Zirkelbach <frank.zirkelbach@physik.uni-augsburg.de>
5  *
6  */
7
8 #ifndef HARMONIC_OSCILLATOR_H
9 #define HARMONIC_OSCILLATOR_H
10
11 /* types */
12 typedef struct s_ho_params {
13         double spring_constant;
14         double equilibrium_distance;
15 } t_ho_params;
16
17 /* function prototype */
18 int harmonic_oscillator(t_moldyn *moldyn,t_atom *ai,t_atom *aj,u8 bc);
19
20 #endif