i-RIC / iriclib

1 stars 3 forks source link

cg_iRIC_flush() gets slower when many calculation results are output #36

Closed kskinoue0612 closed 6 years ago

kskinoue0612 commented 6 years ago

As the number of calculation results in CGNS file increases, it takes longer time to flush the calculation result into CGNS file.

It is because H5Fflush() takes longer time when the number of calculation result steps increases.

Think about and implement the way to avoid this, and make it possible to output calculation result into CGNS file, even when the CGNS file has many calculation results.

kskinoue0612 commented 6 years ago

This issue is closed with https://github.com/i-RIC/iriclib/commit/19841220d9c79f7ce366a478c92761ec2b387cfc. Now cg_iRIC_flush() does nothing when iRIC GUI does not request solver to flush calculation result.