Thank you for your help.
For the second point,I have understand it.
The first point,I do not know how to use a user routine,not to say write it,could you give me some guides and examples to learn it?(especially about wvlnsh.f)
You might have a look at these 3 threads:
Thank you for your reply,I will try to use it.