OGS
MaterialLib::Fracture::CohesiveZoneModeI::anonymous_namespace{CohesiveZoneModeI.cpp} Namespace Reference

Functions

double computeDamage (double const damage_prev, double const w_n, double const w_np, double const w_nf)
 

Function Documentation

◆ computeDamage()

double MaterialLib::Fracture::CohesiveZoneModeI::anonymous_namespace{CohesiveZoneModeI.cpp}::computeDamage ( double const damage_prev,
double const w_n,
double const w_np,
double const w_nf )

Definition at line 23 of file CohesiveZoneModeI.cpp.

27{
28 return std::min(
29 1.0,
30 std::max(damage_prev, std::max(0.0, (w_n - w_np)) / (w_nf - w_np)));
31}

References computeDamage().

Referenced by computeDamage().