atomes 1.3.1
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

int 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

Variables

gboolean version_2_9_and_above
gboolean reading_project = FALSE

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()

int 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 53 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
widreading workspace (1/0)
pidthe active project id

Definition at line 77 of file read_curve.c.

Variable Documentation

◆ reading_project

gboolean reading_project = FALSE

Definition at line 43 of file read_curve.c.

◆ version_2_9_and_above

gboolean version_2_9_and_above
extern

Definition at line 79 of file open_p.c.