|
atomes 1.3.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"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_skt_released (GtkWidget *widg, gpointer data) |
| callback to compute the dynamic structure factor analysis | |
| 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 | |
| void | dyna_parameters (GtkWidget *vbox, int cid) |
| create time related configuration widgets | |
| GtkWidget * | calc_window (int i) |
| create a calculation window | |
| void | add_remove_t_steps_q_vectors (int val, int calc) |
| add or remove t steps results to save | |
| G_MODULE_EXPORT void | set_max (GtkEntry *entry, gpointer data) |
| set a maximum value | |
| void | update_omega_max () |
| update omega max information string | |
| 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, int cid) |
| 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 rdf) |
| is it safe to compute g(r) ? | |
| gboolean | test_sq (int fdq) |
| 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_sph () |
| is it safe to compute spherical harmonics ? | |
| gboolean | test_msd () |
| is it safe to compute MSD ? | |
| gboolean | test_skt () |
| is it safe to compute dynamic structure factors ? | |
| 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 | add_advanced_options (int skq, dint skadv[2], GtkWidget *vbox) |
| add k-point selection advanced options | |
| void | add_smoothing_options (int grsqk, GtkWidget *vbox) |
| add gaussian smoothing options | |
| 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 | set_skt_step_id (GtkEntry *res, gpointer data) |
| set "to be saved" step id | |
| G_MODULE_EXPORT void | set_sqw_q_id (GtkEntry *res, gpointer data) |
| set "to be saved" q vector | |
| G_MODULE_EXPORT void | set_t_q_spin (GtkSpinButton *res, gpointer data) |
| set the number of t steps results to save - spin button | |
| void | add_correlations_options (int cid) |
| add correlation(s) options to the S(k,t) calculation dialog | |
| G_MODULE_EXPORT void | set_correlations (GtkEntry *entry, gpointer data) |
| set the minimum number of correlated configuration to compute S(k,t) | |
| G_MODULE_EXPORT void | toggle_skt_all (GtkToggleButton *but, gpointer data) |
| toggle the output of all s(k,t) data sets | |
| void | calc_sk_t (GtkWidget *box) |
| creation of the s(k,t) 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 | |
| GtkWidget * | calc_win = NULL |
| GtkWidget * | ba_entry [2] |
| int | search_type |
| GtkWidget * | rings_box [2] |
| GtkWidget * | omega_max_hbox = NULL |
| GtkWidget * | omega_max_info = NULL |
| GtkWidget * | rings_entry [2] |
| GtkWidget * | rings_check [4] |
| GtkWidget * | avbox = NULL |
| GtkWidget * | smbox = NULL |
| dint | skadv [2] |
| int | avsize |
| GtkWidget * | skt_all_info = NULL |
| GtkWidget * | sktqw_vbox [2] |
| GtkWidget * | sktqw_delta [2] |
| GtkWidget * | t_q_vbox [2] |
| GtkWidget * | skt_res_info |
Creation of the calculation dialogs.
Definition in file calc_menu.c.
| void add_advanced_options | ( | int | skq, |
| dint | skadv[2], | ||
| GtkWidget * | vbox ) |
add k-point selection advanced options
Definition at line 1362 of file calc_menu.c.
| void add_correlations_options | ( | int | cid | ) |
add correlation(s) options to the S(k,t) calculation dialog
| cid | calculation ID: 0 = S(k,t), 1 = S(q,w) |
Definition at line 1662 of file calc_menu.c.
| void add_remove_t_steps_q_vectors | ( | int | val, |
| int | calc ) |
add or remove t steps results to save
| val | total number of t steps |
| calc | 0 = S(k,t), 1 = S(q,w) |
Definition at line 1575 of file calc_menu.c.
| void add_smoothing_options | ( | int | grsqk, |
| GtkWidget * | vbox ) |
add gaussian smoothing options
| calculation | ID (GDR, SQD, SKD, GDK or SKT) |
| vbox | target box widget |
Definition at line 1400 of 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 1009 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 1428 of file calc_menu.c.
| void calc_msd | ( | GtkWidget * | vbox, |
| int | cid ) |
creation of the MSD calculation widgets
| vbox | GtkWidget that will receive the data |
| cid | calculation id, MSD or SKT |
Definition at line 311 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 578 of file calc_menu.c.
| void calc_sk_t | ( | GtkWidget * | box | ) |
creation of the s(k,t) calculation widgets
| box | GtkWidget that will receive the data |
Definition at line 1807 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 291 of file calc_menu.c.
| GtkWidget * calc_window | ( | int | i | ) |
create a calculation window
| i | the calculation id |
Definition at line 114 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 421 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 448 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 278 of file calc_menu.c.
|
extern |
create time related configuration widgets
| vbox | the target box to insert the new widgets |
| cid | the calculation ID (7 = MSD, 8 = S(q,w) |
Definition at line 4227 of file preferences.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 1076 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 1049 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 2049 of file calc_menu.c.
|
extern |
compute chains statistics
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 304 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 426 of file ringscall.c.
|
extern |
|
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 1177 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 1197 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 1969 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 721 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 1118 of file calc_menu.c.
| G_MODULE_EXPORT void set_correlations | ( | GtkEntry * | entry, |
| gpointer | data ) |
set the minimum number of correlated configuration to compute S(k,t)
| entry | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 1697 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 195 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 130 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 364 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 1152 of file calc_menu.c.
| G_MODULE_EXPORT void set_skt_step_id | ( | GtkEntry * | res, |
| gpointer | data ) |
set "to be saved" step id
| res | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 1519 of file calc_menu.c.
| G_MODULE_EXPORT void set_sqw_q_id | ( | GtkEntry * | res, |
| gpointer | data ) |
set "to be saved" q vector
| res | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 1547 of file calc_menu.c.
| G_MODULE_EXPORT void set_t_q_spin | ( | GtkSpinButton * | res, |
| gpointer | data ) |
set the number of t steps results to save - spin button
| res | the GtkSpinButton sending the signal |
| data | the associated data pointer |
Definition at line 1650 of file calc_menu.c.
| gboolean test_bonds | ( | ) |
is it safe to compute bond properties ?
Definition at line 864 of file calc_menu.c.
| gboolean test_gr | ( | int | gr | ) |
is it safe to compute g(r) ?
| rdf | type of g(r): real space (GR) or FFT (GK) |
Definition at line 812 of file calc_menu.c.
| gboolean test_msd | ( | ) |
is it safe to compute MSD ?
Definition at line 943 of file calc_menu.c.
| gboolean test_rings | ( | ) |
is it safe to compute ring statistics ?
Definition at line 887 of file calc_menu.c.
| gboolean test_skt | ( | ) |
is it safe to compute dynamic structure factors ?
Definition at line 987 of file calc_menu.c.
| gboolean test_sph | ( | ) |
is it safe to compute spherical harmonics ?
Definition at line 925 of file calc_menu.c.
| gboolean test_sq | ( | int | fdq | ) |
is it safe to compute s(q) ?
| fdq | type of s(q): 0 = FFT g(r), 1 = Debye, 2 = Dynamic |
Definition at line 839 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 759 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 520 of file calc_menu.c.
| G_MODULE_EXPORT void toggle_skt_all | ( | GtkToggleButton * | but, |
| gpointer | data ) |
toggle the output of all s(k,t) data sets
| but | the GtkToggleButton sending the signal |
| data | the associated data pointer |
Definition at line 1764 of file calc_menu.c.
| void update_omega_max | ( | ) |
update omega max information string
Definition at line 159 of file calc_menu.c.
| GtkWidget* avbox = NULL |
Definition at line 1063 of file calc_menu.c.
| int avsize |
Definition at line 1066 of file calc_menu.c.
| GtkWidget* ba_entry[2] |
Definition at line 104 of file calc_menu.c.
| GtkWidget* calc_win = NULL |
Definition at line 103 of file calc_menu.c.
| GtkWidget* omega_max_hbox = NULL |
Definition at line 151 of file calc_menu.c.
| GtkWidget* omega_max_info = NULL |
Definition at line 152 of file calc_menu.c.
| GtkWidget* rings_box[2] |
Definition at line 150 of file calc_menu.c.
| GtkWidget* rings_check[4] |
Definition at line 438 of file calc_menu.c.
| GtkWidget* rings_entry[2] |
Definition at line 437 of file calc_menu.c.
| int search_type |
Definition at line 105 of file calc_menu.c.
| dint skadv[2] |
Definition at line 1065 of file calc_menu.c.
| GtkWidget* skt_all_info = NULL |
Definition at line 1505 of file calc_menu.c.
| GtkWidget* skt_res_info |
Definition at line 1509 of file calc_menu.c.
| GtkWidget* sktqw_delta[2] |
Definition at line 1507 of file calc_menu.c.
| GtkWidget* sktqw_vbox[2] |
Definition at line 1506 of file calc_menu.c.
| GtkWidget* smbox = NULL |
Definition at line 1064 of file calc_menu.c.
| GtkWidget* t_q_vbox[2] |
Definition at line 1508 of file calc_menu.c.