首页> 外文期刊>Scientific programming >Development of Generic Field Classes for Finite Element and Finite Difference Problems
【24h】

Development of Generic Field Classes for Finite Element and Finite Difference Problems

机译:有限元和有限差分问题的通用领域分类的发展

获取原文
       

摘要

This article considers the development of a reusable object-oriented array library, as well as the use of this library in the construction of finite difference and finite element codes. The classes in this array library are also generic enough to be used to construct other classes specific to finite difference and finite element methods. We demonstrate the usefulness of this library by inserting it into two existing object-oriented scientific codes developed at Sandia National Laboratories. One of these codes is based on finite difference methods, whereas the other is based on finite element methods. Previously, these codes were separately maintained across a variety of sequential and parallel computing platforms. The use of object-oriented programming allows both codes to make use of common base classes. This offers a number of advantages related to optimization and portability. Optimization efforts, particularly important in large scientific codes, can be focused on a single library. Furthermore, by encapsulating machine dependencies within this library, the optimization of both codes on different architec-tures will only involve modification to a single library.
机译:本文考虑了可重用的面向对象数组库的开发,以及该库在有限差分和有限元代码构造中的使用。此数组库中的类也足够通用,可用于构造其他特定于有限差分和有限元方法的类。通过将其插入桑迪亚国家实验室开发的两个现有的面向对象的科学代码中,我们证明了该库的有用性。这些代码之一基于有限差分法,而另一种基于有限元方法。以前,这些代码是在各种顺序和并行计算平台上分别维护的。面向对象编程的使用允许两种代码都使用通用基类。这提供了与优化和可移植性相关的许多优点。优化工作(在大型科学法规中尤为重要)可以集中在单个库上。此外,通过将机器依赖性封装在该库中,在不同架构上优化两个代码将仅涉及对单个库的修改。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号