Closed mortezah closed 3 years ago
@cwsmith I have added this condition https://github.com/mortezah/core/blob/f9005bb6c0f158a5b66c38953d4bd4318f01a320/ma/maInput.cc#L139 to prevent setting more than one of these flags in->shouldRunPreZoltan
, in->shouldRunPreZoltan
, and in->shouldRunPreParma
to true at the same time. However, it seems that some of the tests (for example refine2x.cc
here https://github.com/SCOREC/core/blob/f5025752630b03dff41251cad1ac829d8c275a3f/test/refine2x.cc#L107) turns on both PreZoltanRib
and PreParma
. Any idea why both options are turned on in refine2x
?
This pull request includes a couple of logic for setting mesh adapt options. In particular,
in->maximumIterations
based on the requested size field and current mesh size.in->maximumImbalance
during mesh adapt.