Skip to content

Commit

Permalink
fixup: commented properties
Browse files Browse the repository at this point in the history
  • Loading branch information
streeve committed Jul 25, 2024
1 parent 3a5e44f commit d56ff68
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/mechanics/fragmenting_cylinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ void fragmentingCylinderExample( const std::string filename )
// ====================================================
double rho0 = inputs["density"];
double K = inputs["bulk_modulus"];
double G = inputs["shear_modulus"]; // Only for LPS.
// double G = inputs["shear_modulus"]; // Only for LPS.
double sc = inputs["critical_stretch"];
double delta = inputs["horizon"];
delta += 1e-10;
double G0 = 9 * K * delta * ( sc * sc ) /
5; // For PMB or LPS with influence_type == 1
// double G0 = 15*K*delta*(sc*sc)/8; // For LPS with influence_type == 0
// (default)
// For influence_type == 1
double G0 = 9 * K * delta * ( sc * sc ) / 5;
// For influence_type == 0 (default)
// double G0 = 15 * K * delta * ( sc * sc ) / 8;

// ====================================================
// Discretization
Expand Down

0 comments on commit d56ff68

Please sign in to comment.