Commit b67bee4
committed
feat(arrays): add model.free_format_npl to control values-per-line in free-format array output
When free_format_npl is set (e.g., model.free_format_npl = 10), free-format
arrays are written with that many values per line instead of all values on a
single line. This produces block-format output matching Groundwater Vistas
style, improving readability for large unstructured models.
Affects both INTERNAL arrays (Util2d.string) and EXTERNAL/OPENCLOSE arrays
(Util2d.get_file_entry). Default is None (no change in behavior).1 parent ae1533f commit b67bee4
2 files changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| 456 | + | |
456 | 457 | | |
457 | 458 | | |
458 | 459 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2475 | 2475 | | |
2476 | 2476 | | |
2477 | 2477 | | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
2478 | 2489 | | |
2479 | 2490 | | |
2480 | 2491 | | |
2481 | 2492 | | |
2482 | 2493 | | |
| 2494 | + | |
2483 | 2495 | | |
2484 | 2496 | | |
2485 | 2497 | | |
| |||
2536 | 2548 | | |
2537 | 2549 | | |
2538 | 2550 | | |
| 2551 | + | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
| 2558 | + | |
2539 | 2559 | | |
2540 | | - | |
| 2560 | + | |
2541 | 2561 | | |
2542 | 2562 | | |
2543 | 2563 | | |
| |||
0 commit comments