added call to the poisson solver in main loop
This commit is contained in:
@@ -16,6 +16,7 @@ class Timer;
|
||||
class Injector;
|
||||
class SimulationOutput;
|
||||
class CpuSynchronizer;
|
||||
class PoissonSolver;
|
||||
|
||||
namespace species {
|
||||
class Specie;
|
||||
@@ -44,6 +45,8 @@ class Simulation {
|
||||
|
||||
interaction::InteractionOutput interact(particle::Particle& particle,
|
||||
RandomNumbers* random);
|
||||
|
||||
blitz::Array<double,3> chargedensity();
|
||||
|
||||
std::map<std::string, std::shared_ptr<species::TrackedSpecie>>
|
||||
tracked_species_;
|
||||
@@ -55,6 +58,8 @@ class Simulation {
|
||||
std::shared_ptr<MagneticField> magnetic_field_;
|
||||
std::shared_ptr<ElectricField> electric_field_;
|
||||
|
||||
std::shared_ptr<PoissonSolver> poisson_solver_;
|
||||
|
||||
Parameter parameter_;
|
||||
std::shared_ptr<RandomNumbers> random_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user