|
Bsoft
2.1.0
Bernard's software package
|
Library routines to read and write atom properties. More...
#include "rwatomprop.h"#include "rwstar.h"#include "mol_tags.h"#include "linked_list.h"#include "utilities.h"Go to the source code of this file.
Classes | |
| struct | atom_type |
Functions | |
| Batomtype * | read_atom_prop_star (Bstring &filename) |
| Batomtype * | read_atom_properties (Bstring &filename) |
| int | write_atom_prop_star (Bstring &filename, Batomtype *at_first) |
| 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... | |
Variables | |
| int | verbose |
Library routines to read and write atom properties.
Definition in file rwatomprop.cpp.
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.
Definition at line 144 of file rwatomprop.cpp.
| int atom_type_kill | ( | Batomtype * | atype | ) |
Destroys an atom type.
| atype | the atom type. |
Definition at line 177 of file rwatomprop.cpp.
Reading atomic properties from parameter files.
| &filename | file name (if empty, use a default file). |
Definition at line 47 of file rwatomprop.cpp.
Definition at line 193 of file rwatomprop.cpp.
Definition at line 359 of file rwatomprop.cpp.
Definition at line 297 of file rwatomprop.cpp.
Writing atomic properties from parameter files.
| &filename | file name. |
| *at | the atom property structure. |
Definition at line 113 of file rwatomprop.cpp.
|
extern |