Callbacks for the ring statistics calculation dialog.
More...
#include <gtk/gtk.h>
#include <string.h>
#include <stdlib.h>
#include "global.h"
#include "bind.h"
#include "interface.h"
#include "callbacks.h"
#include "project.h"
#include "glview.h"
#include "curve.h"
#include "initcoord.h"
Go to the source code of this file.
|
GtkWidget * | prep_rings_menu (glwin *view, int id) |
|
gboolean | run_distance_matrix (GtkWidget *widg, int calc, int up_ngb) |
| compute distance matrix
|
|
void | clean_coord_window (project *this_proj) |
| update the environment configuration window after edtion
|
|
G_MODULE_EXPORT void | show_hide_poly (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
void | initrng () |
| initialize the curve widgets for the ring statistics
|
|
void | update_rings_view (project *this_proj, int c) |
| update the text view for ring statistics
|
|
void | clean_rings_data (int rid, glwin *view) |
| clean a ring type data for a glview
|
|
G_MODULE_EXPORT void | on_calc_rings_released (GtkWidget *widg, gpointer data) |
| compute ring statistics
|
|
void | save_rings_data_ (int *taille, double ectrc[*taille], double ectpna[*taille], double ectmax[*taille], double ectmin[*taille], double *rpstep, double *ectrpst, double *nampat, double *ectampat) |
| get rings statistics results form Fortran90
|
|
◆ clean_coord_window()
void clean_coord_window |
( |
project * | this_proj | ) |
|
|
extern |
update the environment configuration window after edtion
- Parameters
-
this_proj | the target project |
Definition at line 87 of file atom_edit.c.
◆ clean_rings_data()
void clean_rings_data |
( |
int | rid, |
|
|
glwin * | view ) |
clean a ring type data for a glview
- Parameters
-
rid | Rings type |
view | the glview |
Definition at line 374 of file ringscall.c.
◆ initrng()
initialize the curve widgets for the ring statistics
Definition at line 81 of file ringscall.c.
◆ on_calc_rings_released()
G_MODULE_EXPORT void on_calc_rings_released |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
compute ring statistics
- Parameters
-
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 439 of file ringscall.c.
◆ prep_rings_menu()
GtkWidget * prep_rings_menu |
( |
glwin * | view, |
|
|
int | id ) |
|
extern |
◆ run_distance_matrix()
gboolean run_distance_matrix |
( |
GtkWidget * | widg, |
|
|
int | calc, |
|
|
int | up_ngb ) |
|
extern |
compute distance matrix
- Parameters
-
widg | the GtkWidget sending the signal, if any |
calc | the calculation that requires the analysis |
up_ngb | update neighbors information (0 = no, 1 = yes) |
Definition at line 310 of file bdcall.c.
◆ save_rings_data_()
void save_rings_data_ |
( |
int * | taille, |
|
|
double | ectrc[ *taille], |
|
|
double | ectpna[ *taille], |
|
|
double | ectmax[ *taille], |
|
|
double | ectmin[ *taille], |
|
|
double * | rpstep, |
|
|
double * | ectrpst, |
|
|
double * | nampat, |
|
|
double * | ectampat ) |
get rings statistics results form Fortran90
- Parameters
-
taille | number of data points |
ectrc | Rc (RINGS method) |
ectpna | Pn (RINGS method) |
ectmax | Pmax (RINGS method) |
ectmin | Pmin (RINGS method) |
rpstep | ring(s) per MD step |
ectrpst | Standard deviation |
nampat | rings not found |
ectampat | standard deviation |
Definition at line 576 of file ringscall.c.
◆ show_hide_poly()
G_MODULE_EXPORT void show_hide_poly |
( |
GSimpleAction * | action, |
|
|
GVariant * | parameter, |
|
|
gpointer | data ) |
|
extern |
◆ update_rings_view()
void update_rings_view |
( |
project * | this_proj, |
|
|
int | c ) |
update the text view for ring statistics
- Parameters
-
this_proj | the target project |
c | the ring type |
Definition at line 149 of file ringscall.c.
◆ toggled_rings