A representation to describe nuclear processes in the continuum