2 YANGSHUAI WANG, JAMES R. KERMODE, CHRISTOPH ORTNER, AND LEI ZHANG
However, it fell short in providing a lower bound, which is essential for ensuring efficiency of
adaptive schemes. To overcome this limitation, Wang et al. [51] proposed a reliable and efficient
a posteriori error estimator by connecting the natural dual norm of the residual with solving
an auxiliary Poisson equation. They developed an inner-outer adaptive strategy with an outer
adaptive algorithm for selecting QM and MM regions and an inner algorithm for computing the
estimators with the desired accuracy. However, the inner algorithm necessitated a finite element
mesh, which introduced additional errors requiring careful handling, not to mention additional
algorithmic complexity. More importantly, this work was primarily centered on energy-mixing
schemes for simple point defects and the adaptive algorithm only adjusts the radius of QM and
MM sub-regions, limiting the ability to capture significant anisotropy in the defect core, elastic
field, or defect nucleation observed in practical material simulations.
The purpose of the present work is to develop a more practical adaptive QM/MM method
for material defect simulations, while maintaining the rigourous approach of [7, 51]. To ensure
consistency of the QM/MM scheme and improve computational efficiency, we employ state-of-art
machine-learning interatomic potentials (MLIPs) as the MM models [13, 31]. Next, we propose a
practical and flexible approach to obtain the error estimator, essentially replacing the PDE operator
from [51] with a generalization of the graph-Laplacian [42]. Algorithmically, this approach fits much
better into the setting of atomistic modeling. A practical error estimator is further developed by
(i) truncating to a finite computational domain and (ii) facilitating the QM force constant to give
a linear approximation of the residual force in the MM region. Moreover, to evolve the QM/MM
partitions anisotropically rather than only adjusting the radius, a free interface motion problem
(i.e., Eikonal equation [57]) is formulated and solved using the fast marching method [14, 57], where
the practical error estimator is regarded as the extending speed. We develop a novel strategy
to assign atoms to QM or MM subsystems based on the solution of the corresponding Eikonal
equation.
We test our algorithm by performing adaptive computations for three common defect types:
edge dislocations, in-plane cracks, and di-interstitials. Our findings reveal that the practical error
estimator we introduce attains convergence rates comparable to those of the approximation error,
offering substantial computational cost reductions when employing a realistic electronic structure
model. The adaptive algorithm showcases robustness by eliminating the need for user a priori
input, thereby aligning with our objective of achieving a fully adaptive QM/MM scheme. The
analysis and adaptive algorithm presented in this paper demonstrates a considerable degree of
independence from the underlying approximation scheme, thereby rendering the proposed frame-
work widely applicable to various coarse-graining or multiscale methods. As a proof of concept,
we will focus solely on geometry equilibration problems (statics).
Outline. This paper is organized as follows: Section 2 introduces the variational formulation
for defect equilibration and the QM/MM coupling methods we use. Section 3 outlines the con-
struction of our novel a posteriori error estimator, which provides upper and lower bounds for the
approximation error, along with practical approximations to enhance its implementation. Section 4
presents our adaptive QM/MM algorithm, incorporating a free interface problem to dynamically
update QM/MM partitions using the practical error estimator. We showcase our findings with
numerical examples, validating the efficacy of our adaptive algorithm. Section 5 concludes our key
findings and outlines future research directions. Appendices provide supplementary information
for interested readers.
Notation. We use the symbol ⟨·,·⟩ to denote the duality pairing between a Banach space and
its dual space. The symbol |·|normally denotes the Euclidean or Frobenius norm, while ∥·∥