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

« back to all changes in this revision

Viewing changes to src/bin/oeprop/grid.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 OEPROP
 
3
    \brief Enter brief description of file here 
 
4
*/
 
5
#define EXTERN
 
6
#include "includes.h"
 
7
#include "globals.h"
 
8
 
 
9
namespace psi { namespace oeprop {
 
10
 
 
11
extern void compute_grid_oeprops();
 
12
extern void compute_grid_dens_2d();
 
13
extern void compute_grid_dens_3d();
 
14
extern void compute_grid_mos();
 
15
 
 
16
 
 
17
void compute_grid() {
 
18
 
 
19
  switch (grid) {
 
20
  case 1:
 
21
      compute_grid_oeprops();
 
22
      break;
 
23
      
 
24
  case 2:
 
25
  case 3:
 
26
  case 4:
 
27
      compute_grid_dens_2d();
 
28
      break;
 
29
 
 
30
  case 5:
 
31
      compute_grid_mos();
 
32
      break;
 
33
 
 
34
  case 6:
 
35
      compute_grid_dens_3d();
 
36
      break;
 
37
  }
 
38
 
 
39
  return;
 
40
}
 
41
 
 
42
}} // namespace psi::oeprop