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

Function FOR_COMPONENTS

src/fields.cpp:170–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 if (f[hc][cmp] == f[bc][cmp]) f[bc][cmp] = NULL;
169 }
170 DOCMP2 FOR_COMPONENTS(c) {
171 delete[] f[c][cmp];
172 delete[] f_u[c][cmp];
173 delete[] f_w[c][cmp];
174 delete[] f_cond[c][cmp];
175 delete[] f_bfast[c][cmp];
176 delete[] f_minus_p[c][cmp];
177 delete[] f_w_prev[c][cmp];
178 delete[] f_backup[c][cmp];
179 delete[] f_u_backup[c][cmp];
180 delete[] f_w_backup[c][cmp];
181 delete[] f_cond_backup[c][cmp];
182 delete[] f_bfast_backup[c][cmp];
183 }
184 delete[] f_rderiv_int;
185 while (dft_chunks) {
186 dft_chunk *nxt = dft_chunks->next_in_chunk;

Callers 15

fields_chunkMethod · 0.70
fields.cppFile · 0.70
zero_fieldsMethod · 0.70
use_real_fieldsMethod · 0.70
add_susceptibilityMethod · 0.70
output_dft_componentsMethod · 0.70
update_polsMethod · 0.70
cloneMethod · 0.70
new_internal_dataMethod · 0.70
init_internal_dataMethod · 0.70
copy_internal_dataMethod · 0.70
update_PMethod · 0.70

Calls 12

component_directionFunction · 0.85
is_electricFunction · 0.85
is_magneticFunction · 0.85
is_DFunction · 0.85
is_BFunction · 0.85
has_directionFunction · 0.85
crossFunction · 0.85
has_field_directionFunction · 0.85
cross_negativeFunction · 0.85
is_likeFunction · 0.85
has_fieldMethod · 0.80
alloc_fMethod · 0.80

Tested by

no test coverage detected