Removed cpu syncs inbetween a timestep; Changed Density field accordingly
This commit is contained in:
@@ -77,12 +77,12 @@ PoissonSolver::PoissonSolver(GlobalBoundary bottom_boundary,
|
||||
blitz::Range(density_binning.binIndexMin()(2),
|
||||
density_binning.binIndexMax()(2)));
|
||||
zero_chargedensity = 0.;
|
||||
solvePotential(zero_chargedensity, true);
|
||||
solvePotential(zero_chargedensity);
|
||||
}
|
||||
|
||||
void PoissonSolver::solvePotential(
|
||||
const blitz::Array<double, 3> charge_density, const bool solve) {
|
||||
if (!(do_solver_) || !(solve)) {
|
||||
const blitz::Array<double, 3> charge_density) {
|
||||
if (!(do_solver_)) {
|
||||
return;
|
||||
}
|
||||
#ifdef debug_level3
|
||||
|
||||
Reference in New Issue
Block a user