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

Functions to read NPT data. More...

#include "global.h"
#include "bind.h"
#include "interface.h"
#include "project.h"
#include <ctype.h>
#include "cbuild_edit.h"
+ Include dependency graph for read_npt.c:

Go to the source code of this file.

Data Structures

struct  cell_file
 

Typedefs

typedef struct cell_file cell_file
 

Functions

void add_cell_info (gchar *info)
 append information message to the cell information
 
int cell_get_lattice (int format)
 get the lattice parameters format from the file
 
int open_cell_file (int format, gchar *filename)
 open the file that contains the cell parameters
 

Variables

FILE * cellp
 
cell_filethis_cell
 

Detailed Description

Functions to read NPT data.

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

Typedef Documentation

◆ cell_file

typedef struct cell_file cell_file

Definition at line 54 of file read_npt.c.

Function Documentation

◆ add_cell_info()

void add_cell_info ( gchar * info)

append information message to the cell information

Parameters
infothe cell information message

Definition at line 70 of file read_npt.c.

◆ cell_get_lattice()

int cell_get_lattice ( int format)

get the lattice parameters format from the file

Parameters
formatFile format

Definition at line 82 of file read_npt.c.

◆ open_cell_file()

int open_cell_file ( int format,
gchar * filename )

open the file that contains the cell parameters

Parameters
formatFile format
filenameFile name

Definition at line 232 of file read_npt.c.

Variable Documentation

◆ cellp

FILE* cellp

Definition at line 52 of file read_npt.c.

◆ this_cell

cell_file* this_cell

Definition at line 61 of file read_npt.c.