mesh_grading_calculate
Calculate structured geometric mesh grading in metres from length and cell count, first cell height, or growth ratio; returns cell heights, positions, and mesh_configure arguments.
Instructions
Calculate structured geometric grading in metres. Supply length and at least two of cells, first_cell_height, growth_ratio (successive-cell ratio, not total expansion). strict rejects incompatible constraints. adjust_ratio preserves first height; adjust_first_height preserves ratio. Without cells, fitting selects the smallest integer count whose requested series spans length (at most 256). direction negative starts at the maximum-coordinate face. Returns cell heights, positions, actual adjustments and mesh_configure arguments; apply them then call mesh_generate. This calculation does not alter a session or generate a mesh by itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | strict | |
| axis | No | z | |
| cells | No | ||
| length | Yes | ||
| direction | No | positive | |
| divisions | No | ||
| growth_ratio | No | ||
| first_cell_height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||