~ubuntu-branches/ubuntu/trusty/psicode/trusty

« back to all changes in this revision

Viewing changes to src/bin/ccdensity/build_Z.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 CCDENSITY
 
3
    \brief Enter brief description of file here 
 
4
*/
 
5
#include "MOInfo.h"
 
6
#include "Params.h"
 
7
#include "Frozen.h"
 
8
#define EXTERN
 
9
#include "globals.h"
 
10
 
 
11
namespace psi { namespace ccdensity {
 
12
 
 
13
/* build_Z():  Solve the orbital Z-vector equations:
 
14
**
 
15
**    sum E,M A(AI,EM) D(orb)(E,M) = -X(A,I)
 
16
**
 
17
** where A(AI,EM) is the orbital Hessian computed in build_A(), X(A,I)
 
18
** is the orbital rotation gradient computed in build_X(), and
 
19
** D(orb)(E,M) is the final Z-vector we want. 
 
20
**
 
21
*/
 
22
 
 
23
void build_Z_RHF(void);
 
24
void build_Z_ROHF(void);
 
25
void build_Z_UHF(void);
 
26
 
 
27
void build_Z(void)
 
28
{
 
29
  if(params.ref == 0) build_Z_RHF();
 
30
  else if(params.ref == 1) build_Z_ROHF();
 
31
  else if(params.ref == 2) build_Z_UHF();
 
32
}
 
33
 
 
34
 
 
35
 
 
36
}} // namespace psi::ccdensity