skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: C++ Coding Standards for the AMP Project

Technical Report ·
DOI:https://doi.org/10.2172/970915· OSTI ID:970915

This document provides an initial starting point to define the C++ coding standards used by the AMP nuclear fuel performance integrated code project and a part of AMP's software development process. This document draws from the experiences, and documentation [1], of the developers of the Marmot Project at Los Alamos National Laboratory. Much of the software in AMP will be written in C++. The power of C++ can be abused easily, resulting in code that is difficult to understand and maintain. This document gives the practices that should be followed on the AMP project for all new code that is written. The intent is not to be onerous but to ensure that the code can be readily understood by the entire code team and serve as a basis for collectively defining a set of coding standards for use in future development efforts. At the end of the AMP development in fiscal year (FY) 2010, all developers will have experience with the benefits, restrictions, and limitations of the standards described and will collectively define a set of standards for future software development. External libraries that AMP uses do not have to meet these requirements, although we encourage external developers to follow these practices. For any code of which AMP takes ownership, the project will decide on any changes on a case-by-case basis. The practices that we are using in the AMP project have been in use in the Denovo project [2] for several years. The practices build on those given in References [3-5]; the practices given in these references should also be followed. Some of the practices given in this document can also be found in [6].

Research Organization:
Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)
Sponsoring Organization:
USDOE Office of Nuclear Energy (NE)
DOE Contract Number:
DE-AC05-00OR22725
OSTI ID:
970915
Report Number(s):
ORNL/TM-2009/240; AF5830010; NEAF300; TRN: US1001113
Country of Publication:
United States
Language:
English

Similar Records

"Test" is a Four Letter Word
Journal Article · Tue May 03 00:00:00 EDT 2005 · Better Software Magazine, N/A, N/A, October 1, 2005, N/A · OSTI ID:970915

Development of a Consensus Standard for Verification and Validation of Nuclear System Thermal-Fluids Software
Journal Article · Thu Dec 01 00:00:00 EST 2011 · Nuclear Engineering and Design · OSTI ID:970915

Infrastructure for Multiphysics Software Integration in High Performance Computing-Aided Science and Engineering
Technical Report · Sat Oct 15 00:00:00 EDT 2016 · OSTI ID:970915