...
首页> 外文期刊>Computing in science & engineering >Application of Metaprogramming and Generic Programming in Multiscale Modeling
【24h】

Application of Metaprogramming and Generic Programming in Multiscale Modeling

机译:元编程和泛型编程在多尺度建模中的应用

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

摘要

Numerical modeling is a tool commonly used by both researchers and engineers. For several reasons, the quality of scientific codes frequently deprecates. One of the possible remedies is the application of advanced programming and software development methods. In this paper, we introduce the application of metaprogramming and generic programming in C++ to control the correctness of multiscale models. Additionally, it is shown how both methods increase reusability and quality of the code. A short introduction to metaprogramming and generic programming is included, as well as the proof of the concept. Exemplary codes are also included and discussed.
机译:数值建模是研究人员和工程师常用的工具。由于多种原因,科学规范的质量经常被淘汰。可能的补救措施之一是应用高级编程和软件开发方法。在本文中,我们介绍了元编程和通用编程在C ++中的应用,以控制多尺度模型的正确性。此外,还显示了这两种方法如何提高代码的可重用性和质量。其中包括对元编程和通用编程的简短介绍,以及该概念的证明。示例性代码也被包括和讨论。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号