Sistemi dinamici discreti su griglia con comunicazioni a primi vicini
Caratteristiche:
Evoluzione guidata da una funzione di Update eseguita in modo sincrono su tutti gli elementi del sistema discreto
Condizioni al contorno periodiche
Elevato grado di parallelismo, particolarmente adatto per le moderne architetture di calcolo
Sistemi dinamici discreti
Sistemi dinamici nel continuo
Game of life
Come semplice esempio che implementa questo algoritmo utilizziamo the game of life.
In a bidimensional grid the cells are either "alive" or "dead" and their state is updated in synchrony; the new state
is determined by the following rules:
If a cell is empty ("dead") and has exactly 3 neighbors, it has enough resources to be born without being overcrowded, and the next turn will be "alive"
If a cell is alive and has 3 or 4 neighbors, it has resources without being overcrowded and will stay "alive".
If a cell has less than 2 neighbors, it cannot get enough resources to survive and the next turn will be "dead".
If a cell has more than 4 neighbors, it will be overcrowded and the next turn will be dead.
Serial implementation
openMP implementation
Full program