Skip to content
Snippets Groups Projects
Commit c9ed3968 authored by Emilie Marchandise's avatar Emilie Marchandise
Browse files

No commit message

No commit message
parent ec248a4e
No related branches found
No related tags found
No related merge requests found
...@@ -1427,9 +1427,10 @@ bool GFaceCompound::checkAspectRatio() const ...@@ -1427,9 +1427,10 @@ bool GFaceCompound::checkAspectRatio() const
Msg::Warning("Geometrical aspect ratio too high (1/area_2D=%g)", areaMax); Msg::Warning("Geometrical aspect ratio too high (1/area_2D=%g)", areaMax);
SBoundingBox3d bboxH = bounds(); SBoundingBox3d bboxH = bounds();
SBoundingBox3d bboxD = bound_U0(); SBoundingBox3d bboxD = bound_U0();
int H = norm(SVector3(bboxH.max(), bboxH.min())); double H = norm(SVector3(bboxH.max(), bboxH.min()));
int D = norm(SVector3(bboxD.max(), bboxD.min())); double D = norm(SVector3(bboxD.max(), bboxD.min()));
nbSplit = std::max((int)floor(.25*H/D),2); nbSplit = std::max((int)floor(.25*H/D),2);
printf("H=%g, D=%g H/4D=\n", H, D, nbSplit);
Msg::Info("Partition geometry in N=%d parts", nbSplit); Msg::Info("Partition geometry in N=%d parts", nbSplit);
paramOK = false; paramOK = false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment