Psi4
globaldefs.h
Go to the documentation of this file.
1 /*
2  * @BEGIN LICENSE
3  *
4  * Psi4: an open-source quantum chemistry software package
5  *
6  * Copyright (c) 2007-2017 The Psi4 Developers.
7  *
8  * The copyrights for code used from other parties are included in
9  * the corresponding files.
10  *
11  * This file is part of Psi4.
12  *
13  * Psi4 is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU Lesser General Public License as published by
15  * the Free Software Foundation, version 3.
16  *
17  * Psi4 is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License along
23  * with Psi4; if not, write to the Free Software Foundation, Inc.,
24  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25  *
26  * @END LICENSE
27  */
28 
33 /*
34 ** GLOBALDEFS.H
35 **
36 ** Global defines for DETCAS
37 **
38 ** C. David Sherrill
39 ** University of California, Berkeley
40 ** April 1998
41 **
42 */
43 
44 #ifndef _psi_src_bin_detcas_globaldefs_h
45 #define _psi_src_bin_detcas_globaldefs_h
46 
47 namespace psi { namespace detcas {
48 
49 #define MAX_RAS_SPACES 4
50 #define IOFF_MAX 50604
51 #ifdef INDEX
52 #undef INDEX
53 #endif
54 #define INDEX(i,j) ( (i>j) ? (ioff[(i)] + (j)): (ioff[(j)] + (i)) )
55 #define MIN0(a,b) (((a)<(b)) ? (a) : (b))
56 #define MAX0(a,b) (((a)>(b)) ? (a) : (b))
57 #define MAX_COMMENT 10
58 
59 }} // end namespace psi::detcas
60 
61 #endif // header guard