| | |
| | | /* vim: set ts=4 sts=4 sw=4 noet : */ |
| | | #ifndef _BOND_H |
| | | #define _BOND_H |
| | | |
| | |
| | | /** Initialize bond list with zero values |
| | | * @param *blist is a pointer to a ts_bond_list structure |
| | | */ |
| | | ts_bool init_bond_list(ts_bond_list *blist); |
| | | ts_bond_list *init_bond_list(); |
| | | |
| | | /** @brief Adds bond in the bond list |
| | | * |
| | |
| | | * this is considered as fatal error and execution stops, returning error code to the operating |
| | | * system. |
| | | */ |
| | | ts_bool bond_add(ts_bond_list *blist, ts_vertex *vtx1, ts_vertex *vtx2); |
| | | ts_bond *bond_add(ts_bond_list *blist, ts_vertex *vtx1, ts_vertex *vtx2); |
| | | |
| | | |
| | | ts_bool bond_vector(ts_bond *bond); |
| | | ts_bool bond_list_free(ts_bond_list *blist); |
| | | |
| | | |
| | | |