]> hackdaworld.org Git - physik/posic.git/blob - potentials/harmonic_oscillator.h
introduce a 2body bond function with callback, modified pair corr calc
[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