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

Functions to save curves information in the atomes project file format. More...

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

Go to the source code of this file.

Functions

gboolean write_data_layout (FILE *fp, DataLayout *layout)
 save curve data layout to file
 
int save_project_curve (FILE *fp, int wid, project *this_proj, int rid, int cid)
 save project curve to file
 

Detailed Description

Functions to save curves information in the atomes project file format.

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

Function Documentation

◆ save_project_curve()

int save_project_curve ( FILE * fp,
int wid,
project * this_proj,
int rid,
int cid )

save project curve to file

Parameters
fpthe file pointer
widthe total number of project file in the workspace
this_projthe target project
ridthe calculation to save
cidthe curve id to save

Definition at line 76 of file save_curve.c.

◆ write_data_layout()

gboolean write_data_layout ( FILE * fp,
DataLayout * layout )

save curve data layout to file

Parameters
fpthe file pointer
layoutthe data layout to save

Definition at line 50 of file save_curve.c.