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.
2 parents 9f5836e + dfcd6fc commit f2a4bc0Copy full SHA for f2a4bc0
src/geom/cell_inf_hex.C
@@ -288,8 +288,8 @@ Real InfHex::quality (const ElemQuality q) const
288
std::vector<Real> edge_ratios(2);
289
290
// Bottom
291
- edge_ratios[8] = std::min(d01, d23) / std::max(d01, d23);
292
- edge_ratios[9] = std::min(d03, d12) / std::max(d03, d12);
+ edge_ratios[0] = std::min(d01, d23) / std::max(d01, d23);
+ edge_ratios[1] = std::min(d03, d12) / std::max(d03, d12);
293
294
return *(std::min_element(edge_ratios.begin(), edge_ratios.end())) ;
295
0 commit comments