|
Glauber Dynamics in C
Simulation for Glauber Dynamics written in C11
|
Contains main dynamics and main function. More...
Go to the source code of this file.
Data Structures | |
| struct | arguments |
| Struct containing the results of the inline command arguments. More... | |
Typedefs | |
| typedef struct arguments | arguments |
| Typedef of the arguments struct. | |
Functions | |
| void | glauber_dynamics (graph *init_state, update_rule graph_update, int threshold_time, arguments *args) |
| Do a glauber evolution on init_state using the provided update rule. More... | |
Contains main dynamics and main function.
| void glauber_dynamics | ( | graph * | init_state, |
| update_rule | graph_update, | ||
| int | threshold_time, | ||
| arguments * | args | ||
| ) |
Do a glauber evolution on init_state using the provided update rule.
| init_state | Pointer to the initial state, note that this is changed in place and after running the function the pointer points to the evolved graph. |
| graph_update | update_rule which should be run on every vertex every exp(1) time. |
| threshold_time | Maximum time for which the system runs. |
| args | arguments from parsed command-line arguments. |