36#include "MooneyRivlinMaterialLaw.hpp"
89 assert(DIM==2 || DIM ==3);
92 if ((DIM==3) && (c2<MINUS_LARGE+1))
94 EXCEPTION(
"Two parameters needed for 3d Mooney-Rivlin");
99 EXCEPTION(
"c1 must be positive in mooney-rivlin");
103template<
unsigned DIM>
106 assert(scaleFactor > 0.0);
#define EXCEPTION(message)
double Get_d2W_dI1(double I1, double I2)
double Get_dW_dI1(double I1, double I2)
double Get_dW_dI2(double I1, double I2)
void ScaleMaterialParameters(double scaleFactor)
double Get_d2W_dI1I2(double I1, double I2)
double Get_d2W_dI2(double I1, double I2)
MooneyRivlinMaterialLaw(double c1, double c2=MINUS_LARGE)