Added option to reset relevant fields for
output after a poisson solution step
This commit is contained in:
@@ -56,10 +56,11 @@ class PoissonSolver {
|
||||
double target_accuracy,
|
||||
int num_cycles,
|
||||
int solver_intervall,
|
||||
int solver_offset);
|
||||
int solver_offset,
|
||||
bool reset_after_solving);
|
||||
|
||||
void solvePotential(const blitz::Array<double, 3> charge_density,
|
||||
int cpu_sync);
|
||||
int cpu_sync, bool& reset);
|
||||
blitz::Array<double, 3> potential();
|
||||
std::shared_ptr<VectorField> staticElectricField();
|
||||
const CylinderBinning* densityBinning();
|
||||
@@ -75,6 +76,7 @@ class PoissonSolver {
|
||||
const int num_cycles_;
|
||||
const int solver_intervall_;
|
||||
const int solver_offset_;
|
||||
const bool reset_after_solving_;
|
||||
|
||||
// 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