Source code automatic generation technology can improve software development’s quality and productivity significantly. However, the existing code generators cannot satisfy nuclear power software development demand. This paper analyzes development feature of scientific computing software and develops a FORTRAN Code Generator (FCG) using C# language. FCG can generate program variables definition FORTRAN source code automatically according to input metadata. FCG also can generate memory allocation source code for dynamic variables in program. Besides, FCG can generate data access interface for global variables in code. Right now, FCG has been applied to source code development of COSINE (Core and System Integrated Engine for design and analysis) software package. Development practice has proved that FCG can improve development efficiency of nuclear power software greatly.

This content is only available via PDF.
You do not currently have access to this content.