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

Functions to read space group data from XML files. More...

#include "global.h"
#include "cbuild_edit.h"
+ Include dependency graph for cbuild_sg.c:

Go to the source code of this file.

Functions

space_groupclean_sgl_data (xmlDoc *doc, xmlTextReaderPtr reader)
 clean space group and corresponding XML data
 
int get_this_group_data (space_group *spg, xmlNodePtr racine)
 retrieve space group data
 
space_groupread_sg_xml_file (const char *filetoread)
 read space group data from XML file
 

Variables

gchar * groups [230]
 
gchar * hmsymbols [230]
 

Detailed Description

Functions to read space group data from XML files.

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

Function Documentation

◆ clean_sgl_data()

space_group * clean_sgl_data ( xmlDoc * doc,
xmlTextReaderPtr reader )

clean space group and corresponding XML data

Parameters
docthe XML doc pointer to free
readerthe XML reader to free

Definition at line 513 of file cbuild_sg.c.

◆ get_this_group_data()

int get_this_group_data ( space_group * spg,
xmlNodePtr racine )

retrieve space group data

Parameters
spgthe space group pointer to fill
racinethe XML node root

Definition at line 529 of file cbuild_sg.c.

◆ read_sg_xml_file()

space_group * read_sg_xml_file ( const char * filetoread)

read space group data from XML file

Parameters
filetoreadthe file to read

Definition at line 652 of file cbuild_sg.c.

Variable Documentation

◆ groups

gchar* groups[230]

Definition at line 43 of file cbuild_sg.c.

◆ hmsymbols

gchar* hmsymbols[230]

Definition at line 274 of file cbuild_sg.c.