...
首页> 外文期刊>ACM transactions on mathematical software >On the Efficiency of Symbolic Computations Combined with Code Generation for Finite Element Methods
【24h】

On the Efficiency of Symbolic Computations Combined with Code Generation for Finite Element Methods

机译:符号计算与代码生成相结合的有限元方法的效率

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

获取外文期刊封面封底 >>

       

摘要

Efficient and easy implementation of variational forms for finite element discretization can be accomplished with metaprogramming. Using a high-level language like Python and symbolic mathematics makes an abstract problem definition possible, but the use of a low-level compiled language is vital for run-time efficiency. By generating low-level C++ code based on symbolic expressions for the discrete weak form, it is possible to accomplish a high degree of abstraction in the problem definition while surpassing the run-time efficiency of traditional hand written C++ codes. We provide several examples where we demonstrate orders of magnitude in speedup.
机译:可以通过元编程实现有限元离散化变体形式的高效简便实现。使用Python和符号数学之类的高级语言可以实现抽象的问题定义,但是使用低级编译语言对于运行时效率至关重要。通过基于符号表达式为离散的弱形式生成低级C ++代码,可以实现问题定义中的高度抽象,同时可以超越传统的手写C ++代码的运行时效率。我们提供了几个示例,这些示例演示了加速的数量级。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号