added call to the poisson solver in main loop

This commit is contained in:
2024-01-24 10:34:05 +01:00
parent 1f52d850d8
commit 6e05d217a0
2 changed files with 29 additions and 0 deletions
+5
View File
@@ -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_;