“…FEM_2D aims to expose some features similar to those in other FEM libraries such as Deal.II (Arndt et al, 2021) and MFEM (Anderson et al, 2021) that are designed to be general purpose frameworks for implementing FEM codes. Although it is not nearly as feature-rich as these libraries, FEM_2D's hp-refinement API aims to provide the basic functionality needed to iteratively solve challenging 2D FEM problems as described in the associated work (Corrado et al, 2021(Corrado et al, , 2022Harmon et al, 2021). These features will be discussed in detail in the following sections.…”