Callbacks for the g(r)/g(k) calculation dialog.
More...
#include <gtk/gtk.h>
#include <string.h>
#include <stdlib.h>
#include "global.h"
#include "curve.h"
#include "bind.h"
#include "interface.h"
#include "callbacks.h"
#include "project.h"
Go to the source code of this file.
|
void | initgr (int r) |
| initialize the curve widgets for the g(r)/g(k)
|
|
void | update_rdf_view (project *this_proj, int rdf) |
| update the project text view for the g(r)/g(k) calculation
|
|
G_MODULE_EXPORT void | on_calc_gr_released (GtkWidget *widg, gpointer data) |
| compute g(r)
|
|
void | sendcutoffs_ (int *nc, double *totc, double partc[*nc][*nc]) |
| bond cutoff from Fortran90
|
|
G_MODULE_EXPORT void | on_cutcheck_toggled (GtkToggleButton *but, gpointer data) |
|
int | recup_data_ (int *cd, int *rd) |
| Sending data back to Fortran90.
|
|
G_MODULE_EXPORT void | on_calc_gq_released (GtkWidget *widg, gpointer data) |
| compute g(k)
|
|
◆ initgr()
initialize the curve widgets for the g(r)/g(k)
- Parameters
-
r | GR = real space, GK = FFT |
Definition at line 65 of file grcall.c.
◆ on_calc_gq_released()
G_MODULE_EXPORT void on_calc_gq_released |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
compute g(k)
- Parameters
-
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 324 of file grcall.c.
◆ on_calc_gr_released()
G_MODULE_EXPORT void on_calc_gr_released |
( |
GtkWidget * | widg, |
|
|
gpointer | data ) |
compute g(r)
- Parameters
-
widg | the GtkWidget sending the signal |
data | the associated data pointer |
Definition at line 199 of file grcall.c.
◆ on_cutcheck_toggled()
G_MODULE_EXPORT void on_cutcheck_toggled |
( |
GtkToggleButton * | but, |
|
|
gpointer | data ) |
◆ recup_data_()
int recup_data_ |
( |
int * | cd, |
|
|
int * | rd ) |
Sending data back to Fortran90.
- Parameters
-
cd | the curve id |
rd | the analysis id |
Definition at line 296 of file grcall.c.
◆ sendcutoffs_()
void sendcutoffs_ |
( |
int * | nc, |
|
|
double * | totc, |
|
|
double | partc[ *nc][ *nc] ) |
bond cutoff from Fortran90
- Parameters
-
nc | number of species |
totc | total cutoff |
partc | partials cutoff |
Definition at line 235 of file grcall.c.
◆ update_rdf_view()
void update_rdf_view |
( |
project * | this_proj, |
|
|
int | rdf ) |
update the project text view for the g(r)/g(k) calculation
- Parameters
-
this_proj | the target project |
rdf | the calculation GR / GK |
Definition at line 128 of file grcall.c.
◆ fitc