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

Curve data buffer initialization. More...

#include "global.h"
#include "callbacks.h"
#include "project.h"
+ Include dependency graph for initc.c:

Go to the source code of this file.

Functions

void clean_this_curve_window (int cid, int rid)
 free curve window data
 
void clean_curves_data (int calc, int start, int end)
 clean curve data on a range of curve id
 
void alloc_curves (int rid)
 allocating curve data
 
void initcwidgets ()
 initializing curve values
 
void prepostcalc (GtkWidget *widg, gboolean status, int run, int adv, double opc)
 to just before and just after running a calculation
 

Detailed Description

Curve data buffer initialization.

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 initc.c.

Function Documentation

◆ alloc_curves()

void alloc_curves ( int rid)

allocating curve data

Parameters
ridanalysis id

Definition at line 74 of file initc.c.

◆ clean_curves_data()

void clean_curves_data ( int calc,
int start,
int end )

clean curve data on a range of curve id

Parameters
calcthe calculation
startthe starting value
endthe ending value

Definition at line 55 of file initc.c.

◆ clean_this_curve_window()

void clean_this_curve_window ( int cid,
int rid )
extern

free curve window data

Parameters
cidthe curve id
ridthe calculation id

Definition at line 338 of file curve.c.

◆ initcwidgets()

void initcwidgets ( )

initializing curve values

Definition at line 104 of file initc.c.

◆ prepostcalc()

void prepostcalc ( GtkWidget * widg,
gboolean status,
int run,
int adv,
double opc )

to just before and just after running a calculation

Parameters
widgthe GtkWidget sending the signal
statuscalculation completed (1/0)
runcalculation id
advcalculation result
opcopacity

Definition at line 154 of file initc.c.