arrow
Volume 36, Issue 1
AFEPack: A General-Purpose C++ Library for Numerical Solutions of Partial Differential Equations

Zhenning Cai, Yun Chen, Yana Di, Guanghui Hu, Ruo Li, Wenbin Liu, Heyu Wang, Fanyi Yang, Chengbao Yao & Hongfei Zhan

Commun. Comput. Phys., 36 (2024), pp. 274-318.

Published online: 2024-07

Export citation
  • Abstract

AFEPack is a general-purpose C++ library for numerical solutions of partial differential equations. With over two decades development, AFEPack has been successfully applied for scientific and engineering computational problems in a variety of areas such as computational fluid dynamics, electronic structure calculations, computational micromagnetics. In this paper, design philosophy of the library, algorithms and data structures used in the discretization of governing equations, numerical linear algebra for the discretized system, as well as the pre-processing and post-processing of the simulations, will be described systematically for the AFEPack. The realization of two main features of the library, i.e., adaptive mesh methods and parallel computing, will be introduced in detail. The potential of the library for large scale scientific/engineering problems would be demonstrated by several examples. The future works on developing the library will also be discussed.

  • AMS Subject Headings

65M08, 65M60, 65N08, 65N30, 65-04

  • Copyright

COPYRIGHT: © Global Science Press

  • Email address
  • BibTex
  • RIS
  • TXT
@Article{CiCP-36-274, author = {Cai , ZhenningChen , YunDi , YanaHu , GuanghuiLi , RuoLiu , WenbinWang , HeyuYang , FanyiYao , Chengbao and Zhan , Hongfei}, title = {AFEPack: A General-Purpose C++ Library for Numerical Solutions of Partial Differential Equations}, journal = {Communications in Computational Physics}, year = {2024}, volume = {36}, number = {1}, pages = {274--318}, abstract = {

AFEPack is a general-purpose C++ library for numerical solutions of partial differential equations. With over two decades development, AFEPack has been successfully applied for scientific and engineering computational problems in a variety of areas such as computational fluid dynamics, electronic structure calculations, computational micromagnetics. In this paper, design philosophy of the library, algorithms and data structures used in the discretization of governing equations, numerical linear algebra for the discretized system, as well as the pre-processing and post-processing of the simulations, will be described systematically for the AFEPack. The realization of two main features of the library, i.e., adaptive mesh methods and parallel computing, will be introduced in detail. The potential of the library for large scale scientific/engineering problems would be demonstrated by several examples. The future works on developing the library will also be discussed.

}, issn = {1991-7120}, doi = {https://doi.org/10.4208/cicp.OA-2024-0027}, url = {http://global-sci.org/intro/article_detail/cicp/23304.html} }
TY - JOUR T1 - AFEPack: A General-Purpose C++ Library for Numerical Solutions of Partial Differential Equations AU - Cai , Zhenning AU - Chen , Yun AU - Di , Yana AU - Hu , Guanghui AU - Li , Ruo AU - Liu , Wenbin AU - Wang , Heyu AU - Yang , Fanyi AU - Yao , Chengbao AU - Zhan , Hongfei JO - Communications in Computational Physics VL - 1 SP - 274 EP - 318 PY - 2024 DA - 2024/07 SN - 36 DO - http://doi.org/10.4208/cicp.OA-2024-0027 UR - https://global-sci.org/intro/article_detail/cicp/23304.html KW - AFEPack, C++ library, partial differential equations, scientific/engineering computing, software. AB -

AFEPack is a general-purpose C++ library for numerical solutions of partial differential equations. With over two decades development, AFEPack has been successfully applied for scientific and engineering computational problems in a variety of areas such as computational fluid dynamics, electronic structure calculations, computational micromagnetics. In this paper, design philosophy of the library, algorithms and data structures used in the discretization of governing equations, numerical linear algebra for the discretized system, as well as the pre-processing and post-processing of the simulations, will be described systematically for the AFEPack. The realization of two main features of the library, i.e., adaptive mesh methods and parallel computing, will be introduced in detail. The potential of the library for large scale scientific/engineering problems would be demonstrated by several examples. The future works on developing the library will also be discussed.

Zhenning Cai, Yun Chen, Yana Di, Guanghui Hu, Ruo Li, Wenbin Liu, Heyu Wang, Fanyi Yang, Chengbao Yao & Hongfei Zhan. (2024). AFEPack: A General-Purpose C++ Library for Numerical Solutions of Partial Differential Equations. Communications in Computational Physics. 36 (1). 274-318. doi:10.4208/cicp.OA-2024-0027
Copy to clipboard
The citation has been copied to your clipboard