How to implement a C++ program for complex weather forecasting models?