3
#include <libdpd/dpd.h>
7
double HXY(char *pert_x, char *cart_x, int irrep_x, double omega_x,
8
char *pert_y, char *cart_y, int irrep_y, double omega_y)
15
sprintf(lbl, "Z_%s_%1s_IA", pert_y, cart_y);
16
dpd_file2_init(&z, CC_TMP0, irrep_y, 0, 1, lbl);
18
sprintf(lbl, "X_%s_%1s_IA (%5.3f)", pert_y, cart_y, omega_y);
19
dpd_file2_init(&Y1, CC_OEI, irrep_y, 0, 1, lbl);
20
dpd_buf4_init(&I, CC_DINTS, 0, 0, 5, 0, 5, 0, "D 2<ij|ab> - <ij|ba>");
21
dpd_dot24(&Y1, &I, &z, 0, 0, 1, 0);
25
sprintf(lbl, "X_%s_%1s_IA (%5.3f)", pert_x, cart_x, omega_x);
26
dpd_file2_init(&X1, CC_OEI, irrep_x, 0, 1, lbl);
27
polar = 2.0 * dpd_file2_dot(&X1, &z);