We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa8d01 commit 25fe475Copy full SHA for 25fe475
tests/integrated/test-fci-boundary/get_par_bndry.cxx
@@ -17,8 +17,8 @@ int main(int argc, char** argv) {
17
for (const auto& bndry_par :
18
mesh->getBoundariesPar(static_cast<BoundaryParType>(i))) {
19
output.write("{:s} region\n", toString(static_cast<BoundaryParType>(i)));
20
- for (bndry_par->first(); !bndry_par->isDone(); bndry_par->next()) {
21
- fields[i][bndry_par->ind()] += 1;
+ for (auto& pnt: *bndry_par) {
+ fields[i][pnt.ind()] += 1;
22
output.write("{:s} increment\n", toString(static_cast<BoundaryParType>(i)));
23
}
24
0 commit comments