跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数学软件

arXiv:2107.04121 (cs)
[提交于 2021年7月30日]

标题:Fast Evaluation of Finite Element Weak Forms Using Python Tensor Contraction Packages

作者:Robert Cimrman
查看论文《Fast Evaluation of Finite Element Weak Forms Using Python Tensor Contraction Packages》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In finite element calculations, the integral forms are usually evaluated using nested loops over elements, and over quadrature points. Many such forms (e.g. linear or multi-linear) can be expressed in a compact way, without the explicit loops, using a single tensor contraction expression by employing the Einstein summation convention. To automate this process and leverage existing high performance codes, we first introduce a notation allowing trivial differentiation of multi-linear finite element forms. Based on that we propose and describe a new transpiler from Einstein summation based expressions, augmented to allow defining multi-linear finite element weak forms, to regular tensor contraction expressions. The resulting expressions are compatible with a number of Python scientific computing packages, that implement, optimize and in some cases parallelize the general tensor contractions. We assess the performance of those packages, as well as the influence of operand memory layouts and tensor contraction paths optimizations on the elapsed time and memory requirements of the finite element form evaluations. We also compare the efficiency of the transpiled weak form implementations to the C-based functions available in the finite element package SfePy.
主题: 数学软件 (cs.MS); 数值分析 (cs.NA); 数值分析 (math.NA)
引用方式: arXiv:2107.04121 [cs.MS]
  (或者 arXiv:2107.04121v1 [cs.MS] 对于此版本)
  https://doi.org/10.48550/arXiv.2107.04121
相关 DOI: https://doi.org/10.1016/j.advengsoft.2021.103033

提交历史

来自:Robert Cimrman
[v1] 2021年7月30日 星期五 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.MS
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-07
切换浏览方式为:
cs
cs.NA
math.NA

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站