Skip to content

Commit 94638d5

Browse files
committed
injector_boundary_inflow: rename to initial_idx
1 parent 8f1e81c commit 94638d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/include/injector_boundary_inflow.hxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,19 +149,19 @@ public:
149149
final_normalized_pos, real_t(0.));
150150

151151
// CURRENT DENSITY BETWEEN (n+.5)*dt and (n+1.5)*dt
152-
int lg[3];
152+
int initial_idx[3];
153153
if (!Dim::InvarX::value) {
154-
lg[0] = ip.cx.g.l;
154+
initial_idx[0] = ip.cx.g.l;
155155
}
156156
if (!Dim::InvarY::value) {
157-
lg[1] = ip.cy.g.l;
157+
initial_idx[1] = ip.cy.g.l;
158158
}
159159
if (!Dim::InvarZ::value) {
160-
lg[2] = ip.cz.g.l;
160+
initial_idx[2] = ip.cz.g.l;
161161
}
162162
real_t qni_wni = grid.kinds[prt.kind].q * prt.w;
163163
current.calc_j(J, initial_normalized_pos, final_normalized_pos,
164-
final_idx, lg, qni_wni, v);
164+
final_idx, initial_idx, qni_wni, v);
165165
}
166166
}
167167
}

0 commit comments

Comments
 (0)