Added option to turn off Poisson solver,

regardless of offset & interval
This commit is contained in:
2024-06-27 11:07:25 +02:00
parent 1e1c84a211
commit f130274ea5
5 changed files with 18 additions and 8 deletions
+3 -1
View File
@@ -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