If I directly have a discount curve, how do I configure it in the Yield Curve definition?

Hi guys,
If there is a processed discount curve I want to use to calculate the bond present value, how do I configure it in the Yield Curve definition by secondary curve functions?