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

« back to all changes in this revision

Viewing changes to src/bin/cscf/scf_iter.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2008-06-07 16:49:57 UTC
  • mfrom: (2.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080607164957-8pifvb133yjlkagn
Tags: 3.3.0-3
* debian/rules (DEB_MAKE_CHECK_TARGET): Do not abort test suite on
  failures.
* debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Set ${bindir} to /usr/lib/psi.
* debian/rules (install/psi3): Move psi3 file to /usr/bin.
* debian/patches/07_464867_move_executables.dpatch: New patch, add
  /usr/lib/psi to the $PATH, so that the moved executables are found.
  (closes: #464867)
* debian/patches/00list: Adjusted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Log: scf_iter.c,v $
 
1
/* $Log$
 
2
 * Revision 1.11  2007/04/05 15:45:25  crawdad
 
3
 * Fixed a few memory leaks identified by valgrind. -TDC
 
4
 *
 
5
/* Revision 1.10  2004/05/03 04:32:40  crawdad
 
6
/* Major mods based on merge with stable psi-3-2-1 release.  Note that this
 
7
/* version has not been fully tested and some scf-optn test cases do not run
 
8
/* correctly beccause of changes in mid-March 2004 to optking.
 
9
/* -TDC
 
10
/*
2
11
/* Revision 1.9.8.2  2004/04/21 15:45:07  evaleev
3
12
/* Modified DIIS algorithm for RHF and ROHF to work in OSO basis rather than in
4
13
/* AO basis, to avoid difficulties of transforming between MO and AO bases
84
93
/* -Ed
85
94
 * */
86
95
 
87
 
static char *rcsid = "$Id: scf_iter.c,v 1.9.8.2 2004/04/21 15:45:07 evaleev Exp $";
 
96
static char *rcsid = "$Id: scf_iter.c 3324 2007-04-05 15:45:25Z crawdad $";
88
97
 
89
98
#define EXTERN
90
99
#include "includes.h"
98
107
  int max,off,jj,kk;
99
108
  int ntri;
100
109
  int nn,num_mo,newci;
101
 
  double cimax;
 
110
  double cimax=0;
102
111
  double occi, occj, occ0, den;
103
112
  double **scr;
104
113
  double **cmat;