Skip to content

Commit ed9ce21

Browse files
committed
overly specify zero for velocity
1 parent 32d0619 commit ed9ce21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/neutrals_ics.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ bool Neutrals::initial_conditions(Grid &grid,
177177
iLon, iLat, 0, iLon, iLat, grid.first_lower_gc(iLon, iLat) + 1).fill(
178178
species[iSpecies].lower_bc_density);
179179

180+
for (int iDir = 0; iDir < 3; iDir++) {
181+
species[iSpecies].velocity_vcgc[iDir].tube(iLon, iLat).zeros();
182+
velocity_vcgc[iDir].tube(iLon, iLat).zeros();
183+
}
180184
}
181185
}
182186
}

0 commit comments

Comments
 (0)