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

Callbacks for the s(q) / s(k) 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 "curve.h"
+ Include dependency graph for sqcall.c:

Go to the source code of this file.

Functions

void initsq (int r)
 initialize the curve widgets for the s(q) / s(k) calculation
 
void update_sq_view (project *this_proj, int sqk)
 update the text view for s(q) / s(k) calculation
 
G_MODULE_EXPORT void on_calc_sq_released (GtkWidget *widg, gpointer data)
 compute s(q) / s(k)
 
void save_xsk_ (int *interv, double datacurve[*interv])
 get s(k) calculation results form Fortran90
 
G_MODULE_EXPORT void on_calc_sk_released (GtkWidget *widg, gpointer data)
 compute s(q) / s(k)
 

Detailed Description

Callbacks for the s(q) / s(k) 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 sqcall.c.

Function Documentation

◆ initsq()

void initsq ( int r)

initialize the curve widgets for the s(q) / s(k) calculation

Parameters
rs(q) (SQ) or s(k) (SK)

Definition at line 60 of file sqcall.c.

◆ on_calc_sk_released()

G_MODULE_EXPORT void on_calc_sk_released ( GtkWidget * widg,
gpointer data )

compute s(q) / s(k)

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 244 of file sqcall.c.

◆ on_calc_sq_released()

G_MODULE_EXPORT void on_calc_sq_released ( GtkWidget * widg,
gpointer data )

compute s(q) / s(k)

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 192 of file sqcall.c.

◆ save_xsk_()

void save_xsk_ ( int * interv,
double datacurve[ *interv] )

get s(k) calculation results form Fortran90

Parameters
intervnumber of data point (delta r/q)
datacurvecalculation result

Definition at line 228 of file sqcall.c.

◆ update_sq_view()

void update_sq_view ( project * this_proj,
int sqk )

update the text view for s(q) / s(k) calculation

Parameters
this_projthe target project
sqks(q) (SQ) or s(k) (SK)

Definition at line 123 of file sqcall.c.