add functions to set elastic parameters