Numerical simulations of two-dimensional magnetic domain patterns.