Switching schools and classes is insane. I know it's difficult when you are in love with somebody and you cannot be with them. It's distracting, it's draining and it's exhausting. How does everybody else do it though? Break ups happen all the time to everybody, not just us. I used to think people didn't care and didn't understand when I was so upset about my situation. We all find a way to deal, to push through it, and then we do it. There is no time table and seeing her all the time but unable to do anything doesn't help, it prolongs it.
The only thing you can really do is to accept that it is not going to work for you guys. I'd like to sit there and believe that while she is dating a new guy, it's most likely not forever and that anything can happen in the future. However, this mentality doesn't help you because you will more likely feel like you are waiting around, in which the time will be excruciating. You have to get out there and put effort into doing new things and meeting new people. This will require you to manage your time better, so you can still get your work done and keep your grades up. Which is a helpful skill to have anyway. New things include intramural sports or club sports, clubs at school, new hobbies, going to gym, you've heard the whole line up. Going out on the weekends should be pretty obvious.
You are responsible for pulling yourself out of this. Friends and family can only do so much. I've been eight months of NOT seeing or talking to my ex and I still dream about her. It sucks but it is what it is. Things will work out eventually. You are a good person, you have alot to offer, and you have to believe it. It's in your power to make a difference. Even if you cannot help how you feel, you are responsible for how you act. You will always be looking back at her until the next one really knocks you off your feet. Keep trying and keep yourself out there. It's alot of effort but it will be worth it in the end when you are years on later and you are going to bed with your wife.
Waking up next to a beautiful girl,
Step outside and say hello to my beautiful world.