~ubuntu-branches/ubuntu/oneiric/mpqc/oneiric

« back to all changes in this revision

Viewing changes to src/lib/chemistry/qc/wfn/densval.cc

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2005-11-27 11:41:49 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051127114149-zgz9r3gk50w8ww2q
Tags: 2.3.0-1
* New upstream release.
* debian/rules (SONAME): Activate awk snippet for automatic so-name
  detection again, resulting in a bump to `7' and making a `c2a' for
  the C++ allocator change unnecessary; closes: #339232.
* debian/patches/00list (08_gcc-4.0_fixes): Removed, no longer needed.
* debian/rules (test): Remove workarounds, do not abort build if tests
  fail.
* debian/ref: Removed.
* debian/control.in (libsc): Added Conflict against libsc6c2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <util/misc/formio.h>
29
29
#include <util/keyval/keyval.h>
30
30
#include <chemistry/qc/basis/basis.h>
 
31
#include <chemistry/qc/basis/petite.h>
31
32
 
32
33
#include <chemistry/qc/wfn/wfn.h>
33
34
 
53
54
  // it is more efficient to force the computation of the natural
54
55
  // orbitals now and use them.
55
56
  // get the natural orbitals and density
56
 
  RefSCMatrix nos = natural_orbitals();
 
57
  RefSCMatrix nos
 
58
      = integral()->petite_list()->evecs_to_AO_basis(natural_orbitals());
57
59
  RefDiagSCMatrix nd = natural_density();
58
60
  
59
61
  // loop over natural orbitals adding contributions to elec_density
89
91
  //          << scprintf("bs_values[%d] = % 12.8f\n",i,bs_values[i]);
90
92
 
91
93
  // get the natural orbitals and density
92
 
  RefSCMatrix nos = natural_orbitals();
 
94
  RefSCMatrix nos
 
95
      = integral()->petite_list()->evecs_to_AO_basis(natural_orbitals());
93
96
  RefDiagSCMatrix nd = natural_density();
94
97
    
95
98
  // loop over natural orbitals adding contributions to elec_density