atomes 1.1.16
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
readers.h
Go to the documentation of this file.
1/* This file is part of the 'atomes' software
2
3'atomes' is free software: you can redistribute it and/or modify it under the terms
4of the GNU Affero General Public License as published by the Free Software Foundation,
5either version 3 of the License, or (at your option) any later version.
6
7'atomes' is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
8without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9See the GNU General Public License for more details.
10
11You should have received a copy of the GNU Affero General Public License along with 'atomes'.
12If not, see <https://www.gnu.org/licenses/>
13
14Copyright (C) 2022-2024 by CNRS and University of Strasbourg */
15
22/*
23* This header file: 'readers.h'
24*
25* Contains:
26
27 - Functions declaration to read atomic coordinates
28
29*/
30
31#ifndef READERS_H_
32
33#define READERS_H_
34
35#include "read_isaacs.h"
36
37extern int set_v_dummy (gchar * this_word);
38
39extern double get_z_from_periodic_table (gchar * lab);
40extern void allocatoms (project * this_proj);
41extern chemical_data * alloc_chem_data (int spec);
42extern FILE * coordf;
43
44extern coord_file * this_reader;
45extern gchar * this_line;
46extern char * this_word;
47extern gchar ** coord_line;
48
49extern line_node * head;
50extern line_node * tail;
51
52extern void add_reader_info (gchar * info, int mid);
53extern void reader_info (gchar * type, gchar * sinf, int val);
54extern void format_error (int stp, int ato, gchar * mot, int line);
55extern void check_for_species (double v, int ato);
56#endif
gchar * mot[2][2]
Definition popup.c:3293
float val
Definition dlp_init.c:117
Function declarations to read / write ISAACS XML file.
FILE * coordf
Definition read_coord.c:70
double get_z_from_periodic_table(gchar *lab)
get Z from atom label
Definition w_library.c:304
line_node * head
Definition read_coord.c:75
gchar ** coord_line
Definition read_coord.c:72
coord_file * this_reader
Definition read_coord.c:71
void reader_info(gchar *type, gchar *sinf, int val)
display reader information
Definition read_coord.c:101
line_node * tail
Definition read_coord.c:76
void add_reader_info(gchar *info, int mid)
append information message to the reader information
Definition read_coord.c:86
chemical_data * alloc_chem_data(int spec)
allocate chemistry data
Definition open_p.c:186
char * this_word
Definition read_coord.c:74
void format_error(int stp, int ato, gchar *mot, int line)
Message to display an error message.
Definition read_coord.c:116
void allocatoms(project *this_proj)
allocate project data
Definition open_p.c:160
gchar * this_line
Definition read_coord.c:73
void check_for_species(double v, int ato)
Fill the species for each atom and the associated data.
Definition read_coord.c:196
int set_v_dummy(gchar *this_word)
check if dummy is used for unknown species, if not then ask what to do
Definition read_coord.c:142
GtkWidget * lab
Definition workspace.c:73