Added option to turn off Poisson solver,
regardless of offset & interval
This commit is contained in:
@@ -56,7 +56,8 @@ class PoissonSolver {
|
||||
double target_accuracy,
|
||||
int num_cycles,
|
||||
int solver_intervall,
|
||||
int solver_offset);
|
||||
int solver_offset,
|
||||
bool do_solver);
|
||||
|
||||
void solvePotential(const blitz::Array<double, 3> charge_density,
|
||||
int cpu_sync);
|
||||
@@ -75,6 +76,7 @@ class PoissonSolver {
|
||||
const int num_cycles_;
|
||||
const int solver_intervall_;
|
||||
const int solver_offset_;
|
||||
const bool do_solver_;
|
||||
|
||||
// density binning defined on the cell centers, potential defined
|
||||
// such that it exists on the cell edges so that the azimuthal
|
||||
|
||||
Reference in New Issue
Block a user