期刊文献+

工程计算中大型稀疏矩阵存储方法研究 被引量:8

RESEARCH ON THE STORAGE METHOD OF LARGE-SCALE SPARSE MATRIX IN ENGINEERING CALCULATION
原文传递
导出
摘要 在工程实际中,许多问题都可以归结为数值法求解偏微分方程(组)的问题.偏微分方程数值解法主要包括有限差分法、有限元法和有限体积法,其中大多数方法都是通过离散的方式将方程转化为线性方程组,通过求解线性系统得到原方程的数值解.在这个过程中,线性方程组的系数矩阵通常很大并且很稀疏,会占用大量存储空间并使方程组难以求解.针对这个问题,本文研究大型稀疏矩阵的压缩存储方法,只存储非零元素,降低存储空间消耗,避免零元素参与计算,提升计算效率.具体来说,在稀疏矩阵生成过程中,使用十字链表法存储,可以在常数时间内完成非零元素的插入操作;在方程组求解过程中,使用按行(列)压缩存储方法,既节约存储空间,又可以提高求解器的求解效率.在实验部分,本文分别使用有限差分法求解Laplace方程和有限元法计算圆环截面应力分布问题,对其中大型稀疏线性方程组的系数矩阵,采用十字链表法和按行(列)压缩存储法存储,使用直接法和迭代法求解线性方程组.实验结果显示,对于结构化和非结构化的稀疏矩阵,压缩存储方法不仅能够大幅度减少内存空间的占用,而且能够显著提升求解器的效率. In engineering, many problems can be reduced to solve the partial differential equations(groups) with numerical methods. Numerical methods for solving partial differential equations include the finite difference method, finite element method and finite volume method.The core concept of these methods is to discrete the differential equations into a linear system, and the numerical solution of the original equations is obtained by solving the linear system. In this process, the coefficient matrix of the linear system is usually vary large and sparse, occupying large amounts of storage space and making the linear system difficult to solve. In order to alleviate the problem, this paper studies the compression storage method for large sparse matrix, which only stores non-zero elements. The strategy can reduce storage space and avoid zero elements to participate in calculation. In particular, in the process of generation of coefficient matrix, the insert operation of non-zero elements can be finished in constant time with the orthogonal list. In the process of solving, the Compression Storage Row/Column(CSR/CSC) can save storage space and improve the solver efficiency significantly. In experiment, we adopt the finite difference method to solve Laplace equation and use the finite element method to compute the stress distribution of the cross-section of a ring. For the linear systems, we use the orthogonal list and CSR/CSC to store the coefficient matrix, and use direct and iterative methods to solve the systems. Experimental results show that the compression storage method can not only greatly reduce the memory space for structured and unstructured matrices, but also can significantly improve the efficiency of the solvers.
作者 纪国良 丁勇 周曼 冯仰德 Ji Guoliang;Ding Yong;Zhou Man;Feng Yangde(China Three Gorges Corporation,Yichang 443000,Chin;Computer Network Information Center,Department of High Performance Computing Technology and Application Development,CAS,Beijing 100190,China)
出处 《数值计算与计算机应用》 2018年第3期217-230,共14页 Journal on Numerical Methods and Computer Applications
基金 国家重点研发计划重点专项《长江泥沙调控及干流河道演变与治理技术研究》(GZ217001)的子课题《水库库区淤积对防洪的影响研究》(2016YFC0402306-01)资助
关键词 偏微分方程 大型稀疏矩阵 十字链表 按行(列)压缩存储格式 求解器 partial differential equations large-scale sparse matrix ortbogonal list Compression Storage Row (Column) solver
  • 相关文献

参考文献7

二级参考文献32

  • 1郭广军,胡玉平,戴经国.基于Java多线程的并行计算技术研究及应用[J].华中师范大学学报(自然科学版),2005,39(2):169-173. 被引量:11
  • 2BECCHI M,CROWLEY P.Extending finite automata to efficiently match perl-compatible regular expressions[C] // Proceedings of the 2008 ACM CoNEXT Conference.New York:ACM,2008:25.
  • 3Introduction to snort[EB/OL].[2008-02-27].http://www.snort.org/docs.
  • 4Bro intrusion detection system[EB/OL].[2009-02-24].http://www.bro-ids.org.
  • 5Tippingpoint intrusion prevention systems[EB/OL].[2009 -05-28].http://www.tippingpoint.com.
  • 6Cisco IOS IPS signature deployment guide[EB/OL].[2009 -07-12].http://www.cisco.com.
  • 7BECCHI M,CROWLEY P.An improved algorithm to accelerate regular expression evaluation[C] // Proceedings of the 3rd ACM/IEEE Symposium on Architecture for Networking and Communications Systems.New York:ACM,2007,:145 -154.
  • 8KONG S J,SMITH R,ESTAN C.Efficient signature matching with multiple alphabet compression tables[EB/OL].[2009-12-12].http://pages.cs.wise.edu/ ~ estan/publications/multipleACTs.html.
  • 9FICARA D,GIORDANO S,PROCISSI G,et al.An improved dfa for fast regular expression matching[J].ACM SIGCOMM Computer Communication Review,2008,38(5):29 -40.
  • 10KUMAR S,DHARMAPURIKAR S,YU F,et al.Algorithms to accelerate multiple regular expressions matching for deep packet inspection[C] // Proceedings of the 2006 Conference on Applications,Technologies,Architectures,and Protocols for Computer Communications.Washington,DC:IEEE,2006:339 -350.

共引文献87

同被引文献86

引证文献8

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部