-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathglobals.h
More file actions
32 lines (27 loc) · 876 Bytes
/
globals.h
File metadata and controls
32 lines (27 loc) · 876 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
/*
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>
/* variables/arrays */
float mfe;
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);
void (*post_process_model)(void);
//float (*energie)(const char *, const char *);
void (*initialize_model)(const char *);
/* functions */
void process_commandline (int argc, char *argv[]);
void wanglandau(void);
void wanglandau_free_memory(void);
void sighandler (int);
void dealloc_gengetopt (void);
#endif