Added potential solution in the empty domain
and usage of the resulting E-field for the first events
This commit is contained in:
@@ -67,6 +67,15 @@ PoissonSolver::PoissonSolver(GlobalBoundary bottom_boundary,
|
||||
}
|
||||
}
|
||||
}
|
||||
blitz::Array<double, 3> zero_chargedensity(
|
||||
blitz::Range(density_binning.binIndexMin()(0),
|
||||
density_binning.binIndexMax()(0)),
|
||||
blitz::Range(density_binning.binIndexMin()(1),
|
||||
density_binning.binIndexMax()(1)),
|
||||
blitz::Range(density_binning.binIndexMin()(2),
|
||||
density_binning.binIndexMax()(2)));
|
||||
zero_chargedensity = 0.;
|
||||
solvePotential(zero_chargedensity);
|
||||
}
|
||||
|
||||
void PoissonSolver::solverIteration(
|
||||
|
||||
Reference in New Issue
Block a user