~ubuntu-branches/ubuntu/precise/psicode/precise

« back to all changes in this revision

Viewing changes to src/bin/optking/grad_save.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
 
/*** ENERGY_SAVE.CC Rollin King, 2002 ***/
2
 
// function executes if optinfo.mode == MODE_ENERGY_SAVE
3
 
 
4
 
#if HAVE_CMATH
5
 
# include <cmath>
6
 
#else
7
 
# include <math.h>
8
 
#endif
9
 
 
10
 
extern "C" {
11
 
#include <stdio.h>
 
1
/*! \file
 
2
    \ingroup OPTKING
 
3
    \brief ENERGY_SAVE.CC Rollin King, 2002
 
4
    function executes if optinfo.mode == MODE_ENERGY_SAVE
 
5
*/
 
6
 
 
7
#include <cmath>
 
8
#include <cstdio>
12
9
#include <libchkpt/chkpt.h>
13
 
#include <stdlib.h>
14
 
#include <string.h>
15
 
#include <ctype.h>
 
10
#include <cstdlib>
 
11
#include <cstring>
 
12
#include <cctype>
16
13
#include <libciomr/libciomr.h>
17
14
#include <libipv1/ip_lib.h>
18
15
#include <libpsio/psio.h>
19
16
#include <physconst.h>
20
17
#include <psifiles.h>
21
18
#include <ccfiles.h>
22
 
}
23
19
 
24
20
#define EXTERN
25
21
#include "opt.h"
27
23
#include "cartesians.h"
28
24
#include "internals.h"
29
25
 
 
26
namespace psi { namespace optking {
 
27
 
30
28
void grad_save(cartesians &carts) {
31
29
  int i,j,dim_carts,total_num_disps;
32
30
  double energy, *micro_e, *micro_grad, *grad, **ggrad, **refgrad, **rref;
134
132
  return ;
135
133
}
136
134
 
 
135
}} /* namespace psi::optking */
 
136