~ubuntu-branches/ubuntu/quantal/psicode/quantal

« back to all changes in this revision

Viewing changes to src/bin/cints/init_globals.cc

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck, Michael Banck, Daniel Leidert
  • Date: 2009-02-23 00:12:02 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090223001202-rutldoy3dimfpesc
Tags: 3.4.0-1
* New upstream release.

[ Michael Banck ]
* debian/patches/01_DESTDIR.dpatch: Refreshed.
* debian/patches/02_FHS.dpatch: Removed, applied upstream.
* debian/patches/03_debian_docdir: Likewise.
* debian/patches/04_man.dpatch: Likewise.
* debian/patches/06_466828_fix_gcc_43_ftbfs.dpatch: Likewise.
* debian/patches/07_464867_move_executables: Fixed and refreshed.
* debian/patches/00list: Adjusted.
* debian/control: Improved description.
* debian/patches-held: Removed.
* debian/rules (install/psi3): Do not ship the ruby bindings for now.

[ Daniel Leidert ]
* debian/rules: Fix txtdir via DEB_MAKE_INSTALL_TARGET.
* debian/patches/01_DESTDIR.dpatch: Refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*! \file
 
2
    \ingroup CINTS
 
3
    \brief Initialise global variables.
 
4
*/
 
5
#include<cstdio>
 
6
#include<cstdlib>
 
7
#include<libint/libint.h>
 
8
#include<psifiles.h>
 
9
#include"defines.h"
 
10
#define EXTERN
 
11
#include"global.h"
 
12
#include <stdexcept>
 
13
 
 
14
namespace psi { namespace CINTS {
 
15
  
 
16
  //! Initialize global variables.
 
17
  void init_globals()
 
18
  {
 
19
    IOUnits.itap30 = 30;
 
20
    IOUnits.itap33 = PSIF_SO_TEI;
 
21
    IOUnits.itapDSCF = PSIF_DSCF;
 
22
    IOUnits.itapG = PSIF_AO_TPDM;
 
23
    IOUnits.itapD1ERI_SO = PSIF_SO_D1ERI;
 
24
    IOUnits.itapR12 = PSIF_SO_R12;
 
25
    IOUnits.itapT1  = PSIF_SO_R12T1;
 
26
    IOUnits.itapERI_MO = PSIF_MO_TEI;
 
27
    IOUnits.itapR12_MO = PSIF_MO_R12;
 
28
    IOUnits.itapR12T2_MO = PSIF_MO_R12T2;
 
29
    IOUnits.itapD = PSIF_AO_OPDM;
 
30
    
 
31
    IOUnits.itapS = PSIF_OEI;
 
32
    IOUnits.itapT = PSIF_OEI;
 
33
    IOUnits.itapV = PSIF_OEI;
 
34
    IOUnits.itapS_AO = PSIF_OEI;
 
35
    IOUnits.itapMX_AO = PSIF_OEI;
 
36
    IOUnits.itapMY_AO = PSIF_OEI;
 
37
    IOUnits.itapMZ_AO = PSIF_OEI;
 
38
    IOUnits.itapQXX_AO = PSIF_OEI;
 
39
    IOUnits.itapQXY_AO = PSIF_OEI;
 
40
    IOUnits.itapQXZ_AO = PSIF_OEI;
 
41
    IOUnits.itapQYY_AO = PSIF_OEI;
 
42
    IOUnits.itapQYZ_AO = PSIF_OEI;
 
43
    IOUnits.itapQZZ_AO = PSIF_OEI;
 
44
    IOUnits.itapNablaX_AO = PSIF_OEI;
 
45
    IOUnits.itapNablaY_AO = PSIF_OEI;
 
46
    IOUnits.itapNablaZ_AO = PSIF_OEI;
 
47
    IOUnits.itapOEInt_Misc = PSIF_OEI;
 
48
    
 
49
    IOUnits.itapdgdB[0] = PSIF_AO_DGDBX;
 
50
    IOUnits.itapdgdB[1] = PSIF_AO_DGDBY;
 
51
    IOUnits.itapdgdB[2] = PSIF_AO_DGDBZ;
 
52
    
 
53
    return;
 
54
  }
 
55
};};