atomes 1.1.16
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
calc.h
Go to the documentation of this file.
1/* This file is part of the 'atomes' software
2
3'atomes' is free software: you can redistribute it and/or modify it under the terms
4of the GNU Affero General Public License as published by the Free Software Foundation,
5either version 3 of the License, or (at your option) any later version.
6
7'atomes' is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
8without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9See the GNU General Public License for more details.
10
11You should have received a copy of the GNU Affero General Public License along with 'atomes'.
12If not, see <https://www.gnu.org/licenses/>
13
14Copyright (C) 2022-2024 by CNRS and University of Strasbourg */
15
22/*
23* This header file: 'calc.h'
24*
25* Contains:
26
27 - Variable declarations for the MD input preparation assistants
28
29*/
30
31#ifndef CALC_H_
32#define CALC_H_
33
34#define MAXDATAQM 7
35
36extern GtkWidget * qm_assistant;
37extern project * qm_proj;
38extern glwin * qm_view;
39extern coord_info * qm_coord;
40extern GtkTextBuffer * qmbuffer[MAXDATAQM+2];
41
42extern gboolean force_mol;
43
44extern int idopt;
45extern int icalc;
46extern int ident;
47extern int icomb;
48
49extern gboolean selection_confirmed;
50extern G_MODULE_EXPORT void confirm_selection (GtkDialog * dialog, gint response_id, gpointer data);
51extern void field_question (gchar * question, GCallback handler, gpointer data);
52
53#endif
void field_question(gchar *question, GCallback handler, gpointer data)
ask the use to confirm something
Definition calc.c:103
GtkTextBuffer * qmbuffer[MAXDATAQM+2]
Definition calc.c:70
#define MAXDATAQM
Definition calc.h:34
gboolean selection_confirmed
Definition calc.c:77
G_MODULE_EXPORT void confirm_selection(GtkDialog *dialog, gint response_id, gpointer data)
confirm that the selection is good
Definition calc.c:88
int ident
Definition calc.c:74
GtkWidget * qm_assistant
Definition calc.c:66
gboolean force_mol
Definition calc.c:71
int idopt
Definition calc.c:72
glwin * qm_view
Definition calc.c:68
project * qm_proj
Definition calc.c:67
int icomb
Definition calc.c:75
int icalc
Definition calc.c:73
coord_info * qm_coord
Definition calc.c:69
Definition glwin.h:875