Adds a method to the graphics package.
name_solver - name of a new user-defined graphics class
routine_create - routine to create method context
PetscDrawRegister() may be called multiple times to add several user-defined graphics classes
Then, your specific graphics package can be chosen with the procedural interface via
or at runtime via the option