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

Functions declaration to read atomic coordinates. More...

#include "read_isaacs.h"
+ Include dependency graph for readers.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int set_v_dummy (gchar *this_word)
 check if dummy is used for unknown species, if not then ask what to do
 
double get_z_from_periodic_table (gchar *lab)
 get Z from atom label
 
void allocatoms (project *this_proj)
 allocate project data
 
chemical_dataalloc_chem_data (int spec)
 allocate chemistry data
 
void add_reader_info (gchar *info, int mid)
 append information message to the reader information
 
void reader_info (gchar *type, gchar *sinf, int val)
 display reader information
 
void format_error (int stp, int ato, gchar *mot, int line)
 Message to display an error message.
 
void check_for_species (double v, int ato)
 Fill the species for each atom and the associated data.
 

Variables

FILE * coordf
 
coord_filethis_reader
 
gchar * this_line
 
char * this_word
 
gchar ** coord_line
 
line_nodehead
 
line_nodetail
 

Detailed Description

Functions declaration to read atomic coordinates.

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 readers.h.

Function Documentation

◆ add_reader_info()

void add_reader_info ( gchar * info,
int mid )
extern

append information message to the reader information

Parameters
infothe reader information message
midmessage type (0 = error, 1 = warning)

Definition at line 86 of file read_coord.c.

◆ alloc_chem_data()

chemical_data * alloc_chem_data ( int spec)
extern

allocate chemistry data

Parameters
specthe number of chemical species

Definition at line 186 of file open_p.c.

◆ allocatoms()

void allocatoms ( project * this_proj)
extern

allocate project data

Parameters
this_projthe target project

Definition at line 160 of file open_p.c.

◆ check_for_species()

void check_for_species ( double v,
int ato )
extern

Fill the species for each atom and the associated data.

Parameters
vZ
atothe atom id

Definition at line 196 of file read_coord.c.

◆ format_error()

void format_error ( int stp,
int ato,
gchar * mot,
int line )
extern

Message to display an error message.

Parameters
stpthe MD step id
atoAtom id
motMessage
lineLine with the error

Definition at line 116 of file read_coord.c.

◆ get_z_from_periodic_table()

double get_z_from_periodic_table ( gchar * lab)
extern

get Z from atom label

Parameters
labthe atomic label

Definition at line 304 of file w_library.c.

◆ reader_info()

void reader_info ( gchar * type,
gchar * sinf,
int val )
extern

display reader information

Parameters
typeFile type
sinfInformation message
valValue to present

Definition at line 101 of file read_coord.c.

◆ set_v_dummy()

int set_v_dummy ( gchar * this_word)
extern

check if dummy is used for unknown species, if not then ask what to do

Parameters
this_wordthe chemical species label

Definition at line 142 of file read_coord.c.

Variable Documentation

◆ coord_line

gchar** coord_line
extern

Definition at line 72 of file read_coord.c.

◆ coordf

FILE* coordf
extern

Definition at line 70 of file read_coord.c.

◆ head

line_node* head
extern

Definition at line 75 of file read_coord.c.

◆ tail

line_node* tail
extern

Definition at line 76 of file read_coord.c.

◆ this_line

gchar* this_line
extern

Definition at line 73 of file read_coord.c.

◆ this_reader

coord_file* this_reader
extern

Definition at line 71 of file read_coord.c.

◆ this_word

char* this_word
extern

Definition at line 74 of file read_coord.c.