Unfortunately, it's not always possible to stop feeling for someone in a certain way. It's quite possible that for the rest of your life, whenever you think of that person those feelings will arise. However, this shouldn't stop you from moving on in any sense. I think you are at the stage where you know there is no future between you two, and realize it, and can live with it, but she is still on your mind and you still care for her, so it hurts and you can't take your mind off of her. I have lived it, trust me, follow these directions.
1) The longer you are hung up on this girl, the more you decrease your chance of finding an unbelievable love who will care for you just as much as you care for her, for the rest of your lives.
2) Completely 100% understand the fact (even if it's not true) that there will be nothing between you two ever again, so if you TRULLY believe this, you w/ill focus much more on other women because you know that's where your future lies.
3) Think how much she hurt you. Don't be a bitch. Be a man. Show some pride, show her how independent you are. Don't even deal with her, who cares about friendship. Work on other girls, or just w*ork on your life. Do what you love to do. Go out with friends work on your career, things of that sort. Find something you love about life that doesnt involve women like a hobby or a sport or your job and work on it and get excited about it. Eventually your mind will be off of her (not completely, but more), and she will mean less and less to you because you realize you dont need her and arent living for her anymore, although you still may care for her. Eventually, a new girl will arise and hopefully if everything goes right she will be the one.