![]() |
Bsoft 2.1.4
Bernard's software package
|
Library routines to read and write symmetry operators. More...
#include "rwsymop.h"
#include "star.h"
#include "sym_tags.h"
#include "linked_list.h"
#include "utilities.h"
Functions | |
char * | read_symop_star (Bstring &filename, int spacegroup, int &nsym) |
char * | read_symop_lib (Bstring &filename, int spacegroup, int &nsym) |
int | write_symop_star (Bstring &filename, int spacegroup, int nsym, char *symop, int line_len) |
int | write_pointgroup_star (Bstring &filename, Bsymmetry &sym, View ref_view) |
float * | sym_matrices_from_text_list (int nsym, char *symop, int line_len) |
Calculates symmetry matrices from a list of strings. More... | |
float * | read_symat (Bstring &filename, int spacegroup, int &nsym) |
Reading crystallographic symmetry operators. More... | |
char * | read_symop (Bstring &symopfile, int spacegroup, int &nsym) |
Reading crystallographic symmetry operators. More... | |
int | write_symat (Bstring &filename, int spacegroup) |
Writing crystallographic symmetry operators. More... | |
int | write_pointgroup (Bstring &filename, Bstring &symmetry_string, View ref_view) |
Writing point group symmetry operators. More... | |
int | write_pointgroup (Bstring &filename, Bsymmetry &sym, View ref_view) |
Variables | |
int | verbose |
Library routines to read and write symmetry operators.
float * read_symat | ( | Bstring & | filename, |
int | spacegroup, | ||
int & | nsym | ||
) |
Reading crystallographic symmetry operators.
&filename | file name. |
spacegroup | crystal space group number. |
&nsym | number of symmetry operators. |
The symmetry operators are encoded as a set of matrices.
char * read_symop | ( | Bstring & | symopfile, |
int | spacegroup, | ||
int & | nsym | ||
) |
Reading crystallographic symmetry operators.
&symopfile | file name. |
spacegroup | crystal space group number. |
&nsym | number of symmetry operators. |
The symmetry operators are encoded as 80 character lines.
char * read_symop_lib | ( | Bstring & | filename, |
int | spacegroup, | ||
int & | nsym | ||
) |
char * read_symop_star | ( | Bstring & | filename, |
int | spacegroup, | ||
int & | nsym | ||
) |
float * sym_matrices_from_text_list | ( | int | nsym, |
char * | symop, | ||
int | line_len | ||
) |
Calculates symmetry matrices from a list of strings.
nsym | number of symmetry operators. |
*symop | array of symmetry operator lines. |
line_len | length of text line in the array. |
The list of strings is expected to be packed into a single character array with a fixed length for each string. Each string encodes a symmetry operation in terms of x, y and z operations in reciprocal space.
Writing point group symmetry operators.
&filename | file name. |
&symmetry_string | symmetry string. |
ref_view | reference view. |
int write_symat | ( | Bstring & | filename, |
int | spacegroup | ||
) |
Writing crystallographic symmetry operators.
&filename | file name. |
spacegroup | crystal space group number. |
int write_symop_star | ( | Bstring & | filename, |
int | spacegroup, | ||
int | nsym, | ||
char * | symop, | ||
int | line_len | ||
) |
|
extern |