| 144 | } |
| 145 | |
| 146 | void dft_flux::remove() { |
| 147 | invalidate_eigenmode_cache(); |
| 148 | while (E) { |
| 149 | dft_chunk *nxt = E->next_in_dft; |
| 150 | delete E; |
| 151 | E = nxt; |
| 152 | } |
| 153 | while (H) { |
| 154 | dft_chunk *nxt = H->next_in_dft; |
| 155 | delete H; |
| 156 | H = nxt; |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | static void add_dft_chunkloop(fields_chunk *fc, int ichunk, component cgrid, ivec is, ivec ie, |
| 161 | vec s0, vec s1, vec e0, vec e1, double dV0, double dV1, ivec shift, |
no outgoing calls
no test coverage detected