minor corrections, beginning of electric field calc
This commit is contained in:
@@ -59,7 +59,7 @@ class PoissonSolver {
|
||||
|
||||
void solvePotential(const blitz::Array<double, 3> charge_density);
|
||||
blitz::Array<double, 3> potential();
|
||||
// std::shared_ptr<VectorField> staticElectricField();
|
||||
std::shared_ptr<VectorField> staticElectricField();
|
||||
|
||||
private:
|
||||
GlobalBoundary bottom_boundary_;
|
||||
@@ -74,7 +74,7 @@ class PoissonSolver {
|
||||
// the potential is located on the grid corners (such that
|
||||
// it is defined on r=0) (note that the density_binning is taken
|
||||
// to be defined in the cell centers)
|
||||
blitz::Array<PotentialGridPoint, 3> potential_;
|
||||
blitz::Array<PotentialGridPoint, 3> potential_; //unit V
|
||||
|
||||
blitz::Array<double, 3> interpolateDensityToPotentialGrid(
|
||||
const blitz::Array<double, 3> charge_density);
|
||||
|
||||
Reference in New Issue
Block a user