~ubuntu-branches/ubuntu/vivid/psicode/vivid

« back to all changes in this revision

Viewing changes to src/bin/ccenergy/cc2_t2.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 CCENERGY
 
3
    \brief Enter brief description of file here 
 
4
*/
 
5
#include <cstdio>
 
6
#include <cstdlib>
 
7
#include <libdpd/dpd.h>
 
8
#include "Params.h"
 
9
#define EXTERN
 
10
#include "globals.h"
 
11
 
 
12
namespace psi { namespace ccenergy {
 
13
 
 
14
void dijabT2(void);
 
15
void cc2_faeT2(void);
 
16
void cc2_fmiT2(void);
 
17
void cc2_WmbijT2(void);
 
18
void cc2_WabeiT2(void);
 
19
void DT2(void);
 
20
void status(const char *s, FILE *out);
 
21
 
 
22
void cc2_t2_build(void)
 
23
{
 
24
 
 
25
  DT2();
 
26
 
 
27
  if((params.ref == 0) || params.t2_coupled) { /** RHF or ROHF with coupled T2's **/ 
 
28
#ifdef TIME_CCENERGY
 
29
    timer_on("fT2", outfile);
 
30
#endif
 
31
    cc2_faeT2(); cc2_fmiT2();
 
32
    if(params.print & 2) status("f -> T2", outfile);
 
33
#ifdef TIME_CCENERGY
 
34
    timer_off("fT2", outfile);
 
35
#endif
 
36
  }
 
37
 
 
38
#ifdef TIME_CCENERGY
 
39
  timer_on("WmbijT2", outfile);
 
40
#endif
 
41
  cc2_WmbijT2();
 
42
  if(params.print & 2) status("Wmbij -> T2", outfile);
 
43
#ifdef TIME_CCENERGY
 
44
  timer_off("WmbijT2", outfile);
 
45
#endif
 
46
 
 
47
#ifdef TIME_CCENERGY
 
48
  timer_on("WabeiT2", outfile);
 
49
#endif
 
50
  cc2_WabeiT2();
 
51
  if(params.print & 2) status("Wabei -> T2", outfile);
 
52
#ifdef TIME_CCENERGY
 
53
  timer_off("WabeiT2", outfile);
 
54
#endif
 
55
 
 
56
}
 
57
}} // namespace psi::ccenergy