![]() |
Bsoft 2.1.4
Bernard's software package
|
Header file for reading atom property files. More...
#include <Bstring.h>
Classes | |
struct | Batomtype |
Macros | |
#define | _Batomtype_ |
Functions | |
Batomtype * | get_atom_properties (Bstring &filename) |
Reading atomic properties from parameter files. More... | |
int | write_atom_properties (Bstring &filename, Batomtype *at) |
Writing atomic properties from parameter files. More... | |
Batomtype * | atom_type_add (Batomtype **atype, const char *aname) |
Adds an atom type structure to a linked list. More... | |
int | atom_type_kill (Batomtype *atype) |
Destroys an atom type. More... | |
Header file for reading atom property files.
#define _Batomtype_ |
Adds an atom type structure to a linked list.
**atype | pointer to any atom type in the list. |
*aname | atom type name. |
The function allocates memory for a new atom type structure. If the content of the pointer is null, the new structure is the first in the list. Otherwise, the end of the list is found and the new structure added to it.
int atom_type_kill | ( | Batomtype * | atype | ) |
Destroys an atom type.
atype | the atom type. |
Reading atomic properties from parameter files.
&filename | file name (if empty, use a default file). |