33 for (
auto& nm : incld)
42 for (
auto& nm : excld)
55 auto first = wPath.find_first_of(
'/');
56 auto last = wPath.find_last_of(
'/');
58 if (first == word::npos)
64 if (last == wPath.size() - 1)
66 wPath = wPath.substr(0, last);
67 last = wPath.find_last_of(
'/');
70 word rName = wPath.substr(last + 1);
80 auto first = wPath.find_first_of(
'/');
81 auto last = wPath.find_last_of(
'/');
83 if (first == word::npos)
89 if (last == wPath.size() - 1)
91 wPath = wPath.substr(0, last);
92 last = wPath.find_last_of(
'/');
95 word tFolder = wPath.substr(0, last);
106 runName_(getRunName(path)),
107 topLevelFolder_(getTopFolder(path)),
117 Time_(this, settingsDict_()),
125 libs_(settingsDict_()),
127 settingsDict_().getValOrSet(
"outFilePrecision", static_cast<
uint64>(6))
130 timersReport_(settingsDict_().getValOrSet(
"timersReport",
Logical(
"Yes"))),
131 writeToFileTimer_(
"Write to file", &timers_)
137 const real startTime,
139 const real saveInterval,
140 const word startTimeName,
148 runName_(getRunName(path)),
149 topLevelFolder_(getTopFolder(path)),
173 libs_(settingsDict_()),
174 externalTimeControl_(true),
176 timersReport_(settingsDict_->getValOrSet(
"timersReport",
Logical(
"Yes"))),
177 writeToFileTimer_(
"Write to file", &timers_)
184 auto toContinue = time()++;
188 writeToFileTimer_.start();
198 writeToFileTimer_.end();
200 if (time().timersReportTime() && timersReport())
205 else if (time().finalTime())
207 writeToFileTimer_.start();
213 writeToFileTimer_.end();