首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:The FastMat2 Matrix Library. Description and Parallel Implementation
  • 作者:Mario A. Storti ; Hugo G. Castro ; Rodrigo R. Paz
  • 期刊名称:Mecánica Computacional
  • 印刷版ISSN:2591-3522
  • 出版年度:2009
  • 卷号:28
  • 期号:5
  • 页码:295-295
  • 语种:English
  • 出版社:CIMEC-INTEC-CONICET-UNL
  • 其他摘要:Finite element codes usually have two levels of programming. At the outer level a series of nested loops for time stepping, or Newton iteration, leads to a series of linear problems that require residual and matrix assemblies which are then solved with iterative solvers like CG (for Conjugate Gradient) or GMRES (Generalized Minimal Residual Method). At the inner level, these assemblies are performed with a loop over all the elements in the mesh. The residual and matrix are computed for each element assembled in the global vector/matrix. The FastMat2 class is the main matrix library used in the PETSc-FEM code (http://www.cimec.org.ar/petscfem) for computations at the element level. It is full multi-index and performs the standard matrix functions like addition, tensor contractions (in the matrix sense and element-by-element), eigenvalue decomposition, inversion. A key point in its design is that many logical operations (row or column selections for instance) are the same for each element. So this kind of operations are cached in a Direct Acyclic Graph structure (DAG). Its implementation, in particular in a shared memory with OpenMP (for Open Multi-Processing) environment is discussed.
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有