Object-oriented framework for modelling of pollutant transport in river network

  • Authors:
  • Gennadiy Donchyts;Mark Zheleznyak

  • Affiliations:
  • Institute of the Mathematical Machines and System Problems, National Academy of Science of Ukraine, Ukraine;Institute of the Mathematical Machines and System Problems, National Academy of Science of Ukraine, Ukraine

  • Venue:
  • ICCS'03 Proceedings of the 1st international conference on Computational science: PartI
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

The object-oriented framework is developed using C++ language and generic programming for one-dimensional river transport modelling. The set of template classes is introduced for the better software reuse and additional ability for libraries to be extended with new sub-models. The presented model is developed using the new OOP framework coupled with modern third-party linear algebra methods libraries (MTL/ITL). The classes dealing with river topology, time series and other model elements are introduced. The new approach makes it possible to split the task of a complex river network simulation into a set of simple 1D branch simulations. This minimizes the amount of code and makes program more understandable and easy to extend. The template programming preserves high computational performance of the system and this allows program to run as fast as its C/FORTRAN analogs.