Version 2, position dependent E/B, kinetic ions, boris mover, terminator
This commit is contained in:
Executable
+38
@@ -0,0 +1,38 @@
|
||||
#ifndef CPU_SYNCHRONIZER_H
|
||||
#define CPU_SYNCHRONIZER_H
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include "blitz/array.h"
|
||||
|
||||
class DynamicDensityField;
|
||||
class Timer;
|
||||
class CurrentCollector;
|
||||
class DeletionLogger;
|
||||
|
||||
namespace species {
|
||||
class TrackedSpecie;
|
||||
};
|
||||
|
||||
class CpuSynchronizer {
|
||||
public:
|
||||
// CpuSynchronizer();
|
||||
|
||||
void synchronize(
|
||||
std::map<std::string, std::shared_ptr<species::TrackedSpecie>>&
|
||||
tracked_species);
|
||||
|
||||
void synchronize(DynamicDensityField* field);
|
||||
void synchronize(CurrentCollector* collector);
|
||||
void synchronize(DeletionLogger* logger);
|
||||
void synchronize(Timer* timer);
|
||||
|
||||
void sumToAll(blitz::Array<double, 4>& array);
|
||||
void sumToAll(blitz::Array<double, 3>& array);
|
||||
void sumToAll(blitz::Array<long int, 4>& array);
|
||||
void sumToAll(double& value);
|
||||
void sumToAll(long int& value);
|
||||
};
|
||||
|
||||
#endif /* CPU_SYNCHRONIZER_H */
|
||||
Reference in New Issue
Block a user