# Sensitivity interface at Material Level

Return to Extension of an existing material,cross section, and element for DDM-based:


The following functions need to be implemented in each material for sensitivity computation:

int setParameter (const char **argv, int argc, Parameter &param);
int updateParameter (int parameterID, Information &info);
int activateParameter (int parameterID);
double getStressSensitivity (int gradIndex, bool conditional);
double getInitialTangentSensitivity (int gradIndex);
int commitSensitivity (double strainGradient, int gradIndex, int numGrads);
double getStrainSensitivity(int gradIndex);