|
mdcore
0.1.5
|
Go to the source code of this file.
Data Structures | |
| struct | part |
| struct | part_type |
Defines | |
| #define | part_err_ok 0 |
| #define | part_err_null -1 |
| #define | part_err_malloc -2 |
| #define | part_flag_none 0 |
| #define | part_flag_frozen 1 |
| #define | part_flag_ghost 2 |
Functions | |
| int | part_init (struct part *p, int vid, int type, unsigned int flags) |
| Initialize a part. | |
Variables | |
| int | part_err |
| #define part_err_malloc -2 |
| #define part_err_null -1 |
| #define part_err_ok 0 |
| #define part_flag_frozen 1 |
| #define part_flag_ghost 2 |
| #define part_flag_none 0 |
Initialize a part.
| p | The part to be initialized. |
| vid | The virtual id of this part. |
| type | The numerical id of the particle type. |
| flags | The particle flags. |
| int part_err |
ID of the last error.
ID of the last error
1.7.6.1