Abstract
Aiming for an atmospheric general circulation model (GCM) with a flexible and readable source code, a dynamical core is newly designed and its implementation tests are performed. In order to improve the flexibility and readability of the model, the source code is hierarchically structured by the use of modules and derived-type variables, array-valued functions are frequently used for operating array-valued variables, a set of naming rules are newly introduced for variables and functions, and a tool set for automatic generation of reference document (RDoc) are improved. The dynamical core developed here is named DCPAM, and is provided at http://www.gfd-dennou.org/ .