36 #include "MooneyRivlinMaterialLaw.hpp"
38 template<
unsigned DIM>
44 template<
unsigned DIM>
51 #define COVERAGE_IGNORE
53 #undef COVERAGE_IGNORE
57 template<
unsigned DIM>
63 template<
unsigned DIM>
70 #define COVERAGE_IGNORE
72 #undef COVERAGE_IGNORE
76 template<
unsigned DIM>
83 #define COVERAGE_IGNORE
85 #undef COVERAGE_IGNORE
89 template<
unsigned DIM>
95 template<
unsigned DIM>
102 template<
unsigned DIM>
107 assert(DIM==2 || DIM ==3);
110 if ((DIM==3) && (c2<MINUS_LARGE+1))
112 EXCEPTION(
"Two parameters needed for 3d Mooney-Rivlin");
117 EXCEPTION(
"c1 must be positive in mooney-rivlin");
121 template<
unsigned DIM>
124 assert(scaleFactor > 0.0);
void ScaleMaterialParameters(double scaleFactor)
#define EXCEPTION(message)
double Get_dW_dI2(double I1, double I2)
MooneyRivlinMaterialLaw(double c1, double c2=MINUS_LARGE)
double Get_d2W_dI2(double I1, double I2)
double Get_dW_dI1(double I1, double I2)
double Get_d2W_dI1(double I1, double I2)
double Get_d2W_dI1I2(double I1, double I2)