Another method to calculate grain size distribution parameters: Using Ising model and particle swarm optimization algorithm. (15th November 2022)