/usr/include/libderiv/libderiv.h is in libint-dev 1.2.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | /*
* Copyright (C) 1996-2017 Edward F. Valeev and Justin T. Fermann
*
* This file is part of Libint.
*
* Libint is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Libint is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Libint. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef _psi3_libderiv_h
#define _psi3_libderiv_h
#include <libint/libint.h>
/* Maximum angular momentum of functions in a basis set plus 1 */
#define LIBDERIV_MAX_AM1 5
#define LIBDERIV_MAX_AM12 4
#ifdef DERIV_LVL
#undef DERIV_LVL
#endif
#define DERIV_LVL 2
typedef struct {
double *int_stack;
prim_data *PrimQuartet;
double *zero_stack;
double *ABCD[12+144];
double AB[3];
double CD[3];
double *deriv_classes[9][9][12];
double *deriv2_classes[9][9][144];
double *dvrr_classes[9][9];
double *dvrr_stack;
} Libderiv_t;
#ifdef __cplusplus
extern "C" {
#endif
extern void (*build_deriv1_eri[5][5][5][5])(Libderiv_t *, int);
extern void (*build_deriv12_eri[4][4][4][4])(Libderiv_t *, int);
void init_libderiv_base();
int init_libderiv1(Libderiv_t *, int max_am, int max_num_prim_quartets, int max_cart_class_size);
int init_libderiv12(Libderiv_t *, int max_am, int max_num_prim_quartets, int max_cart_class_size);
void free_libderiv(Libderiv_t *);
int libderiv1_storage_required(int max_am, int max_num_prim_quartets, int max_cart_class_size);
int libderiv12_storage_required(int max_am, int max_num_prim_quartets, int max_cart_class_size);
#ifdef __cplusplus
}
#endif
#endif
|