Skip to content

Commit

Permalink
[MatL/MFront] Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
endJunction committed Aug 20, 2023
1 parent 4a93036 commit 61d9d2c
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 61d9d2c

Please sign in to comment.