arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv cs/0503014cs.MS
收藏

ADF95:用于自动微分为大量自变量设计的FORTRAN代码的工具

ADF95: Tool for automatic differentiation of a FORTRAN code designed for large numbers of independent variables

Christian W. Straka

摘要:

ADF 95是一种自动计算任何数学表达式的数值一阶导数的工具,作为用户定义的自变量的函数。导数的精度在机器精度范围内。ADF 95可应用于任何符合FORTRAN 77/90/95的代码,用户只需进行最小的更改。它提供了一种新的派生数据类型,该类型保存值和导数,并通过重载所有FORTRAN运算符和内部函数来应用前向差分。一个有效的索引技术导致减少内存使用和显着增加的性能增益比其他可用的工具与运算符重载。这种增益对于具有大量独立变量的稀疏系统尤其明显。广泛的一类数值模拟,例如,那些使用隐式求解器的人可以从ADF 95中受益。

英文摘要:

ADF95 is a tool to automatically calculate numerical first derivatives for any mathematical expression as a function of user defined independent variables. Accuracy of derivatives is achieved within machine precision. ADF95 may be applied to any FORTRAN 77/90/95 conforming code and requires minimal changes by the user. It provides a new derived data type that holds the value and derivatives and applies forward differencing by overloading all FORTRAN operators and intrinsic functions. An efficient indexing technique leads to a reduced memory usage and a substantially increased performance gain over other available tools with operator overloading. This gain is especially pronounced for sparse systems with large number of independent variables. A wide class of numerical simulations, e.g., those employing implicit solvers, can profit from ADF95.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑