开发者

units of measure in fortran

Is there a library defining a datatype and servic开发者_StackOverflow社区es to deal with quantities associated to a unit of measure in fortran ?


There is the PHYSUNITS F90 module, which might do what you want.


Do mean something like UDUNITS? I find it really useful for time calculations, but most other conversions are just simple multiplication/addition combinations. These are usually too easy to code manually to warrant the extra library dependency of UDUNITS. Note that the more recent version, UDUNITS-2, does not yet have a Fortran interface.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜