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

Function PLOOP_OVER_IVECS

src/step_generic.cpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 realnum dt2 = dt * 0.5;
89 if (g2) {
90 PLOOP_OVER_IVECS(gv, is, ie, i) {
91 f[i] = ((1 - dt2 * cnd[i]) * f[i] - dtdx * (g1[i + s1] - g1[i] + g2[i] - g2[i + s2])) *
92 cndinv[i];
93 }
94 }
95 else {
96 PLOOP_OVER_IVECS(gv, is, ie, i) {

Callers 2

step_update_EDHBFunction · 0.85
update_dftMethod · 0.85

Calls 1

calc_nonlinear_uFunction · 0.85

Tested by

no test coverage detected