Commit f378f84
authored
refactor(PackageContainer): compose not inherit, deprecate methods (#2324)
First steps toward shrinking the inheritance hierarchy. Components (simulation/model/package) now have a PackageContainer instead of being one. APIs which are clearly public remain the same. Visibility is tweaked for a few methods which were previously "private" (leading underscore) but seem user-facing. A number of methods which seem internal-only and/or are redundant with other APIs are deprecated.1 parent 82ec160 commit f378f84
File tree
9 files changed
+476
-182
lines changed- autotest
- regression
- flopy/mf6
- utils
9 files changed
+476
-182
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4497 | 4497 | | |
4498 | 4498 | | |
4499 | 4499 | | |
4500 | | - | |
4501 | | - | |
4502 | | - | |
4503 | | - | |
| 4500 | + | |
| 4501 | + | |
4504 | 4502 | | |
4505 | 4503 | | |
4506 | | - | |
4507 | | - | |
4508 | | - | |
4509 | | - | |
4510 | | - | |
4511 | | - | |
4512 | | - | |
4513 | | - | |
4514 | | - | |
4515 | | - | |
| 4504 | + | |
| 4505 | + | |
| 4506 | + | |
| 4507 | + | |
| 4508 | + | |
| 4509 | + | |
| 4510 | + | |
| 4511 | + | |
| 4512 | + | |
| 4513 | + | |
| 4514 | + | |
4516 | 4515 | | |
4517 | 4516 | | |
4518 | 4517 | | |
| |||
4560 | 4559 | | |
4561 | 4560 | | |
4562 | 4561 | | |
4563 | | - | |
4564 | | - | |
| 4562 | + | |
| 4563 | + | |
4565 | 4564 | | |
4566 | 4565 | | |
4567 | 4566 | | |
| |||
4577 | 4576 | | |
4578 | 4577 | | |
4579 | 4578 | | |
4580 | | - | |
4581 | | - | |
4582 | | - | |
4583 | | - | |
| 4579 | + | |
| 4580 | + | |
| 4581 | + | |
| 4582 | + | |
4584 | 4583 | | |
4585 | 4584 | | |
4586 | 4585 | | |
| |||
4652 | 4651 | | |
4653 | 4652 | | |
4654 | 4653 | | |
4655 | | - | |
4656 | | - | |
4657 | | - | |
| 4654 | + | |
| 4655 | + | |
| 4656 | + | |
4658 | 4657 | | |
4659 | 4658 | | |
4660 | 4659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
| |||
97 | 93 | | |
98 | 94 | | |
99 | 95 | | |
100 | | - | |
101 | | - | |
| 96 | + | |
102 | 97 | | |
103 | 98 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | 99 | | |
109 | 100 | | |
110 | 101 | | |
| 102 | + | |
111 | 103 | | |
112 | 104 | | |
113 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
475 | 476 | | |
476 | 477 | | |
477 | 478 | | |
478 | 479 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
454 | 453 | | |
455 | 454 | | |
456 | 455 | | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
462 | 459 | | |
463 | 460 | | |
464 | 461 | | |
465 | 462 | | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | 463 | | |
476 | 464 | | |
477 | 465 | | |
| |||
554 | 542 | | |
555 | 543 | | |
556 | 544 | | |
557 | | - | |
| 545 | + | |
558 | 546 | | |
559 | | - | |
| 547 | + | |
560 | 548 | | |
561 | 549 | | |
562 | 550 | | |
| |||
565 | 553 | | |
566 | 554 | | |
567 | 555 | | |
568 | | - | |
569 | | - | |
570 | | - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
571 | 559 | | |
572 | 560 | | |
573 | 561 | | |
| |||
587 | 575 | | |
588 | 576 | | |
589 | 577 | | |
590 | | - | |
| 578 | + | |
591 | 579 | | |
592 | 580 | | |
593 | 581 | | |
| |||
598 | 586 | | |
599 | 587 | | |
600 | 588 | | |
601 | | - | |
| 589 | + | |
602 | 590 | | |
603 | 591 | | |
604 | 592 | | |
| |||
609 | 597 | | |
610 | 598 | | |
611 | 599 | | |
612 | | - | |
| 600 | + | |
613 | 601 | | |
614 | 602 | | |
615 | 603 | | |
| |||
648 | 636 | | |
649 | 637 | | |
650 | 638 | | |
651 | | - | |
| 639 | + | |
652 | 640 | | |
653 | 641 | | |
654 | 642 | | |
| |||
669 | 657 | | |
670 | 658 | | |
671 | 659 | | |
672 | | - | |
| 660 | + | |
673 | 661 | | |
674 | 662 | | |
675 | 663 | | |
| |||
680 | 668 | | |
681 | 669 | | |
682 | 670 | | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | 671 | | |
689 | 672 | | |
690 | 673 | | |
| |||
0 commit comments