|
atomes 1.2.1
atomes: an atomic scale modeling tool box
|
Global variables declaration
Global convenience function implementations.
More...
#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <gtk/gtk.h>#include <gdk/gdk.h>
Include dependency graph for global.c:Go to the source code of this file.
Macros | |
| #define | BILLION 1000000000L; |
Functions | |
| gboolean * | allocbool (int val) |
| allocate a gboolean * pointer | |
| gboolean ** | allocdbool (int xal, int yal) |
| allocate a gboolean ** pointer | |
| gboolean *** | alloctbool (int xal, int yal, int zal) |
| allocate a gboolean *** pointer | |
| int * | allocint (int val) |
| allocate an int * pointer | |
| int ** | allocdint (int xal, int yal) |
| allocate an int ** pointer | |
| int *** | alloctint (int xal, int yal, int zal) |
| allocate an int *** pointer | |
| int **** | allocqint (int wal, int xal, int yal, int zal) |
| allocate an int **** pointer | |
| float * | allocfloat (int val) |
| allocate a float * pointer | |
| float ** | allocdfloat (int xal, int yal) |
| allocate a float ** pointer | |
| float *** | alloctfloat (int xal, int yal, int zal) |
| allocate a float *** pointer | |
| double * | allocdouble (int val) |
| allocate a double * pointer | |
| double ** | allocddouble (int xal, int yal) |
| allocate a double ** pointer | |
| double *** | alloctdouble (int xal, int yal, int zal) |
| allocate a double *** pointer | |
| double **** | allocqdouble (int wal, int xal, int yal, int zal) |
| allocate a double **** pointer | |
| gchar ** | duplicate_strings (int num, gchar **old_val) |
| copy a list of strings | |
| int * | duplicate_int (int num, int *old_val) |
| copy a list of int | |
| gboolean * | duplicate_bool (int num, gboolean *old_val) |
| copy a list of gboolean | |
| float * | duplicate_float (int num, float *old_val) |
| copy a list of float | |
| double * | duplicate_double (int num, double *old_val) |
| copy a list of double | |
| double | string_to_double (gpointer string) |
| convert string to double | |
| double | get_calc_time (struct timespec start, struct timespec stop) |
| get calculation time in s | |
| gchar * | calculation_time (gboolean modelv, double ctime) |
| get calculation time, human readable | |
Variables | |
| gchar * | PACKAGE_LIB_DIR = NULL |
| gchar * | PACKAGE_IMP = NULL |
| gchar * | PACKAGE_CON = NULL |
| gchar * | PACKAGE_IMG = NULL |
| gchar * | PACKAGE_PDF = NULL |
| gchar * | PACKAGE_SVG = NULL |
| gchar * | PACKAGE_EPS = NULL |
| gchar * | PACKAGE_PNG = NULL |
| gchar * | PACKAGE_JPG = NULL |
| gchar * | PACKAGE_BMP = NULL |
| gchar * | PACKAGE_TIFF = NULL |
| gchar * | PACKAGE_VOID = NULL |
| gchar * | PACKAGE_GR = NULL |
| gchar * | PACKAGE_SQ = NULL |
| gchar * | PACKAGE_BD = NULL |
| gchar * | PACKAGE_AN = NULL |
| gchar * | PACKAGE_RI = NULL |
| gchar * | PACKAGE_CH = NULL |
| gchar * | PACKAGE_SP = NULL |
| gchar * | PACKAGE_MS = NULL |
| gchar * | PACKAGE_TD = NULL |
| gchar * | PACKAGE_MOL = NULL |
| gchar * | PACKAGE_OGL = NULL |
| gchar * | PACKAGE_OGLM = NULL |
| gchar * | PACKAGE_OGLC = NULL |
| gchar * | PACKAGE_PRO = NULL |
| gchar * | PACKAGE_SET = NULL |
| gchar * | PACKAGE_LOGO = NULL |
| gchar * | PACKAGE_LAGPL = NULL |
| gchar * | PACKAGE_LABOUT = NULL |
| gchar * | PACKAGE_DOTA = NULL |
| gchar * | PACKAGE_DOTB = NULL |
| gchar * | PACKAGE_DOTC = NULL |
| gchar * | PACKAGE_DOTD = NULL |
| gchar * | PACKAGE_DOTE = NULL |
| gchar * | PACKAGE_DOTF = NULL |
| gchar * | PACKAGE_DOTG = NULL |
| gchar * | PACKAGE_DOTH = NULL |
| gchar * | PACKAGE_DFBD = NULL |
| gchar * | PACKAGE_DFAN = NULL |
| gchar * | PACKAGE_DFDI = NULL |
| gchar * | PACKAGE_DFTD = NULL |
| gchar * | PACKAGE_DFIN = NULL |
| gchar * | PACKAGE_SGCP = NULL |
| gchar * | PACKAGE_SGCI = NULL |
| gchar * | PACKAGE_SGCF = NULL |
| gchar * | PACKAGE_SGHP = NULL |
| gchar * | PACKAGE_SGTR = NULL |
| gchar * | PACKAGE_SGTI = NULL |
| gchar * | PACKAGE_SGTP = NULL |
| gchar * | PACKAGE_SGOP = NULL |
| gchar * | PACKAGE_SGOI = NULL |
| gchar * | PACKAGE_SGOC = NULL |
| gchar * | PACKAGE_SGOF = NULL |
| gchar * | PACKAGE_SGMP = NULL |
| gchar * | PACKAGE_SGMI = NULL |
| gchar * | PACKAGE_SGTC = NULL |
| gchar * | ATOMES_CONFIG_DIR = NULL |
| gchar * | ATOMES_CONFIG = NULL |
| gchar * | ATOMES_URL = "https://atomes.ipcms.fr" |
| gchar * | mode_name [2] ={"Analysis", "Edition"} |
| gchar * | bravais_img [14] |
| gchar * | ifield [8] |
| gchar * | projfile = NULL |
| char * | ifbug ="\nIf this is a bug please report it to:" |
| char * | rings_type [5] |
| char * | untime [5] |
| gchar * | workspacefile = NULL |
| int | nprojects = 0 |
| int | activep = 0 |
| int | activev = 0 |
| int | activef = 0 |
| int | inactep = 0 |
| int | activew = 0 |
| int | statusval |
| int | atomes_visual = 1 |
| int | dialog_id = -1 |
| int | bonds_update = 0 |
| int | frag_update = 0 |
| int | mol_update = 0 |
| int | tmp_pixels [2] |
| int * | pasted_todo = NULL |
| double * | xsk = NULL |
| GMainLoop * | Event_loop [5] |
| gboolean | in_movie_encoding = FALSE |
| gboolean | newspace = TRUE |
| gboolean | reading_input |
| gboolean | tmp_adv_bonding [2] |
| gboolean | column_label = FALSE |
| gboolean | check_label = TRUE |
| gboolean | object_motion = FALSE |
| gboolean | selected_status = FALSE |
| gboolean | silent_input = FALSE |
| gboolean | cif_use_symmetry_positions = FALSE |
| struct timespec | start_time |
| struct timespec | stop_time |
| double | opac = 0.75 |
| double | pi = 3.141592653589793238462643383279502884197 |
| GSimpleAction * | edition_actions [3] |
| GSimpleAction * | analyze_actions [9] |
| GtkApplication * | AtomesApp = NULL |
| GtkWidget * | MainWindow = NULL |
| GtkWidget * | MainView = NULL |
| GtkWidget * | MainFrame [2] |
| GtkWidget * | pop = NULL |
| GtkWidget * | curvetoolbox = NULL |
| GtkWidget * | progressbar = NULL |
| GtkWidget * | MainScrol [2] |
| GtkWidget * | atomes_logo = NULL |
| GtkWidget * | atomes_shortcuts = NULL |
| GtkWidget * | calc_dialog = NULL |
| GtkWidget * | register_button = NULL |
| GtkTextTag * | tag = NULL |
| GtkStatusbar * | statusbar |
| GdkPixbuf * | THETD = NULL |
| GdkPixbuf * | THEMO = NULL |
| GdkPixbuf * | THEBD = NULL |
| GdkPixbuf * | SETTING = NULL |
| GdkPixbuf * | SETTINGS = NULL |
| GdkPixbuf * | OGL = NULL |
| GdkPixbuf * | OGLM = NULL |
| GdkPixbuf * | OGLC = NULL |
| GdkPixbuf * | RUN = NULL |
Global variables declaration
Global convenience function implementations.
Definition in file global.c.
| gboolean * allocbool | ( | int | val | ) |
| gboolean ** allocdbool | ( | int | xal, |
| int | yal ) |
| double ** allocddouble | ( | int | xal, |
| int | yal ) |
| float ** allocdfloat | ( | int | xal, |
| int | yal ) |
| int ** allocdint | ( | int | xal, |
| int | yal ) |
| double * allocdouble | ( | int | val | ) |
| float * allocfloat | ( | int | val | ) |
| int * allocint | ( | int | val | ) |
| double **** allocqdouble | ( | int | wal, |
| int | xal, | ||
| int | yal, | ||
| int | zal ) |
| int **** allocqint | ( | int | wal, |
| int | xal, | ||
| int | yal, | ||
| int | zal ) |
| gboolean *** alloctbool | ( | int | xal, |
| int | yal, | ||
| int | zal ) |
| double *** alloctdouble | ( | int | xal, |
| int | yal, | ||
| int | zal ) |
| float *** alloctfloat | ( | int | xal, |
| int | yal, | ||
| int | zal ) |
| int *** alloctint | ( | int | xal, |
| int | yal, | ||
| int | zal ) |
| gchar * calculation_time | ( | gboolean | modelv, |
| double | ctime ) |
| gboolean * duplicate_bool | ( | int | num, |
| gboolean * | old_val ) |
| double * duplicate_double | ( | int | num, |
| double * | old_val ) |
| float * duplicate_float | ( | int | num, |
| float * | old_val ) |
| int * duplicate_int | ( | int | num, |
| int * | old_val ) |
| gchar ** duplicate_strings | ( | int | num, |
| gchar ** | old_val ) |
| double get_calc_time | ( | struct timespec | start, |
| struct timespec | stop ) |
| double string_to_double | ( | gpointer | string | ) |
| char* rings_type[5] |
| char* untime[5] |