~ubuntu-branches/ubuntu/karmic/psicode/karmic

« back to all changes in this revision

Viewing changes to src/bin/cscf/errchk.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 CSCF
 
3
    \brief Enter brief description of file here 
 
4
*/
 
5
/* $Log$
 
6
 * Revision 1.2  2002/03/25 02:17:36  janssen
 
7
 * Get rid of tmpl.  Use new naming scheme for libipv1 includes.
 
8
 *
 
9
/* Revision 1.1.1.1  2000/02/04 22:52:30  evaleev
 
10
/* Started PSI 3 repository
 
11
/*
 
12
/* Revision 1.2  1999/08/17 19:04:14  evaleev
 
13
/* Changed the default symmetric orthogonalization to the canonical
 
14
/* orthogonalization. Now, if near-linear dependencies in the basis are found,
 
15
/* eigenvectors of the overlap matrix with eigenvalues less than 1E-6 will be
 
16
/* left out. This will lead to num_mo != num_so, i.e. SCF eigenvector is no
 
17
/* longer a square matrix. Had to rework some routines in libfile30, and add some.
 
18
/* The progrem prints out a warning if near-linear dependencies are found. TRANSQT
 
19
/* and a whole bunch of other codes has to be fixed to work with such basis sets.
 
20
/*
 
21
/* Revision 1.1.1.1  1999/04/12 16:59:26  evaleev
 
22
/* Added a version of CSCF that can work with CINTS.
 
23
/* -Ed
 
24
 * */
 
25
 
 
26
#include <cstdio>
 
27
#include <libipv1/ip_lib.h>
 
28
 
 
29
namespace psi { namespace cscf {
 
30
 
 
31
void errchk(int errcod, const char* token)
 
32
{
 
33
  if (errcod) {
 
34
    fprintf(stderr,"ERROR: %s\n",ip_error_message(errcod));
 
35
    fprintf(stderr,"TOKEN: %s\n",token);
 
36
    }
 
37
  }
 
38
 
 
39
}} // namespace psi::cscf