Open Access. Powered by Scholars. Published by Universities.®

Engineering Commons

Open Access. Powered by Scholars. Published by Universities.®

Utah State University

Mechanical and Aerospace Engineering Faculty Publications

Computer Engineering

Articles 1 - 1 of 1

Full-Text Articles in Engineering

Dnad, A Simple Tool For Automatic Differentiation Of Fortran Codes Using Dual Numbers, Wenbin Yu, Maxwell Blair Jan 2013

Dnad, A Simple Tool For Automatic Differentiation Of Fortran Codes Using Dual Numbers, Wenbin Yu, Maxwell Blair

Mechanical and Aerospace Engineering Faculty Publications

DNAD (dual number automatic differentiation) is a simple, general-purpose tool to automatically differentiate Fortran codes written in modern Fortran (F90/95/2003) or legacy codes written in previous version of the Fortran language. It implements the forward mode of automatic differentiation using the arithmetic of dual numbers and the operator overloading feature of F90/95/2003. Very minimum changes of the source codes are needed to compute the first derivatives of Fortran programs. The advantages of DNAD in comparison to other existing similar computer codes are its programming simplicity, extensibility, and computational efficiency. Specifically, DNAD is more accurate and efficient than the popular complex-step …