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

Callbacks for the bond properties calculation dialog. More...

#include "global.h"
#include "bind.h"
#include "interface.h"
#include "callbacks.h"
#include "project.h"
#include "curve.h"
#include "dlp_field.h"
#include "glview.h"
#include "initcoord.h"
+ Include dependency graph for bdcall.c:

Go to the source code of this file.

Functions

G_MODULE_EXPORT void set_color_map (GtkWidget *widg, gpointer data)
 set color map callback
 
void clean_coord_window (project *this_proj)
 update the environment configuration window after edtion
 
G_MODULE_EXPORT void set_filter_changed (GtkComboBox *box, gpointer data)
 change the search filter
 
int * save_color_map (glwin *view)
 save atoms and polyhedra color maps
 
void restore_color_map (glwin *view, int *colm)
 restore saved color maps
 
void recup_dmin_dmax_ (double *min, double *max)
 retrieve min and max inter-atomic distances from Fortran
 
void initbd ()
 initialize the curve widgets for the bond distribution
 
void initang ()
 initialize the curve widgets for the angle distribution
 
void initcutoffs (chemical_data *chem, int species)
 initialize bond cutoffs
 
void cutoffsend ()
 send cutoffs to Fortran90
 
void prep_ogl_bonds ()
 initialize bond pointers
 
gboolean run_distance_matrix (GtkWidget *widg, int calc, int up_ngb)
 compute distance matrix
 
void update_ang_view (project *this_proj)
 update angle calculation text buffer
 
void update_glwin_after_bonds (int bonding, int *colm)
 update glwin menus after bond calculation
 
G_MODULE_EXPORT void on_calc_bonds_released (GtkWidget *widg, gpointer data)
 compute bonding properties
 
void coordination_info (int sp, double sac, double ssac[active_project -> nspec])
 
void coordout_ (int *sid, double *sac, double ssac[active_project -> nspec], int *totgsa)
 
void env_info (int sp, int totgsa, int numgsa[totgsa])
 output environment information for target chemical species in text buffer
 
void update_angle_view (project *this_proj)
 update angle calculation information text buffer
 
void envout_ (int *sid, int *totgsa, int numgsa[*totgsa])
 retrieve environment information for target chemical species from Fortran
 
void tetraout_ (int *sid, double eda[active_project -> nspec], double cda[active_project -> nspec], double dda[active_project -> nspec], double tepa[active_project -> nspec], double tcpa[active_project -> nspec], double tdda[active_project -> nspec], double atd[active_project -> nspec], double etd[active_project -> nspec])
 

Variables

double bdtc
 

Detailed Description

Callbacks for the bond properties 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 bdcall.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.

◆ coordination_info()

void coordination_info ( int sp,
double sac,
double ssac[active_project -> nspec] )

Definition at line 632 of file bdcall.c.

◆ coordout_()

void coordout_ ( int * sid,
double * sac,
double ssac[active_project -> nspec],
int * totgsa )

Definition at line 725 of file bdcall.c.

◆ cutoffsend()

void cutoffsend ( )

send cutoffs to Fortran90

Definition at line 243 of file bdcall.c.

◆ env_info()

void env_info ( int sp,
int totgsa,
int numgsa[totgsa] )

output environment information for target chemical species in text buffer

Parameters
spthe target chemcial species
totgsathe total number of partial coordination(s)
numgsathe number of coordination(s) by coordination type

Definition at line 789 of file bdcall.c.

◆ envout_()

void envout_ ( int * sid,
int * totgsa,
int numgsa[ *totgsa] )

retrieve environment information for target chemical species from Fortran

Parameters
sidthe target chemical speceis
totgsathe total number of partial coordination(s)
numgsathe number of coordination(s) by coordination type

Definition at line 893 of file bdcall.c.

◆ initang()

void initang ( )

initialize the curve widgets for the angle distribution

Definition at line 160 of file bdcall.c.

◆ initbd()

void initbd ( )

initialize the curve widgets for the bond distribution

Definition at line 136 of file bdcall.c.

◆ initcutoffs()

void initcutoffs ( chemical_data * chem,
int species )

initialize bond cutoffs

Parameters
chemthe target chemical data
speciesthe number of chemical species

Definition at line 207 of file bdcall.c.

◆ on_calc_bonds_released()

G_MODULE_EXPORT void on_calc_bonds_released ( GtkWidget * widg,
gpointer data )

compute bonding properties

Parameters
widgthe GtkWidget sending the signal, if any
datathe associated data pointer

Definition at line 471 of file bdcall.c.

◆ prep_ogl_bonds()

void prep_ogl_bonds ( )

initialize bond pointers

Definition at line 270 of file bdcall.c.

◆ recup_dmin_dmax_()

void recup_dmin_dmax_ ( double * min,
double * max )

retrieve min and max inter-atomic distances from Fortran

Parameters
minthe smallest inter-atomic distance
maxthe highest inter-atomic distance

Definition at line 125 of file bdcall.c.

◆ restore_color_map()

void restore_color_map ( glwin * view,
int * colm )

restore saved color maps

Parameters
viewthe target glwin
colmthe saved color map values

Definition at line 93 of file bdcall.c.

◆ run_distance_matrix()

gboolean run_distance_matrix ( GtkWidget * widg,
int calc,
int up_ngb )

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_color_map()

int * save_color_map ( glwin * view)

save atoms and polyhedra color maps

Parameters
viewthe target glwin

Definition at line 77 of file bdcall.c.

◆ set_color_map()

G_MODULE_EXPORT void set_color_map ( GtkWidget * widg,
gpointer data )
extern

set color map callback

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 1011 of file m_map.c.

◆ set_filter_changed()

G_MODULE_EXPORT void set_filter_changed ( GtkComboBox * box,
gpointer data )
extern

change the search filter

Parameters
boxthe GtkComboBox sending the signal
datathe associated data pointer

Definition at line 3858 of file w_search.c.

◆ tetraout_()

void tetraout_ ( int * sid,
double eda[active_project -> nspec],
double cda[active_project -> nspec],
double dda[active_project -> nspec],
double tepa[active_project -> nspec],
double tcpa[active_project -> nspec],
double tdda[active_project -> nspec],
double atd[active_project -> nspec],
double etd[active_project -> nspec] )

Definition at line 899 of file bdcall.c.

◆ update_ang_view()

void update_ang_view ( project * this_proj)

update angle calculation text buffer

Parameters
this_projthe target project

Definition at line 363 of file bdcall.c.

◆ update_angle_view()

void update_angle_view ( project * this_proj)

update angle calculation information text buffer

Parameters
this_projthe target project

Definition at line 868 of file bdcall.c.

◆ update_glwin_after_bonds()

void update_glwin_after_bonds ( int bonding,
int * colm )

update glwin menus after bond calculation

Parameters
bondingcalculation result (0 = failure, 1 = success)
colmsaved color map to restore

Definition at line 392 of file bdcall.c.

Variable Documentation

◆ bdtc

double bdtc

Definition at line 621 of file bdcall.c.