SPMODEL project is now developing various hierarchical spectral models for geophysical fluid dynamics which can be easily used for research and education.
New version (0.8.0) of SPMODEL library (spml) was released. Modified points and newly implemented functions are as follows:
SPMODEL project is developing a series of numerical models based on various systems of approximate equations, that appear in the geophysical fluid dynamics. The model series is arranged hierarchically from simple spartial one-dimensinal models to complex two or three dimensional models.
The aims of the series of numerical models are as follows:
For such purposes, readability and understandability of the source codes to permit easy re-building and/or modification are given priority in designing the program source codes. This policy might sacrifice calculation speed of the programs, however, we anticipate that on the basis of this model series, advanced models, which can perform leading-edge massive calculations for exapmle, could be developed easily.
The programs of the series of the models use "SPMODEL library (spml)", which provides basic functions for numerical fluid dynamics calculations with the spectral methods, such as conversion between grid and spectral data and spartial derivatives. By using the array-valued functions of SPMODEL library under favor of the array operation features of Fortran90, the main part of each program source code is written in a similar form to the original mathematical expressions, which contributes to readability and understandability of the program source codes. Moreover, with the help of the introduction of systematic function naming rules of the array-valued functions of SPMODEL library, we can use these functions routinely, and the program source codes can be modified easyly and safely.
The SPMODEL library and the sample programs serve as one of the experiments for Fortran90 programing style. We are pleased if we colud offer them as references for programing style of several numerical calculations not only in geophysical fluid dynamics but also in other several fields of phisics.