首页> 外文会议>Workshop on component-based high-performance computing 2009 >Expressing Measurement Units in Interfaces for Scientific Component Software
【24h】

Expressing Measurement Units in Interfaces for Scientific Component Software

机译:在科学组件软件的接口中表达测量单位

获取原文
获取原文并翻译 | 示例

摘要

Scientific computing programs rarely use measurement units to express quantities, even though such units are commonplace in pencil and paper calculation. Tools that enable expressing measurement units and enforce dimensional safety have been made available in popular programming languages for some time, but they still lack a significant following. We posit that scientific programmers should not be burdened by units at each statement in their programs, but that units should be inserted in software component interfaces. This coarser grain approach enables the prevention of errors that occur when components written by different teams are composed, which we believe is a major cause of dimensional errors. We present our design of adding measurement units to interfaces in the CCA component model, which is targeted at the scientific computing community, in order to provide dimensional safety, an extensible set of measurement units and automatic conversion between commensurable quantities.
机译:科学计算程序很少使用度量单位来表达数量,即使这种单位在铅笔和纸张计算中很常见。可以表达测量单位并增强尺寸安全性的工具已经在流行的编程语言中使用了一段时间,但是仍然缺乏大量的支持者。我们认为,科学程序员不应在程序的每个语句中都受到单元的负担,而应将单元插入软件组件接口中。这种较粗糙的方法可以防止在组成不同团队编写的组件时发生错误,我们认为这是尺寸错误的主要原因。我们提出了将测量单位添加到CCA组件模型中的接口的设计,该模型针对科学计算社区,以提供尺寸安全性,可扩展的测量单位集以及在相应数量之间的自动转换。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号