FC-based shock-dynamics solver with neural-network localized artificial-viscosity assignment (Journal of Computational Physics: X)