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

« back to all changes in this revision

Viewing changes to src/bin/input/globals.c

  • 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
 
#define EXTERN
2
 
#include <stdio.h>
3
 
#include <stdlib.h>
4
 
#include <libciomr/libciomr.h>
5
 
#include <libipv1/ip_lib.h>
6
 
#include "input.h"
7
 
#include "global.h"
8
 
#include "defines.h"
9
 
 
10
 
void init_globals()
11
 
{
12
 
  int i, j, errcod;
13
 
 
14
 
  disp_num = 0;
15
 
  
16
 
  /*Make ioff and stuff*/
17
 
  setup(MAXIOFF);
18
 
     
19
 
  /*Create the elem_name array to hold all element names*/
20
 
  elem_name = (char **) malloc(sizeof(char *)*NUM_ELEMENTS);
21
 
  init_elem_names();
22
 
 
23
 
  /*No rotation has been performed yet -
24
 
    hence canonical and reference frames are equivalent */
25
 
  Rref = block_matrix(3,3);
26
 
  canon_eq_ref_frame();
27
 
 
28
 
  /*GTO data has not been initialized yes */
29
 
  GTOs.max_angmom = 0;
30
 
 
31
 
  return;
32
 
}
33
 
 
34