Restructuring of poisson solver offset;
inclusion of stride for poisson solver
This commit is contained in:
@@ -54,9 +54,12 @@ class PoissonSolver {
|
||||
CylinderBinning& density_binning,
|
||||
std::vector<std::shared_ptr<Electrode>> electrodes,
|
||||
double target_accuracy,
|
||||
int num_cycles);
|
||||
int num_cycles,
|
||||
int solver_intervall,
|
||||
int solver_offset);
|
||||
|
||||
void solvePotential(const blitz::Array<double, 3> charge_density);
|
||||
void solvePotential(const blitz::Array<double, 3> charge_density,
|
||||
int cpu_sync);
|
||||
blitz::Array<double, 3> potential();
|
||||
std::shared_ptr<VectorField> staticElectricField();
|
||||
const CylinderBinning* densityBinning();
|
||||
@@ -68,8 +71,10 @@ class PoissonSolver {
|
||||
std::shared_ptr<Geometry> geometry_;
|
||||
std::vector<std::shared_ptr<Electrode>> electrodes_;
|
||||
const CylinderBinning density_binning_;
|
||||
double target_accuracy_;
|
||||
int num_cycles_;
|
||||
const double target_accuracy_;
|
||||
const int num_cycles_;
|
||||
const int solver_intervall_;
|
||||
const int solver_offset_;
|
||||
|
||||
// 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