On the Computation of Self-similar and Coarse Self-Similar Solutions