-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.h
More file actions
45 lines (28 loc) · 807 Bytes
/
globals.h
File metadata and controls
45 lines (28 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* globals.h : global definitions for Wang-Landau sampling
* Last changed Time-stamp: <2014-07-22 15:52:54 mtw>
*/
#ifndef GLOBALS_H
#define GLOBALS_H
#include "config.h"
#include <gsl/gsl_histogram.h>
#include <gsl/gsl_errno.h>
gsl_histogram *h; /* histogram of energies seen in current iteration */
gsl_histogram *s; /* true DOS of the lowest energy range (if
* available); required for normalization, which
* is computed based on the lowest-energy bins */
/* function pointers */
void (*pre_process_model)(void);
/* functions */
void
process_commandline(int argc,
char *argv[]);
void
wanglandau(void);
void
wanglandau_free_memory(void);
void
sighandler(int);
void
dealloc_gengetopt(void);
#endif