Added option to reset relevant fields for

output after a poisson solution step
This commit is contained in:
2024-04-13 11:10:18 +02:00
parent 30b0178e5f
commit 93a51acbda
12 changed files with 71 additions and 9 deletions
+11
View File
@@ -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.;
}