Emulating rough flux patterns in type-II superconducting cylinders using the elliptic critical-state model