atomes 1.1.14
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
ringscall.c File Reference

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"
+ Include dependency graph for ringscall.c:

Go to the source code of this file.

Functions

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
 

Variables

gboolean toggled_rings
 

Detailed Description

Callbacks for the ring statistics calculation dialog.

Author
Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r

Definition in file ringscall.c.

Function Documentation

◆ clean_coord_window()

void clean_coord_window ( project * this_proj)
extern

update the environment configuration window after edtion

Parameters
this_projthe 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
ridRings type
viewthe glview

Definition at line 374 of file ringscall.c.

◆ initrng()

void 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
widgthe GtkWidget sending the signal
datathe 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
widgthe GtkWidget sending the signal, if any
calcthe calculation that requires the analysis
up_ngbupdate 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
taillenumber of data points
ectrcRc (RINGS method)
ectpnaPn (RINGS method)
ectmaxPmax (RINGS method)
ectminPmin (RINGS method)
rpstepring(s) per MD step
ectrpstStandard deviation
nampatrings not found
ectampatstandard 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_projthe target project
cthe ring type

Definition at line 149 of file ringscall.c.

Variable Documentation

◆ toggled_rings

gboolean toggled_rings

Definition at line 74 of file ringscall.c.