Added option to reset relevant fields for
output after a poisson solution step
This commit is contained in:
@@ -239,4 +239,15 @@ blitz::Array<double, 3> CurrentCollector::currentInR() const {
|
||||
}
|
||||
double CurrentCollector::physicalTime() const {
|
||||
return timer_->time();
|
||||
}
|
||||
|
||||
void CurrentCollector::resetCurrentCollector() {
|
||||
z_negative_crossings = 0.;
|
||||
z_positive_crossings = 0.;
|
||||
|
||||
phi_negative_crossings = 0.;
|
||||
phi_positive_crossings = 0.;
|
||||
|
||||
r_negative_crossings = 0.;
|
||||
r_positive_crossings = 0.;
|
||||
}
|
||||
Reference in New Issue
Block a user