GEOS icon indicating copy to clipboard operation
GEOS copied to clipboard

Optimization of initialization phase

Open sframba opened this issue 3 years ago • 0 comments

This PR includes a few optimizations by @jiemeng-total and @acitrain on the initialization phase of GEOSX, especially for mesh levels higher than zero.

Specifically:

  • a few variable declarations were taken out of loops;
  • in the MeshLevel constructor, costly repeated resizing is now avoided.

Edit: Here are two output from Caliper showing you the impact of Jie's modification on an high order case, the initialization time is nearly divided by 60 (the run time optimization is the result of PR 2123, not yet merged)

Without modification:

Caliper0modif Caliper0modifpart2

With the modification:

Caliperavecfullmodif Caliperavecfullmodifpart2

sframba avatar Sep 26 '22 14:09 sframba