/usr/include/libr12/libr12.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 65 | /*
* 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_libr12_h
#define _psi3_libr12_h
#include <libint/libint.h>
/* Maximum angular momentum of functions in a basis set plus 1 */
#define LIBR12_MAX_AM 5
#define LIBR12_OPT_AM 4
#define NUM_TE_TYPES 4
typedef struct {
REALTYPE AB[3];
REALTYPE CD[3];
REALTYPE AC[3];
REALTYPE ABdotAC, CDdotCA;
} contr_data;
typedef struct {
REALTYPE *int_stack;
prim_data *PrimQuartet;
contr_data ShellQuartet;
REALTYPE *te_ptr[NUM_TE_TYPES];
REALTYPE *t1vrr_classes[9][9];
REALTYPE *t2vrr_classes[9][9];
REALTYPE *rvrr_classes[9][9];
REALTYPE *gvrr_classes[10][10];
REALTYPE *r12vrr_stack;
} Libr12_t;
#ifdef __cplusplus
extern "C" {
#endif
extern void (*build_r12_gr[5][5][5][5])(Libr12_t *, int);
extern void (*build_r12_grt[5][5][5][5])(Libr12_t *, int);
void init_libr12_base();
int init_libr12(Libr12_t *, int max_am, int max_num_prim_quartets);
void free_libr12(Libr12_t *);
int libr12_storage_required(int max_am, int max_num_prim_quartets);
#ifdef __cplusplus
}
#endif
#endif
|