|
atomes 1.2.1
atomes: an atomic scale modeling tool box
|
Creation of the calculation dialogs. More...
#include "global.h"#include "callbacks.h"#include "interface.h"#include "preferences.h"#include "bind.h"#include "project.h"#include "workspace.h"
Include dependency graph for calc_menu.c:Go to the source code of this file.
Functions | |
| G_MODULE_EXPORT void | on_calc_gr_released (GtkWidget *widg, gpointer data) |
| compute g(r) | |
| G_MODULE_EXPORT void | on_calc_gq_released (GtkWidget *widg, gpointer data) |
| compute g(k) | |
| G_MODULE_EXPORT void | on_calc_sq_released (GtkWidget *widg, gpointer data) |
| compute s(q) / s(k) | |
| G_MODULE_EXPORT void | on_calc_sk_released (GtkWidget *widg, gpointer data) |
| compute s(q) / s(k) | |
| G_MODULE_EXPORT void | on_calc_rings_released (GtkWidget *widg, gpointer data) |
| compute ring statistics | |
| G_MODULE_EXPORT void | on_calc_chains_released (GtkWidget *widg, gpointer data) |
| compute chains statistics | |
| G_MODULE_EXPORT void | on_calc_msd_released (GtkWidget *widg, gpointer data) |
| compute MSD | |
| G_MODULE_EXPORT void | on_calc_sph_released (GtkWidget *widg, gpointer data) |
| compute spherical harmonics | |
| GtkWidget * | calc_window (int i) |
| create a calculation window | |
| G_MODULE_EXPORT void | set_max (GtkEntry *entry, gpointer data) |
| set a maximum value | |
| G_MODULE_EXPORT void | set_delta (GtkEntry *entry, gpointer data) |
| set the number of delta between data points | |
| G_MODULE_EXPORT void | combox_tunit_changed (GtkComboBox *box, gpointer data) |
| change time units | |
| void | calc_sph (GtkWidget *vbox) |
| creation of the spherical harmonics calculation widgets | |
| void | calc_msd (GtkWidget *vbox) |
| creation of the MSD calculation widgets | |
| G_MODULE_EXPORT void | set_numa (GtkEntry *entry, gpointer data) |
| set the rings/chains statistics parameter NUMA | |
| GtkWidget * | combox_rings (gchar *str, int num, gchar *list_item[num], int id) |
| create a combo box for the ring statistics calculation | |
| G_MODULE_EXPORT void | combox_rings_changed (GtkComboBox *box, gpointer data) |
| change ring statistics calculation parameter | |
| G_MODULE_EXPORT void | toggle_rings (GtkToggleButton *but, gpointer data) |
| toggle a rings statistics calculation parameter | |
| void | calc_rings (GtkWidget *vbox) |
| creation of the rings statistics calculation widgets | |
| G_MODULE_EXPORT void | run_toggle_bond (GtkDialog *info, gint response_id, gpointer data) |
| bond properties detailed saving: run the dialog | |
| G_MODULE_EXPORT void | toggle_bond (GtkToggleButton *Button, gpointer data) |
| activate bond properties detailed saving and prepare the dialog | |
| gboolean | test_gr (int gr) |
| is it safe to compute g(r) ? | |
| gboolean | test_sq (int sq) |
| is it safe to compute s(q) ? | |
| gboolean | test_bonds () |
| is it safe to compute bond properties ? | |
| gboolean | test_rings () |
| is it safe to compute ring statistics ? | |
| gboolean | test_msd () |
| is it safe to compute MSD ? | |
| gboolean | test_sph () |
| is it safe to compute spherical harmonics ? | |
| void | calc_bonds (GtkWidget *vbox) |
| creation of the bond calculation widgets | |
| GtkWidget * | hbox_note (int i, double val) |
| foot note message box with some parameters | |
| G_MODULE_EXPORT void | expand_opt (GtkWidget *exp, gpointer data) |
| open expander actions | |
| G_MODULE_EXPORT void | set_advanced_sq (GtkEntry *entry, gpointer data) |
| set a s(k) calculation parameter | |
| G_MODULE_EXPORT void | set_sfact (GtkEntry *entry, gpointer data) |
| set the Gaussian smoothing factor | |
| G_MODULE_EXPORT void | on_show_curve_toolbox (GtkWidget *widg, gpointer data) |
| show the curve toolboxes | |
| G_MODULE_EXPORT void | on_smoother_released (GtkButton *button, gpointer data) |
| smooth g(r), s(q), s(k) or g(k) | |
| void | calc_gr_sq (GtkWidget *box, int id) |
| creation of the g(r) / s(q) / s(k) / g(k) calculation widgets | |
| G_MODULE_EXPORT void | run_on_calc_activate (GtkDialog *dial, gint response_id, gpointer data) |
| create a calculation dialog: run the dialog | |
| G_MODULE_EXPORT void | on_calc_activate (GtkWidget *widg, gpointer data) |
| create a calculation dialog - prepare the dialog | |
Variables | |
| gboolean | toggled_rings |
| gchar * | calc_img [NCALCS-2] |
| GtkWidget * | calc_win = NULL |
| GtkWidget * | ba_entry [2] |
| int | search_type |
| GtkWidget * | rings_box [2] |
| GtkWidget * | rings_entry [2] |
| GtkWidget * | rings_check [4] |
| GtkWidget * | avbox |
| GtkWidget * | smbox |
| int | avsize |
Creation of the calculation dialogs.
Definition in file calc_menu.c.
| void calc_bonds | ( | GtkWidget * | vbox | ) |
creation of the bond calculation widgets
| vbox | GtkWidget that will receive the data |
Definition at line 931 of file calc_menu.c.
| void calc_gr_sq | ( | GtkWidget * | box, |
| int | id ) |
creation of the g(r) / s(q) / s(k) / g(k) calculation widgets
| box | GtkWidget that will receive the data |
| id | the calculation id |
Definition at line 1270 of file calc_menu.c.
| void calc_msd | ( | GtkWidget * | vbox | ) |
creation of the MSD calculation widgets
| vbox | GtkWidget that will receive the data |
Definition at line 260 of file calc_menu.c.
| void calc_rings | ( | GtkWidget * | vbox | ) |
creation of the rings statistics calculation widgets
| vbox | GtkWidget that will receive the data |
Definition at line 516 of file calc_menu.c.
| void calc_sph | ( | GtkWidget * | vbox | ) |
creation of the spherical harmonics calculation widgets
| vbox | GtkWidget that will receive the data |
Definition at line 240 of file calc_menu.c.
| GtkWidget * calc_window | ( | int | i | ) |
create a calculation window
| i | the calculation id |
Definition at line 101 of file calc_menu.c.
| GtkWidget * combox_rings | ( | gchar * | str, |
| int | num, | ||
| gchar * | list_item[num], | ||
| int | id ) |
create a combo box for the ring statistics calculation
| str | label of the combo box |
| num | number of values to insert in the combo box |
| list_item | text data to insert in the combo boc |
| id | id of the box to create |
Definition at line 364 of file calc_menu.c.
| G_MODULE_EXPORT void combox_rings_changed | ( | GtkComboBox * | box, |
| gpointer | data ) |
change ring statistics calculation parameter
| box | the GtkComboBox sending the signal |
| data | the associated data pointer |
Definition at line 391 of file calc_menu.c.
| G_MODULE_EXPORT void combox_tunit_changed | ( | GtkComboBox * | box, |
| gpointer | data ) |
change time units
| box | the GtkComboBox sending the signal |
| data | the associated data pointer |
Definition at line 228 of file calc_menu.c.
| G_MODULE_EXPORT void expand_opt | ( | GtkWidget * | exp, |
| gpointer | data ) |
open expander actions
| exp | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 997 of file calc_menu.c.
| GtkWidget * hbox_note | ( | int | i, |
| double | val ) |
foot note message box with some parameters
| i | message id |
| val | value to display |
Definition at line 971 of file calc_menu.c.
| G_MODULE_EXPORT void on_calc_activate | ( | GtkWidget * | widg, |
| gpointer | data ) |
create a calculation dialog - prepare the dialog
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 1463 of file calc_menu.c.
|
extern |
compute chains statistics
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 299 of file chainscall.c.
|
extern |
|
extern |
|
extern |
|
extern |
compute ring statistics
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 439 of file ringscall.c.
|
extern |
|
extern |
|
extern |
| G_MODULE_EXPORT void on_show_curve_toolbox | ( | GtkWidget * | widg, |
| gpointer | data ) |
show the curve toolboxes
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 1095 of file calc_menu.c.
| G_MODULE_EXPORT void on_smoother_released | ( | GtkButton * | button, |
| gpointer | data ) |
smooth g(r), s(q), s(k) or g(k)
| button | the button sending the signal |
| data | the associated data pointer |
Definition at line 1115 of file calc_menu.c.
| G_MODULE_EXPORT void run_on_calc_activate | ( | GtkDialog * | dial, |
| gint | response_id, | ||
| gpointer | data ) |
create a calculation dialog: run the dialog
| dial | the GtkDialog sending the signal |
| response_id | the response id |
| data | the associated data pointer |
Definition at line 1391 of file calc_menu.c.
| G_MODULE_EXPORT void run_toggle_bond | ( | GtkDialog * | info, |
| gint | response_id, | ||
| gpointer | data ) |
bond properties detailed saving: run the dialog
| info | the GtkDialog sending the signal |
| response_id | the response id |
| data | the associated data pointer |
Definition at line 659 of file calc_menu.c.
| G_MODULE_EXPORT void set_advanced_sq | ( | GtkEntry * | entry, |
| gpointer | data ) |
set a s(k) calculation parameter
| entry | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 1039 of file calc_menu.c.
| G_MODULE_EXPORT void set_delta | ( | GtkEntry * | entry, |
| gpointer | data ) |
set the number of delta between data points
| entry | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 146 of file calc_menu.c.
| G_MODULE_EXPORT void set_max | ( | GtkEntry * | entry, |
| gpointer | data ) |
set a maximum value
| entry | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 120 of file calc_menu.c.
| G_MODULE_EXPORT void set_numa | ( | GtkEntry * | entry, |
| gpointer | data ) |
set the rings/chains statistics parameter NUMA
| entry | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 307 of file calc_menu.c.
| G_MODULE_EXPORT void set_sfact | ( | GtkEntry * | entry, |
| gpointer | data ) |
set the Gaussian smoothing factor
| entry | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 1070 of file calc_menu.c.
| gboolean test_bonds | ( | ) |
is it safe to compute bond properties ?
Definition at line 803 of file calc_menu.c.
| gboolean test_gr | ( | int | gr | ) |
is it safe to compute g(r) ?
| gr | type of g(r): real space (GR) or FFT (GK) |
Definition at line 751 of file calc_menu.c.
| gboolean test_msd | ( | ) |
is it safe to compute MSD ?
Definition at line 867 of file calc_menu.c.
| gboolean test_rings | ( | ) |
is it safe to compute ring statistics ?
Definition at line 829 of file calc_menu.c.
| gboolean test_sph | ( | ) |
is it safe to compute spherical harmonics ?
Definition at line 911 of file calc_menu.c.
| gboolean test_sq | ( | int | sq | ) |
is it safe to compute s(q) ?
| sq | type of s(q): FFT (1) or direct (SK) |
Definition at line 778 of file calc_menu.c.
| G_MODULE_EXPORT void toggle_bond | ( | GtkToggleButton * | Button, |
| gpointer | data ) |
activate bond properties detailed saving and prepare the dialog
| Button | the GtkToggleButton sending the signal |
| data | the associated data pointer |
Definition at line 697 of file calc_menu.c.
| G_MODULE_EXPORT void toggle_rings | ( | GtkToggleButton * | but, |
| gpointer | data ) |
toggle a rings statistics calculation parameter
| but | the GtkToggleButton sending the signal |
| data | the associated data pointer |
Definition at line 463 of file calc_menu.c.
| GtkWidget* avbox |
Definition at line 985 of file calc_menu.c.
| int avsize |
Definition at line 987 of file calc_menu.c.
| GtkWidget* ba_entry[2] |
Definition at line 91 of file calc_menu.c.
| GtkWidget* calc_win = NULL |
Definition at line 90 of file calc_menu.c.
| GtkWidget* rings_box[2] |
Definition at line 136 of file calc_menu.c.
| GtkWidget* rings_check[4] |
Definition at line 381 of file calc_menu.c.
| GtkWidget* rings_entry[2] |
Definition at line 380 of file calc_menu.c.
| int search_type |
Definition at line 92 of file calc_menu.c.
| GtkWidget* smbox |
Definition at line 986 of file calc_menu.c.
|
extern |
Definition at line 74 of file ringscall.c.