Added option to reset relevant fields for
output after a poisson solution step
This commit is contained in:
@@ -31,6 +31,8 @@ class CurrentCollector {
|
||||
|
||||
double physicalTime() const;
|
||||
|
||||
void resetCurrentCollector();
|
||||
|
||||
friend class CpuSynchronizer;
|
||||
|
||||
private:
|
||||
|
||||
@@ -38,6 +38,8 @@ class DynamicDensityField : public DensityField {
|
||||
double density(const Coordinate& position);
|
||||
double density(const Coordinate& position, double energy_eV);
|
||||
|
||||
void resetDynamicDensityField();
|
||||
|
||||
blitz::Array<double, 3> densityArray();
|
||||
blitz::Array<double, 4> spectrumArray();
|
||||
blitz::Array<double, 4> timeInBinArray() const;
|
||||
|
||||
@@ -23,6 +23,8 @@ class DeletionLogger {
|
||||
void numDeletions(long int new_value, DeletionType type);
|
||||
long int numDeletions(DeletionType type) const;
|
||||
|
||||
void resetDeletionLogger();
|
||||
|
||||
friend class CpuSynchronizer;
|
||||
|
||||
private:
|
||||
|
||||
@@ -10,6 +10,7 @@ class Timer {
|
||||
double time() const;
|
||||
void increaseTimestep(double time_s);
|
||||
void setTime(double time_s);
|
||||
void resetTime();
|
||||
|
||||
private:
|
||||
double current_time_s_;
|
||||
|
||||
Reference in New Issue
Block a user