If switch is set to -yes the user supplied routine for plasticity is called.
See also the file user.cc in the distribution.
The index specifies the element_group, see element_group.