Answers are grounded in this paper and cite their sources.
Physical dimensions and units form an essential part of the specification of constants and variables occurring in scientific programs, yet no standard compilable programming language implements direct support for automated dimensional consistency checking and unit conversion. This paper describes a conceptual basis and prototype implementation for such support within the framework of the standard Fortran 90 language. This is accomplished via an external module supplying appropriate user data types and operator interfaces. Legacy Fortran 77 scientific software can be easily modified to compile and run as ‘dimension‐aware’ programs utilizing the proposed enhancements.
No takes yet. Share an insight, caveat, or question.
Grant W. Petty (2001) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: