From b99e12ecd43f1ab8c104afce7a173daedf1e00ae Mon Sep 17 00:00:00 2001 From: aabrown100-git <71424733+aabrown100-git@users.noreply.github.com> Date: Wed, 21 Feb 2024 14:19:07 -0800 Subject: [PATCH] Bug fix in Holzapfel tangent component (#190) * Bug fix in Holzapfel tangent component * Modify testing to show output This way, can observe convergence behavior of tests --- .github/workflows/test.yml | 2 +- Code/Source/svFSI/mat_models_carray.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1132290b..02726edb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,7 +38,7 @@ jobs: run: | git lfs pull cd tests - conda run -n svfsiplus pytest -v --durations=0 + conda run -n svfsiplus pytest -rPv --durations=0 - name: Generate code coverage if: startsWith(matrix.os, 'ubuntu-22.04') run: | diff --git a/Code/Source/svFSI/mat_models_carray.h b/Code/Source/svFSI/mat_models_carray.h index e11c28c3..1d5eb454 100644 --- a/Code/Source/svFSI/mat_models_carray.h +++ b/Code/Source/svFSI/mat_models_carray.h @@ -943,7 +943,7 @@ void get_pk2cc(const ComMod& com_mod, const CepMod& cep_mod, const dmnType& lDmn for (int j = 0; j < N; j++) { for (int k = 0; k < N; k++) { for (int l = 0; l < N; l++) { - CCb[i][j][k][l] += g1 * Hss_prod[i][j][k][l]; + CCb[i][j][k][l] += g2 * Hss_prod[i][j][k][l]; } } }