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

« back to all changes in this revision

Viewing changes to src/bin/ccdensity/idx_error.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 <cstdio>
 
6
#include <cstdlib>
 
7
#include <psifiles.h>
 
8
 
 
9
namespace psi { namespace ccdensity {
 
10
 
 
11
void idx_error(const char *message, int p, int q, int r, int s, int pq, int rs,
 
12
               int pq_sym, int rs_sym, FILE *outfile)
 
13
{
 
14
 
 
15
  fprintf(outfile, "\n\tDPD Parameter Error in %s\n", message);
 
16
  fprintf(outfile,
 
17
          "\t-------------------------------------------------\n");
 
18
  fprintf(outfile,
 
19
          "\t    p      q      r      s  [   pq]  [   rs] pq_symm rs_symm\n");
 
20
  fprintf(outfile,"\t%5d  %5d  %5d  %5d  [%5d]  [%5d]   %1d   %1d\n", p,q,r,s,
 
21
          pq,rs,pq_sym,rs_sym);
 
22
  exit(PSI_RETURN_FAILURE);
 
23
}
 
24
 
 
25
 
 
26
}} // namespace psi::ccdensity