// We use PresentValueNodeSensitivityCalculator to distribute this risk across the curve
final NodeYieldSensitivityCalculator distributor = PresentValueNodeSensitivityCalculator.getDefaultInstance();
// What's left is to package up the inputs to the distributor, a YieldCurveBundle and a Map of Sensitivities
final Map<String, List<DoublesPair>> curveSensMap = new HashMap<>();
curveSensMap.put(fundingCurveName, Lists.newArrayList(new DoublesPair(settle, rhoSettle)));
sensVector = distributor.curveToNodeSensitivities(curveSensMap, curveBundle);
// Build up InstrumentLabelledSensitivities for the Curve
final Object curveSpecObject = inputs.getValue(ValueRequirementNames.YIELD_CURVE_SPEC);
if (curveSpecObject == null) {
throw new OpenGammaRuntimeException("Curve specification was null");