Skip to content

Commit

Permalink
Update btwxt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Ahrenkiel authored and Phil Ahrenkiel committed Feb 21, 2024
2 parents 554b169 + 4609465 commit 3a9b069
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Project Name
Expand Down
1 change: 0 additions & 1 deletion Testing/Temporary/CTestCostData.txt

This file was deleted.

3 changes: 0 additions & 3 deletions Testing/Temporary/LastTest.log

This file was deleted.

15 changes: 9 additions & 6 deletions src/HPWHpresets.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2198,17 +2198,20 @@ int HPWH::initPreset(MODELS presetNum)

// Set up regular grid interpolator.
Btwxt::GridAxis g0(compressor.perfGrid[0],
"TAir",
Btwxt::InterpolationMethod::linear,
Btwxt::ExtrapolationMethod::constant);
Btwxt::ExtrapolationMethod::constant,
{-DBL_MAX, DBL_MAX},
"TAir");
Btwxt::GridAxis g1(compressor.perfGrid[1],
"TOut",
Btwxt::InterpolationMethod::linear,
Btwxt::ExtrapolationMethod::constant);
Btwxt::ExtrapolationMethod::constant,
{-DBL_MAX, DBL_MAX},
"TOut");
Btwxt::GridAxis g2(compressor.perfGrid[2],
"TIn",
Btwxt::InterpolationMethod::linear,
Btwxt::ExtrapolationMethod::linear);
Btwxt::ExtrapolationMethod::linear,
{-DBL_MAX, DBL_MAX},
"Tin");

std::vector<Btwxt::GridAxis> gx {g0, g1, g2};

Expand Down

0 comments on commit 3a9b069

Please sign in to comment.