Set switch to -yes if you want to use a umat.c routine. The index specifies the element_group, see element_group.
See also the user supplied subroutines section and group_user_data.