Vectorized 3D Mesh Refinement and Implementation of Primal Hybrid FEM in MATLAB
Abstract This article presents a MATLAB software package for solving a three-dimensional (3D) second-order elliptic problem with mixed boundary conditions using the primal hybrid finite element method (FEM). First, we introduce a novel fast 3D uniform finite element mesh refinement technique implemented in MATLAB and establish the Nodes-to-Edge and Faces-to-Tetrahedron connectivity through an efficient and systematic approach. We then describe an efficient MATLAB assembly procedure for the 3D lowest-order primal hybrid finite element matrices. Furthermore, we develop a vectorized Schur complement solver, where the computational improvement over MATLAB’s default direct solver ( mldivide ) arises from reducing the original block system to a substantially smaller Schur complement system. The run-time performance of the software is demonstrated through numerical experiments.
Authors
- Sharat Gaddam (ORCID: https://orcid.org/0000-0002-8675-0245)
- Jan Valdman (ORCID: https://orcid.org/0000-0002-6081-5362)
- Sanjib Kumar Acharya
- Harish Nagula Mallesham
Institutions
- Sewanee: The University of the South (US)
- High Energy Materials Research Laboratory (IN)
- Indian Institute of Technology Bhubaneswar (IN)
Publication Details
- Journal
- Computational Methods in Applied Mathematics
- Published
- 2026-03-12
- DOI
- https://doi.org/10.1515/cmam-2025-0171
- Primary Topic
- Advanced Numerical Methods in Computational Mathematics
- Type
- article
- Field-Weighted Citation Impact
- 0.00