ENSURE THAT THE LAST SLOPE IS GREATER THAN ZERO¶
Ensures that the terminal slope of each input curve is zero or positive. Depending on the selected mode, it either appends a small positive-slope segment to curves that end with a negative slope (“add”) or strips trailing negative-slope points from the curve tail (“remove”). Use this worker to condition material or force-displacement curves before solver input.
When to use¶
Classification: process.
Tagged: curve_conditioning, curve_enforcement, last_slope, material_curve, positive_slope, trailing_slope, zero_slope.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves To Be Enforced Up | curvestobeenforcedup | vector | — | Group of one or more input curves (vector) whose terminal slope must be made zero or positive; accepts any X-Y curve collection (e.g. stress-strain, force-displacement). | |
| Type | type | string | add | Enforcement strategy: ‘add’ (default) appends a synthetic positive-slope point to fix a negative tail; ‘remove’ deletes trailing data points until the last slope is non-negative. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_enforce_zeroorpositivelastslope_output_1 | curves_enforce_zeroorpositivelastslope_output_1 | vector | Processed curve group with the same structure as the input but with all terminal slopes guaranteed to be zero or positive, ready for downstream solver or calibration workers. |
Disciplines¶
- data.curve.transform
- engineering.material.calibration
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_enforce_zeroorpositivelastslope
Auto-generated from transformation schema. Worker id: curves_enforce_zeroorpositivelastslope. Schema hash: c7a11e10a6f4. Hand-curated docs in workerexamples/ override this page when present.