Skip to content

Commit

Permalink
Merge branch 'MFrontCleanupWarnings' into 'master'
Browse files Browse the repository at this point in the history
[MatL/MFront] Remove unused variables

See merge request ogs/ogs!4711
  • Loading branch information
TomFischer committed Aug 21, 2023
2 parents 18d17fe + 61d9d2c commit 30ff596
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ v.setEntryName("VolumeRatio"); // Total volume per solid volume = inv(1 - poros
// calculate the direction of plastic flow
const auto f = q * q + M2 * p * (p - pc_new);
const auto df_dp = M2 * (2 * p - pc_new);
const auto df_ds = 3 * s;
const auto df_dpc = -M2 * p;
const auto df_dsig = eval(3 * s - df_dp * id2 / 3);
auto norm = std::sqrt(6 * q * q + df_dp * df_dp / 3); // = std::sqrt(df_dsig|df_dsig);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ a.setEntryName("TensionCutOffParameter");
constexpr auto sqrt3 = Cste<real>::sqrt3;
constexpr auto isqrt3 = Cste<real>::isqrt3;
constexpr auto id = Stensor::Id();
constexpr auto id4 = Stensor4::Id();
if (F)
{
const auto s = deviator(sig);
Expand Down

0 comments on commit 30ff596

Please sign in to comment.