|
2 Dimensional Ising Model
Simulate the change in energy and magnetization in a ferro magnet
|
Test class for the Ising model. More...
Public Member Functions | |
| void | test_init_functions () |
| Test that initializing works as intended. | |
| int | test_2x2_lattice (double tol, int max_cycles) |
| Test numerical data with analytical data. | |
Test class for the Ising model.
Definition at line 36 of file test_suite.cpp.
|
inline |
Test numerical data with analytical data.
| tol | The tolerance between the analytical and numerical solution. |
| max_cycles | The max number of Monte Carlo cycles. |
return int
Definition at line 76 of file test_suite.cpp.
|
inline |
Test that initializing works as intended.
Definition at line 40 of file test_suite.cpp.