Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion include/materials/infinitesimal_strain/mohr_coulomb.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,19 @@ class MohrCoulomb : public InfinitesimalElastoPlastic<Tdim> {
inline double check_low(double val) {
return (val > 1.0e-15 ? val : 1.0e-15);
}
void update_softening_parameters(mpm::dense_map* state_vars);
std::tuple<Vector6d, double, bool> compute_single_surface_return(
mpm::mohrcoulomb::FailureState yield_type,
const Eigen::Matrix<double, 2, 1>& yield_function,
const Vector6d& current_stress,
const Matrix6x6& de,
mpm::dense_map* state_vars);

//! Compute corner return mapping for multi-surface failure
std::tuple<Vector6d, double, bool> compute_corner_return(
const Vector6d& current_stress,
const Matrix6x6& de,
mpm::dense_map* state_vars);

//! Density
double density_{std::numeric_limits<double>::max()};
Expand Down Expand Up @@ -171,4 +184,4 @@ class MohrCoulomb : public InfinitesimalElastoPlastic<Tdim> {

#include "mohr_coulomb.tcc"

#endif // MPM_MATERIAL_MOHR_COULOMB_H_
#endif // MPM_MATERIAL_MOHR_COULOMB_H_
Loading