Commit 2dd13e8
committed
Refactor kWaveGrid initialization in at_circular_piston_3D example
- Updated the grid creation process to utilize the new `from_domain` method for better clarity and efficiency.
- Adjusted sensor mask and data reshaping to align with the new grid structure.
- Ensured consistent usage of grid properties throughout the example for improved readability and maintainability.1 parent d882889 commit 2dd13e8
2 files changed
Lines changed: 16 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
65 | 54 | | |
66 | 55 | | |
67 | 56 | | |
| |||
113 | 102 | | |
114 | 103 | | |
115 | 104 | | |
116 | | - | |
117 | | - | |
| 105 | + | |
| 106 | + | |
118 | 107 | | |
119 | 108 | | |
120 | 109 | | |
| |||
143 | 132 | | |
144 | 133 | | |
145 | 134 | | |
146 | | - | |
| 135 | + | |
147 | 136 | | |
148 | 137 | | |
149 | | - | |
| 138 | + | |
150 | 139 | | |
151 | 140 | | |
152 | 141 | | |
| |||
161 | 150 | | |
162 | 151 | | |
163 | 152 | | |
164 | | - | |
| 153 | + | |
165 | 154 | | |
166 | 155 | | |
167 | 156 | | |
| |||
194 | 183 | | |
195 | 184 | | |
196 | 185 | | |
197 | | - | |
| 186 | + | |
198 | 187 | | |
199 | 188 | | |
200 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
725 | 727 | | |
726 | 728 | | |
727 | 729 | | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
728 | 733 | | |
729 | 734 | | |
730 | 735 | | |
731 | 736 | | |
732 | | - | |
| 737 | + | |
733 | 738 | | |
734 | 739 | | |
735 | 740 | | |
| |||
764 | 769 | | |
765 | 770 | | |
766 | 771 | | |
767 | | - | |
| 772 | + | |
768 | 773 | | |
769 | 774 | | |
770 | 775 | | |
| |||
0 commit comments