Skip to content

Commit

Permalink
MIR-660 Regridding of grids with highly distorted geometries, fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaciel committed Apr 29, 2024
1 parent 51528d3 commit be57356
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mir/method/fe/CalculateCellLongestDiagonal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ double CalculateCellLongestDiagonal::operator()(atlas::Mesh& mesh, bool include_
d = std::max(d, util::Earth::distance(P[ni], P[nj]));
if (d > dMax) {
Log::warning() << "CalculateCellLongestDiagonal: limited to maximum " << dMax << "m";
mesh.metadata().set(name_, dMax);
return dMax;
}
}
Expand Down

0 comments on commit be57356

Please sign in to comment.