16 #ifndef _A_FCRITERIA_COULOMB_H_
17 #define _A_FCRITERIA_COULOMB_H_
26 static const std::string
help();
32 void f(
double v) {
if (v>=0)
f_ = v;}
34 double f()
const {
return f_;}
36 void c(
double v) {
if (v>=0.)
c_=v;}
38 double c()
const {
return c_;}
virtual bool ok(const a_face *f) const
return true if forces on the face are passing through the face and shear is not too high
virtual double penalty(const a_face *f) const
return max excentricity if abs is higher than max (1. by default)
void f(double v)
set max f friction coefficient
void c(double v)
set cohesion
static const std::string help()
get information about the class
double f() const
get max f friction coefficient
double c() const
get cohesion