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

Functions to read curve data in the atomes project file format. More...

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

Go to the source code of this file.

Functions

gboolean read_data_layout (FILE *fp, DataLayout *layout)
 read data layout from file
 
int read_project_curve (FILE *fp, int wid, int pid)
 read a project curve from file
 

Detailed Description

Functions to read curve data 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 read_curve.c.

Function Documentation

◆ read_data_layout()

gboolean read_data_layout ( FILE * fp,
DataLayout * layout )

read data layout from file

Parameters
fpthe file pointer
layoutthe data layout to store the data

Definition at line 50 of file read_curve.c.

◆ read_project_curve()

int read_project_curve ( FILE * fp,
int wid,
int pid )

read a project curve from file

Parameters
fpthe file pointer
widthe total number of projects in the workspace
pidthe active project id

Definition at line 74 of file read_curve.c.