MCPcopy Create free account
hub / github.com/NanoComp/meep / remove

Method remove

src/dft.cpp:146–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void 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
160static 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,

Callers 2

bragg_transmissionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected