1#ifndef CAMANHO_CRITERION_HH
2#define CAMANHO_CRITERION_HH
7 double Camanho(std::vector<double>& sig,
int materialType,
const std::vector<double>& param){
8 assert(param.size() == 3);
9 assert(sig.size() == 6);
10 double s33 = param[0];
11 double s13 = param[1];
12 double s23 = param[2];
14 double maxF = sqrt(pow(std::max(sig[2],0.0)/s33,2) + pow(sig[4]/s13,2) + pow(sig[3]/s23,2));
15 if(materialType == 0){