You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The first one disables FluidProps caching entirely. It produces diffs.
The next two do caching but slightly differently than we are doing it now. Right now we truncate some low-significance bits to create the cache index. This means that we are essentially always rounding down to do the lookup. This doesn't really mean anything because the SpecificHeat value that is cached corresponds to the temperature that created the entry no matter where it falls in the "bucket". The two other commits don't always round down to do the lookup. They round either up or down based on either the immediately truncated bit or the immediately truncated two bits. These also produce some diffs, although fewer than disabling caching entirely. The diffs are mostly small, but there are several "butterfly effects" in which a small diff results in a timestamp changing by an hour or two.
I would like to simplify the caching algorithm somewhat as well as to change some FluidProps data structures, but we are almost certainly going to get diffs like these when I do.
FWIW these are not the changes I am going to make. These are just simple tests to bound the scope of the issue.
1a5bc35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FluidCaching (amirroth) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (3567 of 3587 tests passed, 429 test warnings)
Messages:\n
Failures:\n
regression Test Summary
1a5bc35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FluidCaching (amirroth) - Win64-Windows-10-VisualStudio-16: OK (2759 of 2759 tests passed, 0 test warnings)
1a5bc35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FluidCaching (amirroth) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-Debug: OK (1972 of 1972 tests passed, 0 test warnings)
1a5bc35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FluidCaching (amirroth) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-Debug: OK (790 of 790 tests passed, 0 test warnings)
1a5bc35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Myoldmopar @mjwitte @rraustad So ... there are three different commits here.
I would like to simplify the caching algorithm somewhat as well as to change some FluidProps data structures, but we are almost certainly going to get diffs like these when I do.
FWIW these are not the changes I am going to make. These are just simple tests to bound the scope of the issue.
1a5bc35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FluidCaching (amirroth) - x86_64-MacOS-10.17-clang-14.0.0: OK (3524 of 3546 tests passed, 764 test warnings)
Messages:\n
Failures:\n
regression Test Summary
1a5bc35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FluidCaching (amirroth) - x86_64-MacOS-10.18-clang-15.0.0: Tests Failed (2985 of 3546 tests passed, 226 test warnings)
Messages:\n
Failures:\n
regression Test Summary