원시데이터 수집 시스템
선정목록으로

Non-uniform FFT for the finite element computation of the micromagnetic scalar potential

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Exl, Lukas
  2. Schrefl, Thomas
DOI
10.48550/arxiv.1305.3162
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1305.3162
토픽
Composite Material Mechanics
OpenAlex ID
W6891790730

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We present a quasi-linearly scaling, first order polynomial finite element method for the solution of the magnetostatic open boundary problem by splitting the magnetic scalar potential. The potential is determined by solving a Dirichlet problem and evaluation of the single layer potential by a fast approximation technique based on Fourier approximation of the kernel function. The latter approximation leads to a generalization of the well-known convolution theorem used in finite difference methods. We address it by a non-uniform FFT approach. Overall, our method scales O(M + N + N log N) for N nodes and M surface triangles. We confirm our approach by several numerical tests.

본문 76,449자

본문 펼치기
## Non-uniform FFT for the finite element computation of the micromagnetic scalar potential Lukas Exl <sup>∗1</sup> and Thomas Schrefl <sup>2</sup> 1University of Vienna, Fakultät für Mathematik, Oskar-Morgenstern-Platz 1, A-1090 Wien, Austria 2University of Applied Sciences, Department of Technology, A-3100 St.Poelten, Austria November 6, 2018 Abstract We present a quasi-linearly scaling, first order polynomial finite element method for the solution of the magnetostatic open boundary problem by splitting the magnetic scalar potential. The potential is determined by solving a Dirichlet problem and evaluation of the single layer potential by a fast approximation technique based on Fourier approximation of the kernel function. The latter approximation leads to a generalization of the well-known convolution theorem used in finite difference methods. We address it by a non-uniform FFT approach. Overall, our method scales O( _M_ + _N_ + _N_ log _N_ ) for _N_ nodes and _M_ surface triangles. We confirm our approach by several numerical tests. _Keywords_ : Micromagnetics, Scalar potential, Stray field, Non-uniform Fast Fourier transform, Finite-element method ### 1 Introduction In micromagnetic simulations one is interested in either finding _magnetization_ _configurations_ of minimal magnetic energy or the time evolution of the magnetization under influence of internal and external fields [1]. In both cases the effective field, which consists of _stray field_, _anisotropy, exchange, external_ and possibly _thermal field_ and _spin transfer torque interaction_ (influence of external currents), has to be computed in each step of an iterative procedure [2]. Among them the stray field part is the most time consuming. Since we are interested in developing a new method for the computation of the latter one, we briefly state here the interface problem which defines the scalar potential of the stray field and give an overview of some existing numerical methods which address it. The micromagnetic _stray field_ is given as _h_ _s_ = −∇φ, where the _scalar potential_ φ for a given magneti ∗Corresponding author, `lukas.exl@univie.ac.at` 1 zation _m_ ∈ <sup>�</sup> _C_ <sup>1</sup> (Ω) <sup>�3</sup> ∩ <sup>�</sup> _C_ <sup>0</sup> (Ω) <sup>�3</sup> <sup>1</sup>, Ω ⊂ R <sup>3</sup> bounded and open, fulfills the interface problem [3, 4] −∆φ = −∇· _m_ in Ω, −∆φ = 0 in Ω _c_, �φ� = 0 on ∂Ω, (1) - <u>∂φ</u> = − _m_ - _n_ on ∂Ω, ∂ _n_ −∆φ = 0 in Ω = − _m_ - _n_ on ∂Ω, φ( _x_ ) = O( ∥ <sup><u>1</u></sup> _x_ ∥ <sup>)</sup> as ∥ _x_ ∥→∞, where [.] stands for the jump at the boundary. The classical solution of (1) has to be determined in whole space and is at least two times continuously differentiable in Ω and the exterior region Ω _c_ . Since we aim to compute a _weak solution_ we further assume that Ω is a Lipschitz domain with polyhedral boundary ∂Ω. One reformulates the set of equations (1), [5]: For given _m_ ∈ <sup>�</sup> _H_ <sup>1</sup> (Ω) <sup>�3</sup> the _micromagnetic scalar potential_ φ := (φ <sup>_int_</sup>, φ <sup>_ext_</sup> ) ∈ _H_ <sup>1</sup> (Ω) × _H_ <sup>1</sup> _~~c~~_ ) is the _loc_ <sup>(Ω</sup> solution to (1), where −∆φ <sup>_int_</sup> = −∇· _m_ in Ω and −∆φ <sup>_ext_</sup> = 0 in Ω _~~c~~_ holds in a variational sense. Hereby, For given _m_ ∈ <sup>�</sup> _H_ <sup>1</sup> (Ω) <sup>�3</sup> the _micromagnetic scalar potential_ φ := (φ <sup>_int_</sup>, φ <sup>_ext_</sup> ) ∈ _H_ <sup>1</sup> (Ω) × _H_ <sup>1</sup> <sup>1</sup> _loc_ <sup>(Ω</sup> solution to (1), where −∆φ <sup>_int_</sup> = −∇· _m_ in Ω and −∆φ <sup>_ext_</sup> = 0 in Ω _~~c~~_ holds in a variational sense. Hereby, _H_ <sup>1</sup> (Ω) denotes the usual _Sobolev space_, i.e. _H_ <sup>1</sup> (Ω) := { _u_ ∈ _L_ <sup>2</sup> (Ω) | weak derivatives ∂ _qu_ ∈ _L_ <sup>2</sup> (Ω), _q_ = _x_, _y_, _z_ } and _H_ <sup>1</sup> _~~c~~_ ) := { _u_ ∈ _H_ 1( _C_ ) | _C_ ⊂ Ω _~~c~~_ compact}. The jump [.] is determined by taking the corre _loc_ <sup>(Ω</sup> _x_, _y_, _z_ } and _H_ <sup>1</sup> _~~c~~_ ) := { _u_ ∈ _H_ 1( _C_ ) | _C_ ⊂ Ω _~~c~~_ compact}. The jump [.] is determined by taking the corre _loc_ <sup>(Ω</sup> sponding trace operators. Within this setting the existence of a unique solution to (1) has been proved. For details we refer the reader to [5, 6] and references therein. For comparing different algorithms we mention the important fact that in micromagnetic methods it is possible to precompute certain quantities that do not depend on the magnetization, e.g. only rely on the geometry of the problem, see for instance [7]. Thus, in our asymptotic operation counts, we neglect the effort for computing these steps and refer to as _precomputation_ or _setup phase_ . Several methods address the approximation of the solution to (1). Integral methods with a regular discretization of the domain Ω aim to directly compute the integral representation of the solution inside the magnetic body Ω [7, 8], i.e. _~~c~~_ ) := { _u_ ∈ _H_ 1( _C_ ) | _C_ ⊂ Ω _loc_ <sup>1</sup> <sup>(Ω</sup> _<u>m</u>_ <u>(</u> _<u>y</u>_ <u>) ·</u> _<u>n</u>_ <u>(</u> _<u>y</u>_ <u>)</u> �. (2) ∂Ω φ( _x_ ) = − <sup><u>1</u></sup> 4π - <sup>�</sup> Ω dσ( _y_ ) ∥ _x_ - _y_ ∥ ∇· _<u>m</u>_ <u>(</u> _<u>y</u>_ <u>)</u> ∥ _x_ - _y_ ∥ <sup>d</sup> <sup>_y_</sup> <sup>+</sup> Discretization on an equispaced grid built of rectangular computational cells allows applying fast Fourier transform (FFT) techniques, making this methods quasi-optimal, i.e. the costs are O( _N_ log _N_ ) for _N_ grid points [4, 7, 8]. Also the _fast multipole method_ and combination with FFT was applied to compute the magnetostatic field and energy [9–11], as well as a nonuniform grid (NG) algorithm [12, 13]. Within the framework of integral approaches also tensor grid methods were developed, which make further assumptions on the representation of the magnetization field through tensor formats, but then gain even sub-linear complexity [14–16]. A precorrected-FFT method was introduced in the context of electromagnetic boundary integral equations [17]. In the relevant literature, to the authors’ best knowledge, this method has not been adapted to the corresponding micromagnetic equations, but so-called non-uniform FFT could be considered as a related approach. A method using non-uniform FFT from [18] on the quadrature approximation of the integral representation (2) discretized on unstructured 2-dimensional FE grids was reported in [19]. This method scales O( _Q_ + _N_ + _n_ <sup>_d_</sup> log _n_ ) in the general case of _d_ dimensions for _Q_ = _qL_ quadrature points in total, where _q_ quadrature points are used for each of the _L_ computational domains (tetrahedrons for volume and triangles for surface integrals), _N_ mesh-nodes and an auxiliary parameter _n_, which comes from the FFT and 1 _Cq_ (Ω) is the space of _q_ times continuously differentiable functions defined on Ω; Ω means closure of Ω ⊂ R3 (bounded and open) and (.) <sup>_c_</sup> stands for complement. 2 is of the same order as in our forthcoming proposed method, see [21] for more details. We stress that our method leads to the same complexity for a prescribed accuracy but requires only a pre-factor _q_ = 1. This is achieved by performing the integration in a setup phase. Moreover, _shell_ _transformation_ _techniques_ on a finite element mesh containing Ω were applied to address unbounded problems like (1), [22]. The discrete formulation of (1) translates to only one sparse linear system, which, however, tends to be very ill-conditioned due to the transformation. Algebraic multigrid preconditioners were successfully applied to address this issue [7]. On the other hand, the well-known hybrid FEM-BEM coupling by the _ansatz_ _of_ _Fredkin_ _and_ _Koehler_ [23] aims to solve (1) by the splitting φ = φ1 + φ2, where φ1 is determined by a Poisson equation with Neumann boundary conditions and φ2 by a Laplace equation where the Dirichlet data are computed by the values of φ1 through a boundary integral representation of the potential φ2. Hereby, the calculation of the boundary values of φ2 leads to a dense matrix-vector product which scales O( _Nb_ <sup>2) for</sup> <sup>_Nb_</sup> <sup>boundary</sup> nodes. Compression techniques were introduced to reduce this complexity and storage requirements [24]. In this work we present a first order polynomial (P1) finite element method that solves (1) by the _ansatz_ _of García-Cervera and Roma_ [25], where we develop a fast evaluation technique for the single layer potential. Approximation of a smoothed version of the Newtonian kernel _N_ ( _x_ ) = 1/| _x_ | by a Fourier series will lead us to a computational scheme which is similar to the convolution theorem used e.g. in integral methods mentioned above. Based on FFT for non-equispaced data (non-uniform FFT, NFFT) [26–28] and linearly scaling near-field correction, we are able to efficiently compute the single layer potential. We then combine this solution with the finite element solution of a Dirichlet problem, yielding, in total, a complexity of O( _M_ + _N_ ) for _N_ nodes and _M_ surface triangles. In the following section we discuss the _ansatz of García-Cervera and Roma_, which will be the basis for our method. ### 2 The ansatz of García-Cervera and Roma In the following we will describe a quasi-linearly scaling method for the _ansatz of García-Cervera and_ _Roma_ [25]. We split the potential into φ = φ1 + φ2 and get for φ1 = (φ <sup>_int_</sup> 1 <sup>, φ</sup> <sup>_ext_</sup> 1 <sup>) ∈</sup> <sup>_H_</sup> <sup>1(Ω) ×</sup> <sup>_H_</sup> _loc_ <sup>1</sup> <sup>(Ω</sup> _c_ ) <sup>_int_</sup> 1 <sup>, φ</sup> <sup>_ext_</sup> 1 <sup>) ∈</sup> <sup>_H_</sup> <sup>1(Ω) ×</sup> <sup>_H_</sup> _loc_ <sup>1</sup> <sup>(Ω</sup> _c_ ) −∆φ <sup>_int_</sup> 1 = −∇· _m_ in Ω, (3) φ <sup>_int_</sup> 1 = 0 on ∂Ω, - <u>∂φ1</u> ∂ _n_ ∂φ <sup>_int_</sup> ∂ _n_ <u>1</u> <sup>.</sup> and set φ <sup>_ext_</sup> = 0 in Ω 1 _c_ . Hence, we have - = − The second part φ2 = (φ <sup>_int_</sup> 2 <sup>, φ</sup> <sup>_ext_</sup> 2 <sup>) ∈</sup> <sup>_H_</sup> <sup>1(Ω) ×</sup> <sup>_H_</sup> _loc_ <sup>1</sup> <sup>(Ω</sup> _c_ ) consequently fulfills −∆φ <sup>_int_</sup> 2 = 0 in Ω, ∆φ <sup>_ext_</sup> 2 = 0 in Ω _c_, �φ2� = 0 on ∂Ω, (4) - <u>∂φ2</u> - = − _m_ - _n_ + ∂φ <sup>_int_</sup> <u>1</u> on ∂Ω, ∂ _n_ ∂ _n_ −∆φ <sup>_ext_</sup> 2 <sup>_ext_</sup> 2 = 0 in Ω = − _m_ - _n_ + ∂φ <sup>_int_</sup> <u>1</u> <u>1</u> on ∂Ω, ∂ _n_ φ <sup>_ext_</sup> 2 <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>= O(</sup> ∥ <sup><u>1</u></sup> _x_ ∥ <sup>)</sup> as ∥ _x_ ∥→∞, with solution given by the _single layer potential_ φ2( _x_ ) = _g_ ( _y_ ) N( _x_ - _y_ ) dσ( _y_ ), (5) ∂Ω 3 with the _Newtonian potential_ N( _x_ ) = 4π1∥ _x_ ∥ <sup>and</sup> <sup>_g_</sup> <sup>(</sup> <sup>_y_</sup> <sup>) =</sup> <sup>_m_</sup> <sup>·</sup> <sup>_n_</sup> <sup>−</sup> ∂φ∂ _n_ <sup>_int_</sup> <u>1</u> <sup>.</sup> The advantage of this ansatz is twofold. Eqn. (3) is a _Poisson equation_ with _Dirichlet data_ and, therefore, its _Galerkin system_ after FE discretization is symmetric, positive definite and sparse, and only has to be solved for _free nodes_, i.e. _non-boundary nodes_, see Sec.2.1. As pointed out in [25], the single layer potential in eqn. (5) is continuous towards the boundary and less singular than the _double layer potential_ which arises in the _ansatz of Fredkin-Koehler_ and hence can be handled numerically more easily, also see Sec. 3.4. The potential (5) might be evaluated at boundary nodes, which provides the Dirichlet data for the Laplace equation in (4). Hence, an approximation of the solution φ <sup>_int_</sup> 2 <sup>to (4) can be determined by evaluation of</sup> the single layer potential at boundary nodes and subsequently solving a Dirichlet problem −∆φ <sup>_int_</sup> = 0. 2 In this connection, direct evaluation of the single layer potential at boundary nodes scales quadratically in the number of boundary nodes. Our intention, however, is to evaluate (5) on all nodes of a tetrahedral finite element (FE) mesh within a _P_ 1 finite element method by a _non-uniform Fourier_ approach, which yields the complexity O( _M_ + _N_ ), i.e. linear in the number of boundary elements and nodes of the mesh, respectively. Without any restrictions, our fast evaluation scheme could also be applied for the above mentioned calculation of the Dirichlet data for (4), followed by solving the arising Dirichlet Galerkin system to obtain an approximation of φ2 at the free nodes. We further stress, that our approach can also be adapted for the ansatz of Fredkin and Koehler, which, however, will not be further discussed in this work. 2.1 FEM for the Dirichlet problem For the sake of completeness, we briefly describe here the FEM for Dirichlet problems like (3). The variational formulation of (3) reads: Find the potential φ1 in the Sobolev space with zero-boundary conditions, i.e. φ1 ∈ _H_ 0 <sup>1(Ω</sup> in the Sobolev space with zero-boundary conditions, i.e. φ1 ∈ _H_ 0 <sup>1(Ω), such that</sup> - Ω Ω ∇φ1 · ∇ _v_ = _m_ - ∇ _v_ for all _v_ ∈ _H_ 0 <sup>1(Ω).</sup> (6) We discretize (6) on a tetrahedral mesh T with elements _T j_, _j_ = 1 . . . _M_ and nodes _x_ _i_, _i_ = 1 . . . _N_ and use affine basis functions ϕ <sup>(</sup> <sup>_T j_</sup> <sup>)</sup>, _i_ = 1 . . . 4 in each tetrahedron. The usual assembly process by local _i_ use affine basis functions ϕ <sup>(</sup> <sup>_T j_</sup> <sup>)</sup>, _i_ = 1 . . . 4 in each tetrahedron. The usual assembly process by local _i_ stiffness matrices and load vectors leads to a linear system of size _N_ × _N_, i.e. _Sx_ = _b_ . The _sti_ ff _ness_ _matrix_ _S_ then has the entries _akm_ = <sup>�</sup> <sup>_M_</sup> _j_ =1 - _T j_ <sup>∇η</sup> <sup>_m_</sup> <sup>· ∇η</sup> <sup>_k_</sup> <sup>,</sup> <sup>where</sup> <sup>η</sup> <sup>_k_</sup> <sup>,</sup> <sup>_k_</sup> <sup>=</sup> <sup>1 . . .</sup> <sup>_N_</sup> <sup>is</sup> <sup>the</sup> <sup>_nodal_</sup> <sup>_basis_</sup> <sup>(hat</sup> _matrix_ _S_ then has the entries _akm_ = <sup>�</sup> <sup>_M_</sup> _j_ =1 - _T j_ <sup>∇η</sup> <sup>_m_</sup> <sup>· ∇η</sup> <sup>_k_</sup> <sup>,</sup> <sup>where</sup> <sup>η</sup> <sup>_k_</sup> <sup>,</sup> <sup>_k_</sup> <sup>=</sup> <sup>1 . . .</sup> <sup>_N_</sup> <sup>is</sup> <sup>the</sup> <sup>_nodal_</sup> <sup>_basis_</sup> <sup>(hat</sup> functions) of the space of T -piecewise affine, globally continuous functions (a _N_ -dimensional subspace of the Sobolev space _H_ <sup>1</sup> (Ω)). Similar, the load vector has the entries _bk_ = <sup>�</sup> <sup>_M_</sup> _j_ =1 - _T j_ <sup>_m_</sup> <sup>· ∇η</sup> <sup>_k_</sup> <sup>,</sup> <sup>where</sup> <sup>_m_</sup> _j_ =1 of the Sobolev space _H_ <sup>1</sup> (Ω)). Similar, the load vector has the entries _bk_ = <sup>�</sup> <sup>_M_</sup> _j_ =1 - _T j_ <sup>_m_</sup> <sup>· ∇η</sup> <sup>_k_</sup> <sup>,</sup> <sup>where</sup> <sup>_m_</sup> itself is assumed to be a T -piecewise affine nodal interpolation. Note that due to the known values of the solution at the boundary nodes, in our case of φ1 already equal zero, every Dirichlet system can always be rewritten to a system with homogeneous boundary conditions. The nodal basis functions corresponding to free nodes (non-boundary nodes) form a basis of the space of T -piecewise affine, globally continuous functions that are zero at the boundary [a finite dimensional subspace of the Sobolev space _H_ 0 <sup>1(Ω)].</sup> <sup>Hence, we only have to solve a</sup> <sup>_subsystem_</sup> <sup>, i.e.</sup> _j_ =1 0 <sup>1(Ω)].</sup> <sup>Hence, we only have to solve a</sup> <sup>_subsystem_</sup> <sup>, i.e.</sup> _S_ ( _fn_, _fn_ ) _x_ ( _fn_ ) = _b_ ( _fn_ ) − ( _Sx_ _bn_ )( _fn_ ) =: <sup>�</sup> _b_ ( _fn_ ), (7) where _fn_ and _bn_ denote the _N f_ and _Nb_ indices of _free_ _nodes_ and _boundary_ _nodes_, respectively. The vector _x_ _bn_ is understood as the vector of Dirichlet data (in the case here discussed equal to zero, thus - _b_ ( _fn_ ) = _b_ ( _fn_ ) ) extended to length _N_ by zero-padding for indices of free nodes. For an easily readable Matlab implementation in the 2-dimensional case we refer to [30]. The resulting system is reduced to the size _N f_ × _N f_ and is symmetric, positive definite and sparse. The 4 solution gives the weights of the nodal basis functions at free nodes. In our numerical tests we solve it by using an ILU-preconditioned conjugate gradient (CG) method, but _algebraic multigrid preconditioned_ _CG_ or (onetime) _LU_ _decomposition_ with backward substitution and exploiting the sparsity, could be used, which makes the complexity for (3) linear in _N f_ . 2.2 The single layer potential While φ1 is determined in linear time by an ordinary FEM for Dirichlet problems, the direct evaluation of the single-layer potential, i.e. φ2( _x_ ) = ∂Ω _g_ ( _y_ ) N( _x_ - _y_ ) dσ( _y_ ), (8) at boundary nodes or all nodes of a FE mesh would cost O( _Nb_ <sup>2) or O(</sup> <sup>_NbN_</sup> <sup>) respectively, where</sup> <sup>_Nb_</sup> <sup>is the</sup> number of nodes on the boundary and _N_ the total number of nodes in the discretized domain Ω. In the following we will introduce an efficient evaluation technique of (5) based on Fourier approximation of the Newton kernel on an auxiliary tensor grid. Before we go into detail, we briefly state the main idea. Note that in our _P_ 1 FE ansatz the first term of the function _g_ = _m_ - _n_ ∂φ <sup>_int_</sup> Note that in our _P_ 1 FE ansatz the first term of the function _g_ = _m_ - _n_ - ∂ _n_ <u>1</u> <sup>is piecewise affine, where</sup> the second one is constant for each surface triangle. For _m_ - _n_ we take the _L_ <sup>2</sup> -orthogonal projection onto the space of element-wise constant functions by taking the integral mean over surface triangles, i.e. 1/| _S_ _j_ | - _S_ _j_ <sup>_m_</sup> <sup>·</sup> <sup>_n_</sup> <sup>.</sup> <sup>Thus eqn.</sup> <sup>(8) in its discretized form reads</sup> _S_ _j_ <sup>_m_</sup> <sup>·</sup> <sup>_n_</sup> <sup>.</sup> <sup>Thus eqn.</sup> <sup>(8) in its discretized form reads</sup> φ2( _x_ _i_ ) ≈ _M_ _j_ =1 _g_ _j_ _S_ _j_ N( _x_ _i_ - _y_ ) dσ( _y_ ), _i_ = 1 . . . _N_, (9) where the _S_ _j_ denote the _M_ surface triangles. Following the idea in [21], we split the kernel _N_ ( _x_ ) := N(∥ _x_ ∥) = 1/ _x_, _x_ := ∥ _x_ ∥ in a _singular_ and _smooth_ _part_ respectively, i.e. _N_ ( _x_ ) = <sup>�</sup> _N_ ( _x_ ) − _Ns_ ( _x_ ) - + _Ns_ ( _x_ ), (10) ������������������������ =: _N_ NF where _Ns_ (.) is some approximation of _N_ (.) on an interval [ϵ, β], β - ϵ - 0 (see Sec. 3.3), which is defined on the whole real axis and entirely smooth. _NNF_ (.), on the other hand, is a _’near field’ correc-_ _tion_ . We denote the corresponding multivariate functions by N _s_ (.) := _Ns_ (∥.∥) and N _NF_ (.) := _NNF_ (∥.∥), respectively. Our approximation scheme (9) gets the form φ2( _x_ _i_ ) ≈ _M_ _j_ =1 _M_ _j_ =1 _g_ _j_ _g_ _j_ NNF( _x_ _i_ - _y_ ) dσ( _y_ ) + _S_ _j_ _S_ _j_ N _s_ ( _x_ _i_ - _y_ ) dσ( _y_ ) =: φ <sup>NF</sup> 2 <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>) + φ</sup> 2 <sup>_s_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>).</sup> (11) The near field part φ <sup>NF</sup> only has to be computed for elements that have less or equal distance than ϵ to 2 the target point _x_ _i_, i.e. NNF has small support. For the (weakly) singular cases, i.e. _x_ _i_ ∈ _S_ _j_, we will use a simple integral transformation, see Sec. 3.4. The fast computation of the part φ2 <sup>_s_</sup> <sup>is achieved by approximation of the smooth kernel N</sup> <sup>_s_</sup> <sup>by a Fourier</sup> series: For the sake of simpler notation, we assume a scaled domain, i.e. Ω ⊂ (−1/4, 1/4) <sup>3</sup>, such that the arguments of N lie in T := { _x_ ∈ R <sup>3</sup> | −1/2 ≤ _c_ _x_ < _c_ 1/2}. 5 We approximate the smooth kernel N _s_ by its _Fourier series_ on T, where ≤ _c_ means component-wise ≤, i.e. N _s_ ( _x_ ) ≈F N _s_ := _l_ ∈ _I_ _n_ _c_ _l_ (N _s_ ) _e_ <sup>2πi</sup> <sup>_x_</sup> <sup>·</sup> <sup>_l_</sup>, (12) where _I_ _n_ := { _l_ ∈ Z <sup>3</sup> | - _n_ /2 ≤ _c_ _l_ ≤ _c_ _n_ /2 − 1} and the _Fourier coe_ ffi _cients_ N _s_ ( _x_ ) _e_ <sup>−2πi</sup> <sup>_x_</sup> <sup>·</sup> <sup>_l_</sup> d _x_ . (13) _c_ _l_ (N _s_ ) = T Inserting (12) into φ2 <sup>_s_</sup> <sup>in (11) and exchanging summation order yields</sup> _g_ _j_ _e_ <sup>−2πi</sup> <sup>_y_</sup> <sup>·</sup> <sup>_l_</sup> dσ( _y_ ) _l_ ∈ _I_ _n_ - _e_ <sup>2πi</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>·</sup> <sup>_l_</sup> = _d_ _l_ ���� := _c_ _l_ (N _s_ ) _b_ _l_ φ2 <sup>_s_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>) =</sup> _l_ ∈ _I_ _n_ ������������������������������������������������������ =: _b_ _l_ _c_ _l_ (N _s_ ) - - <sup>_M_</sup> _e_ <sup>2πi</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>·</sup> <sup>_l_</sup> . (14) _j_ =1 _S_ _j_ The latter sum is a _non-uniform_ _discrete_ _Fourier_ _transform_ (NDFT), which can be computed efficiently using FFT in O(| _I_ _n_ | log | _I_ _n_ | + _N_ ) operations by so-called _non-uniform_ _fast_ _Fourier_ _transform_ (NFFT), [18]. The efficient computation of the tensor B = ( _bl_ ) _l_ ∈ _I_ _n_ will be discussed in the next section. Overall, the approximation scheme for φ2 <sup>_s_</sup> <sup>has a similar form as the well known</sup> <sup>_convolution theorem_</sup> for equispaced data, i.e. φ2 <sup>_s_</sup> <sup>= NFFT</sup> �� _c_ _l_ (N _s_ )� _l_ ∈ _I_ _n_ <sup>⊙B</sup> �, (15) where ⊙ denotes element-wise multiplication and B is some generalization of an _adjoint non-uniform_ _discrete Fourier transform_ [28] to an ’integrated Fourier basis’, i.e. _S_ _j_ <sup>_e_</sup> <sup>−2πi</sup> <sup>_y_</sup> <sup>·</sup> <sup>_l_</sup> <sup>dσ(</sup> <sup>_y_</sup> <sup>).</sup> _S_ _j_ <sup>_e_</sup> <sup>−2πi</sup> <sup>_y_</sup> <sup>·</sup> <sup>_l_</sup> <sup>dσ(</sup> <sup>_y_</sup> <sup>).</sup> We started from the splitting N = N _NF_ + N _s_, where, due to the Fourier series approximation of N _s_, i.e. F N _s_, the splitting of N reads now N = (N −N _s_ ) + F N _s_ + (N _s_ −F N _s_ ). (16) We only take the approximation N ≈ (N −N _s_ ) + F N _s_ = N _NF_ + F N _s_, introducing the error N _s_ −F N _s_, which, however, can be controlled by the size of the tensor grid, i.e. _n_ = ( _n_ 1, _n_ 2, _n_ 3), and the near field ϵ, cf. definition of NNF in (10). Nevertheless, analysis of the error in connection with our choice for approximating N by a smooth function N _s_ in the far field region, see Sec. 3.3, will be given elsewhere. ### 3 Non-uniform FFT for the single layer potential For the computation of the tensor B with entries _b_ _l_ = <sup>�</sup> <sup>_M_</sup> _j_ =1 <sup>_g_</sup> <sup>_j_</sup> _S_ _j_ <sup>_e_</sup> <sup>−2πi</sup> <sup>_y_</sup> <sup>·</sup> <sup>_l_</sup> <sup>dσ(</sup> <sup>_y_</sup> <sup>)</sup> <sup>we</sup> <sup>go</sup> <sup>similar</sup> <sup>lines</sup> <sup>as</sup> for the efficient computation of the adjoint non-uniform discrete Fourier transform (NDFT <sup>_T_</sup> ) [28]. The essential step is a _gridding_ _procedure_ of the data ( _g_ _j_ ) _j_ =1... _M_ and FFT of the resulting tensor containing the ’smeared’ source strengths. Hereby, gridding is done by convoluting the data with localized functions, whereas this is undone in Fourier space. The result is a generalization of the discrete Fourier transform to non-equispaced data [29]. 6 First we introduce a well-localized univariate _window_ _function_ υ, e.g. a Gaussian function or KaiserBessel function, see Sec. 3.2 for more details, with a uniformly convergent Fourier series of its 1−periodic extension, i.e. �υ( _x_ ) := _r_ ∈Z υ( _x_ + _r_ ). (17) For 3 dimensions we simply take the _tensor product_ of the univariate functions to obtain a multivariate window function, i.e. Υ�( _x_ ) := 3 �υ( _x_ <sup>(</sup> <sup>_q_</sup> <sup>)</sup> ). (18) _q_ =1 For ease of computation, we further introduce the truncated version of Υ <sup>�</sup> with some _cut-o_ ff _parameter_ _m_ ≪ min _q_ =1...3 _nq_, _m_ ∈ N, _n_ = ( _n_ 1, _n_ 2, _n_ 3), i.e. Ψ�( _x_ ) := 3 _q_ =1 �υ( _x_ <sup>(</sup> <sup>_q_</sup> <sup>)</sup> ) χ[− _nq_ <sup>_<u>m</u>_</sup> <sup>,</sup> _nq_ <sup>_<u>m</u>_</sup> <sup>](</sup> <sup>_x_</sup> <sup>(</sup> <sup>_q_</sup> <sup>)),</sup> (19) where χ is the indicator function <sup>2</sup> . We then compute an auxiliary tensor A = ( _a_ _r_ ) _r_ ∈ _I_ α _n_, where α > 1 is an _over-sampling factor_, i.e. _a_ _r_ := _M_ _j_ =1 _g_ _j_ _S_ _j_ Ψ�( _r_ ⊙ (α _n_ ) <sup>−1</sup> - _y_ ) dσ( _y_ ), (20) where ⊙ denotes element-wise multiplication and (α _n_ ) <sup>−1</sup> is meant component-wise and corresponds to the mesh size of the auxiliary tensor grid, see Fig. 1. Formula (20) can be seen as _gridding_ of the source strengths _g_ _j_ on an auxiliary tensor grid of size | _I_ α _n_ |. The desired tensor B = ( _b_ _l_ ) _l_ ∈ _I_ _n_ in (14) can be computed by the Fourier transform of A. More precisely, we define a function _f_ according to the definition of A by _f_ ( _x_ ) := _M_ _j_ =1 _g_ _j_ _S_ _j_ Υ�( _x_ - _y_ ) dσ( _y_ ). (21) By expressing the Fourier coefficients of _f_ in two different ways, we will end up with a simple formula for computing the tensor B. First we approximate the Fourier coefficients of _f_ (cf. (21)) by the trapezoidal rule for _l_ ∈ _I_ _n_ and Υ <sup>�</sup> by the truncated version Ψ <sup>�</sup> in (19), i.e. _g_ _j_ Ψ�( _r_ ⊙ (α _n_ ) <sup>−1</sup> - _y_ ) dσ( _y_ ) _r_ ∈ _I_ α _n_ _j_ =1 - _e_ <sup>−2πi(</sup> <sup>_r_</sup> <sup>⊙(α</sup> <sup>_n_</sup> <sup>)−1)·</sup> <sup>_l_</sup>, (22) - - <sup>_M_</sup> ���������������������������������������������������������������������������������������� = _a_ _r_ _c_ _l_ ( _f_ ) = T _f_ ( _x_ ) _e_ <sup>−2πi</sup> <sup>_x_</sup> <sup>·</sup> <sup>_l_</sup> d _x_ ≈ <u>1</u> | _I_ α _n_ | _S_ _j_ which can be computed by a multivariate FFT of the tensor A. On the other hand, we also obtain an approximation of _c_ _l_ ( _f_ ) by inserting the truncated Fourier series of Υ <sup>�</sup>, i.e. 2χ[ _a_, _b_ ]( _x_ ) = 1 for _x_ in [ _a_, _b_ ] and 0 else. Υ�( _x_ ) ≈ _c_ _l_ (Υ <sup>�</sup> ) _e_ <sup>2πi</sup> <sup>_x_</sup> <sup>·</sup> <sup>_l_</sup>, (23) _l_ ∈ _I_ _n_ 7 into the expression for the function _f_, i.e. _g_ _j c_ _l_ (Υ <sup>�</sup> ) _e_ <sup>−2πi</sup> <sup>_y_</sup> <sup>·</sup> <sup>_l_</sup> dσ( _y_ ) - - <sup>_M_</sup> ������������������������������������������������������ = _b_ _l_ _f_ ( _x_ ) ≈ = _l_ ∈ _I_ _n_ _l_ ∈ _I_ _n_ - _c_ _l_ (Υ <sup>�</sup> ) _j_ =1 _S_ _j_ ���������������������������������������������������������������������� = _c_ _l_ ( _f_ ) _g_ _j_ _e_ <sup>−2πi</sup> <sup>_y_</sup> <sup>·</sup> <sup>_l_</sup> dσ( _y_ ) - _e_ <sup>2πi</sup> <sup>_x_</sup> <sup>·</sup> <sup>_l_</sup> (24) - _e_ <sup>2πi</sup> <sup>_x_</sup> <sup>·</sup> <sup>_l_</sup> . (25) _M_ _j_ =1 _S_ _j_ Thus, we have the relation ( _l_ ∈ _I_ _n_ ) _b_ _l_ = _c_ _l_ ( _f_ )/ _c_ _l_ (Υ <sup>�</sup> ). (26) Overall the computation of B consists of computing the coefficients _c_ _l_ ( _f_ ) in (22) by a multivariate FFT of the gridding tensor A, followed by element-wise division by the precomputed coefficients _c_ _l_ (Υ <sup>�</sup> ). We therefore conclude that these two steps together scale O(| _I_ α _n_ | log(| _I_ α _n_ |) + | _I_ _n_ |). As will be shown in the next section, the computation of the gridding tensor A can be done linearly in the number of surface elements, i.e. O( _M_ ). Hence, in total, computing B scales O <sup>�</sup> _M_ + | _I_ α _n_ | log(| _I_ α _n_ |) <sup>�</sup> . We stress that, alternatively to the above procedure for computing the tensor B, we also could have directly transformed the expression into a discrete sum by using quadrature, i.e _Q_ _k_ =1 _Q j_ - ω _j_, _sg_ _j e_ <sup>−2πi</sup> <sup>_y_</sup> <sup>_j_</sup> <sup>,</sup> <sup>_s_</sup> <sup>·</sup> <sup>_l_</sup> ≡ _s_ =1 _e_ <sup>−2πi</sup> <sup>_y_</sup> <sup>·</sup> <sup>_l_</sup> dσ( _y_ ) ≈ _M_ _j_ =1 ω� _k e_ <sup>−2πi</sup> <sup>_y_</sup> <sup>_k_</sup> <sup>·</sup> <sup>_l_</sup>, (27) _b_ _l_ = _M_ _j_ =1 _g_ _j_ _S_ _j_ where _k_ is a long index, e.g. _k_ = _j_ + ( _s_ - 1) _M_ . Eqn. (27) could then be computed by a standard adjoint NFFT [18] in O <sup>�</sup> _Q_ +| _I_ α _n_ | log(| _I_ α _n_ |) <sup>�</sup>, _Q_ := <sup>�</sup> <sup>_M_</sup> _j_ =1 <sup>_Q j_</sup> <sup>operations, also compare with [19]. Since the number</sup> of quadrature points _Q_ might be very large, this approach is rather impractical. For that reason, we use eqn. (26) for the computation of the coefficients _b_ _l_, where we can precompute the integrals in a setup phase of a micromagnetic simulation, compare with Alg. 1. However, at least it gives us a direct analogy to the standard adjoint NFFT. In particular, the choice of window functions can be justified, since basically the same error estimates with respect to the cut-off parameter _m_ and over-sampling factor α hold for our method, see Sec. 3.2. 3.1 Computation of the gridding tensor We take a closer look at the computation of the tensor A (compare with (20)), i.e. Ψ�( _r_ ⊙ (α _n_ ) <sup>−1</sup> - _y_ ) dσ( _y_ ). (28) _a_ _r_ = _M_ _j_ =1 _g_ _j_ _S_ _j_ The aim is to compute (28) through sparse summation by exploiting the locality of the function Ψ <sup>�</sup> . We further assume the domain scaled into the hypercube (−1/4, 1/4) <sup>3</sup>, hence we also have Ω ⊂ T. A triangle of the surface mesh is given as _S_ _j_ ≡{ _y_ 0, _j_, . . ., _y_ 2, _j_, _y_ _k_, _j_ - _y_ _l_, _j_, for _k_ - _l_ } where _y_ ∈ _S_ _j_ ⇔∃ ξ1, ξ2 ∈ ∆0 : _y_ = _y_ 0, _j_ + ξ1( _y_ 1, _j_ - _y_ 0, _j_ ) + ξ2( _y_ 2, _j_ - _y_ 0, _j_ ), (29) where ∆0 denotes the unit triangle in 2d. In order to achieve linear complexity in _M_ we define a subset of _I_ α _n_ for each surface element _S_ _j_ that 8 ensures that _r_ ⊙ (α _n_ ) <sup>−1</sup> - _y_ in (28) lies in the hypercube <sup>�3</sup> _q_ _q_ <sup>−1,</sup> <sup>_mn_</sup> <sup>−</sup> _q_ <sup>1</sup> <sup>−</sup> _q_ <sup>1], i.e.</sup> <sup>3</sup> _q_ =1 <sup>[−</sup> <sup>_mn_</sup> _q_ <sup>−1</sup> _I_ α _n_, _m_ ( _S_ _j_ ) := { _l_ ∈ _I_ α _n_ | − _m_ _n_ <sup>−1</sup> ≤ _c_ (α _n_ ) <sup>−1</sup> ⊙ _l_ - _y_ ≤ _c_ _m_ _n_ <sup>−1</sup>, _y_ ∈ _S_ _j_ } (30) = { _l_ ∈ _I_ α _n_ | _y_ ⊙ α _n_ - _m_ 1 ≤ _c_ _l_ ≤ _c_ _y_ ⊙ α _n_ + _m_ 1, _y_ ∈ _S_ _j_ }. (31) We denote the _q_ −th component of (30) by _I_ α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup>, _m_ <sup>(</sup> <sup>_S_</sup> _j_ <sup>),</sup> <sup>where</sup> <sup>we</sup> <sup>take</sup> <sup>the</sup> <sup>_q_</sup> <sup>−th</sup> <sup>components</sup> <sup>of</sup> <sup>the</sup> vector expressions in the definition. For the sake of computation we rewrite _I_ α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup> α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup>, _m_ <sup>(</sup> <sup>_S_</sup> _j_ <sup>) = {</sup> <sup>_l_</sup> _q_ <sup>∈</sup> <sup>_I_</sup> α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup> α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup> <sup>| α</sup> <sup>_n_</sup> _q_ <sup>min</sup> _y_ ∈ _S_ _j_ <sup>min</sup> _y_ ∈ _S_ _j_ <sup>_y_</sup> <sup>(</sup> <sup>_q_</sup> <sup>) −</sup> <sup>_m_</sup> <sup>≤</sup> <sup>_lq_</sup> <sup>≤</sup> <sup>α</sup> <sup>_nq_</sup> <sup>max</sup> _y_ ∈ _S_ _j_ (32) <sup>max</sup> _y_ ∈ _S_ _j_ <sup>_y_</sup> <sup>(</sup> <sup>_q_</sup> <sup>) +</sup> <sup>_m_</sup> <sup>}.</sup> From (29) it is easily seen that for the expressions _y_ min <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> min <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> <sup>:=</sup> <sup>min</sup> <sup>_y_</sup> <sup>∈</sup> <sup>_S_</sup> <sup>_j y_</sup> <sup>(</sup> <sup>_q_</sup> <sup>)</sup> <sup>and</sup> <sup>_y_</sup> <sup>(</sup> max <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> From (29) it is easily seen that for the expressions _y_ min <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> <sup>:=</sup> <sup>min</sup> <sup>_y_</sup> <sup>∈</sup> <sup>_S_</sup> <sup>_j y_</sup> <sup>(</sup> <sup>_q_</sup> <sup>)</sup> <sup>and</sup> <sup>_y_</sup> <sup>(</sup> max <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> <sup>:=</sup> <sup>max</sup> _y_ ∈ _S_ _j_ <sup>_y_</sup> <sup>(</sup> <sup>_q_</sup> <sup>)</sup> <sup>in (32)</sup> simply holds _y_ <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> min (33) _k_ <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> min <sup>=</sup> <sup>min</sup> _k_ =0,1, _y_ max <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> <sup>min</sup> _k_ _k_ =0,1,2 <sup>_y_</sup> <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> <sup>max</sup> _k_ _k_ =0,1,2 <sup>_y_</sup> <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> max <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> <sup>=</sup> <sup>max</sup> _k_ =0,1, . (34) _k_ <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup>, _m_ <sup>(</sup> <sup>_S_</sup> _j_ <sup>)|</sup> <sup>≤</sup> <sup>2</sup> <sup>_m_</sup> <sup>+ 1 + α</sup> <sup>_n_</sup> _q_ <sup>max</sup> _j_ =1... _M_ <sup>|</sup> <sup>_y_</sup> max <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> Due to our assumption Ω ⊂ T, we have | _I_ α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup> max <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> <sup>−</sup> <sup>_y_</sup> min <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> Due to our assumption Ω ⊂ T, we have | _I_ α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup>, _m_ <sup>(</sup> <sup>_S_</sup> _j_ <sup>)|</sup> <sup>≤</sup> <sup>2</sup> <sup>_m_</sup> <sup>+ 1 + α</sup> <sup>_n_</sup> _q_ <sup>max</sup> _j_ =1... _M_ <sup>|</sup> <sup>_y_</sup> max <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> <sup>−</sup> <sup>_y_</sup> min <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> <sup>|</sup> <sup>=:</sup> <sup>_m_</sup> <sup>�</sup> <sup>_q_</sup> <sup>and</sup> | _I_ α _n_, _m_ ( _S_ _j_ )| ≤ <sup>�3</sup> α _n_, _m_ <sup>(</sup> <sup>_S_</sup> _j_ <sup>).</sup> _q_ =1 <sup>_m_</sup> <sup>�</sup> <sup>_q_</sup> <sup>=: µ.</sup> <sup>Fig. 1 shows the index set</sup> <sup>_I_</sup> <sup>(</sup> <sup>_q_</sup> <sup>)</sup> <sup>3</sup> α _n_ _q_ =1 <sup>_m_</sup> <sup>�</sup> <sup>_q_</sup> <sup>=: µ.</sup> <sup>Fig. 1 shows the index set</sup> <sup>_I_</sup> <sup>(</sup> <sup>_q_</sup> <sup>)</sup> α _n_, _m_ <sup>(</sup> <sup>_S_</sup> _j_ <sup>).</sup> <sup>(</sup> <sup>_q_</sup> <sup>)</sup> The tensor A in (28) is now computed by only using the index sets _I_ α _n_, _m_ ( _S_ _j_ ) in O(µ _M_ ) operations: Figure 1: The _q_ -th component of the index set _I_ α _n_, _m_ ( _S_ _j_ ) (filled dots). _q_ denotes the space direction, _S_ _j_ is one surface triangle, _n_ = ( _n_ 1, _n_ 2, _n_ 3) the size of the tensor grid, α the over-sampling factor, _m_ the cut-off parameter. _y_ <sup>(</sup> <sup>_q_</sup> <sup>),</sup> <sup>_j_</sup> min/max <sup>is</sup> <sup>the</sup> <sup>left</sup> <sup>and</sup> <sup>right</sup> <sup>most</sup> <sup>corner</sup> <sup>of</sup> <sup>the</sup> <sup>triangle,</sup> <sup>respectively.</sup> <sup>1/(α</sup> <sup>_nq_</sup> <sup>)</sup> <sup>is</sup> <sup>the</sup> <sup>mesh</sup> size of the grid in the _q_ -th direction. - Initialize A with zeros - For _j_ = 1 . . . _M_ calculate the vector - _g_ _j_ _S_ _j_ <sup>Ψ�(</sup> <sup>_l_</sup> <sup>⊙</sup> <sup>_n_</sup> <sup>−1 −</sup> <sup>_y_</sup> <sup>) dσ(</sup> <sup>_y_</sup> <sup>)</sup> _l_ ∈ _I_ α _n_, _m_ ( _S_ _j_ ) <sup>of length at most µ and</sup> add the corresponding components to A. 9 <u># surface elements</u> _<u>m</u>_ <u>full (mb)</u> <u>compressed (mb)</u> <u>1.3e3</u> <u>5</u> <u>48</u> <u>14</u> <u>2.6e3</u> <u>5</u> <u>77</u> <u>20</u> <u>1.3e3</u> <u>6</u> <u>73</u> <u>15</u> <u>2.6e3</u> <u>6</u> <u>120</u> <u>21</u> Table 1: Compression of _A_ from surface mesh of a sphere by the Tensor Train format with accuracy 1e-8 measured in the relative Frobenius norm. _nq_ ≡ 72, α = 2. Here, the integrals are precomputed, since they only depend on the given mesh. We may store the sparse matrix _j_ =1... _M_, _l_ ∈ _I_ α _n_, _m_ ( _S_ _j_ ) <sup>.</sup> (35) _A_ := - <sup>�</sup> _S_ _j_ Ψ�( _l_ ⊙ _n_ <sup>−1</sup> - _y_ ) dσ( _y_ )� Nevertheless, since the integrals of (35) are smooth functions in the parameter _l_, we can think of tensor compression for the rows, i.e. _A_ ( _j_, :) ∈ �3 _q_ =1 <sup>R</sup> <sup>_I_</sup> α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup>, _m_ <sup>(</sup> <sup>_S_</sup> _j_ <sup>)</sup>, reducing the storage to µ <sup>′</sup> _M_ for µ <sup>′</sup> < µ depend compression for the rows, i.e. _A_ ( _j_, :) ∈ �3 _q_ =1 <sup>R</sup> <sup>_I_</sup> α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup>, _m_ <sup>(</sup> <sup>_S_</sup> _j_ <sup>)</sup>, reducing the storage to µ <sup>′</sup> _M_ for µ <sup>′</sup> < µ depend ing on the tensor format and the accuracy. Tab. 1 shows examples for compression rates using tensor train (TT) approximation [31]. �3 _q_ =1 <sup>R</sup> <sup>_I_</sup> α <sup>(</sup> <sup>_q_</sup> _n_ <sup>)</sup> 3.2 Window functions In [32, 33] it was shown that, in the case of _Gaussian, Sinc, cardinal B-splines_ or _Kaiser-Bessel_ window functions, the error for (adjoint) NFFT decays exponentially in the cut-off parameter _m_ . Hereby, Kaiser-Bessel functions have the fastest decaying error bound. For _n_ ∈ 2N we define the univariate Kaiser-Bessel function <u>sinh(</u> _<u>b</u>_ <sup>√</sup> π <sup>~~√~~</sup> <u>(α</u> _<u>n</u>_ <u>)</u> <sup>2</sup> _<u>x</u>_ <sup>2</sup> - _<u>m</u>_ <sup>2</sup> <u>)</u> , else, (α _n_ ) <sup>2</sup> _x_ <sup>2</sup> - _m_ <sup>2</sup> _<u>m</u>_ <sup>2</sup> −(α _<u>n</u>_ <u>)</u> <sup>2</sup> _<u>x</u>_ <sup>2</sup> <u>)</u> , | _x_ | ≤ <sup>_<u>m</u>_</sup> α _n_ _m_ <sup>2</sup> −(α _n_ ) <sup>2</sup> _x_ <sup>2</sup> π <sup>~~√~~</sup> _<u>m</u>_ <sup>2</sup> −(α _<u>n</u>_ <u>)</u> <sup>2</sup> _<u>x</u>_ <sup>2</sup> <u>)</u> υ( _x_ ) :=  <u>sin(</u> _<u>b</u>_ <sup>~~√~~</sup> <u>(</u> α _n_ −(α _n_ ) <sup>2</sup> _x_ <sup>2</sup> π _<u>b</u>_ <sup>,</sup> | _x_ | = α <sup>_<u>m</u>_</sup> _n_ α _n_ <u>(α</u> _<u>n</u>_ <u>)</u> <sup>2</sup> _<u>x</u>_ <sup>2</sup> - _<u>m</u>_ <sup>2</sup> <u>)</u> where _b_ := π(2 − 1/α). The Fourier coefficients are given by 2 <sup><u>1</u></sup> α <sup>)</sup> ~~�~~ _b_ <sup>2</sup> - ( <sup><u>2</u></sup> α <sup><u>π</u></sup> _n_ <sup>_<u>k</u>_</sup> <sup><u>2</u></sup> α <sup><u>π</u></sup> _n_ <sup>_<u>k</u>_</sup> <sup>)2),</sup> | _k_ | ≤ α _n_ (1 − 2 <sup><u>1</u></sup> (36) (37) _c_ (υ)( _k_ ) =  α1 _n_ <sup>_I_</sup> <sup>0(</sup> <sup>_m_</sup> 0, else, where _I_ 0 is the _modified zero order Bessel-function of the first kind_ . For the univariate setting a bound for the relative error produced by NFFT with Kaiser-Bessel functions is [33] _C_ (α, _m_ ) = 4π( <sup>√</sup> _m_ + _m_ )(1 − 1/α) <sup>1/4</sup> exp(−2π _m_ 1 − 1/α), (38) which already indicates small errors for _m_ about 4 and α = 2, see Fig. 2. Note that this error bound is independent of _n_ and _M_ . The error decays exponentially with increasing _m_, but not with increasing α. Therefore, we fix α = 2 throughout the paper and control the error by choosing the cut-off _m_ appropriately. Since our method for computing B is mathematically equivalent to a NFFT if just accurate enough quadrature is used [compare with (27)], we compare with the theoretical error bound (38) for standard NFFT. In this context, also note that the computation of B is stable regarding round off errors [33]. Fig.2 shows the cut-off parameter _m_ versus the relative error in the maximum-norm, i.e. max _l_ |B Bexact|/ max _l_ |Bexact|, for a triangular mesh of the surface of a sphere, randomly chosen values _g_ _j_ ∈ [−1, 1] and α = 2. 10 -4 10 -6 10 -8 10 -10 10 -12 10 -14 10 computed theoretical 2 3 4 5 6 7 8 9 m Figure 2: Relative error for the computation of B using Kaiser-Bessel functions, as defined in (36), on a triangular mesh ( _M_ ∼ 3 _e_ 2) of the surface of a sphere and randomly chosen values _g_ _j_ ∈ [−1, 1], α = 2 and _nq_ ≡ 32, _q_ = 1 . . . 3. 3.3 Kernel approximation We now turn to the approximation of the Newtonian kernel N in a region [ϵ, β], β - ϵ - 0, where we set β = 1/2 due to our scaling convention Ω ⊂ (−1/4, 1/4) <sup>3</sup> . As described in [34] the kernel _N_ ( _x_ ) = 1/| _x_ | can be approximated by exponential sums in an interval [1, _R_ ], i.e. - _S_ _k_ =1 ω _k Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>),</sup> (39) ω _k Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _N_ ( _x_ ) ≈ _Ns_ ( _x_ ) := - _S_ _k_ =1 ω _ke_ <sup>−γ</sup> <sup>_k_</sup> <sup>_x_</sup> <sup>2</sup> ≡ where the weights ω _k_ and nodes γ _k_ were computed for several configurations of the parameters _R_, _S_ and uniform absolute error bound _err_ . A simple transformation of the weights and nodes yields a corresponding approximation on the desired interval [ϵ, 1/2], i.e. ωtrans = ω/ _h_ min (40) γtrans = γ/ _h_ <sup>2</sup> min (41) _err_ trans = _err_ / _h_ min, (42) where _h_ min := 1/(2 √ where _h_ min := 1/(2 _R_ ). For our numerical tests we choose the computed values for 1/ <sup>~~√~~</sup> _x_ with _S_ = 21 and _R_ = 7 _e_ 4 from [35] , yielding a uniform error of 5.79 _e_ - 06 in [1.89 _e_ - 03, 5.00 _e_ - 01]. Depending on the actual near field ϵ we truncate the expansion (39), taking only _S_ <sup>′</sup> ≤ _S_ terms, in order to have an accurate approximation only in the sub-interval [ϵ, 1/2]. Fig. 3 shows the smooth approximation _Ns_ (.) for different number of terms in the expansion (39). Note that N _s_ and hence its Fourier transform are both sums of separable functions, i.e. _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 2 <sup>)</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 3 <sup>)</sup> (43) N _s_ ( _x_ ) = F N _s_ ( _r_ ) = _S_ <sup>′</sup> _k_ =1 _S_ <sup>′</sup> _k_ =1 ω _k Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ω _k_ F _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 1 <sup>)</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_r_</sup> 1 <sup>) F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_r_</sup> 2 <sup>) F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_r_</sup> 3 <sup>).</sup> (44) 11 102 101 S = 8 S = 6 S = 4 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 x Figure 3: Approximation of _N_ ( _x_ ) = 1/| _x_ | by exponential sums. This fact allows us to store only _S_ <sup>′ �3</sup> _q_ <sup>3</sup> _q_ =1 <sup>_nq_</sup> <sup>complex numbers,</sup> <sup>instead of �3</sup> _q_ This fact allows us to store only _S_ <sup>′ �3</sup> _q_ =1 <sup>_nq_</sup> <sup>complex numbers,</sup> <sup>instead of �3</sup> _q_ =1 <sup>_nq_</sup> <sup>for all Fourier coef-</sup> ficients of the multivariate function N _s_ . However, additional O( _S_ <sup>′</sup> ) operations have to be performed on runtime to calculate one coefficient from its factorized representation. 3.4 Near field correction The near field correction is determined by (cf. (11)) φ2 <sup>_NF_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>) ≈</sup> _M_ _j_ =1 _g_ _j_ _S_ _j_ NNF( _x_ _i_ - _y_ ) dσ( _y_ ). (45) Since NNF has small support, (45) only has to be computed for surface elements that have less or equal distance than ϵ to the target point _x_ _i_, i.e. for summation we only use the _index sets_ _I_ NFϵ ( _x_ _i_ ) := { _j_ ∈{1, . . ., _M_ } | d( _x_ _i_, _S_ _j_ ) ≤ ϵ}. (46) It is easily seen that _N_ _i_ =1 _I_ NFϵ ( _x_ _i_ ) × _i_ = _M_ _j_ =1 _j_ × _I_ NFϵ ( _S_ _j_ ), (47) where _I_ NFϵ ( _S_ _j_ ) := { _i_ ∈{1, . . ., _N_ } | d( _x_ _i_, _S_ _j_ ) ≤ ϵ}. (48) Using this relation we can sum up (45) in a similar way like the gridding tensor in O( _M_ ) operations, cf. Sec.3.1, i.e. - Initialize φ <sup>_NF_</sup> with zeros 2 - For _j_ = 1 . . . _M_ calculate the vector - _g_ _j_ components to φ2 <sup>_NF_</sup> <sup>.</sup> _i_ ∈ _I_ NFϵ ( _S_ _j_ ) <sup>and add the corresponding</sup> _S_ _j_ <sup>NNF(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>−</sup> <sup>_y_</sup> <sup>) dσ(</sup> <sup>_y_</sup> <sup>)</sup> 12 The integrals are again precomputed and stored in a sparse matrix. For reasonably uniform distribution of nodes nearby the boundary, we may assume that ν := max | _I_ NFϵ ( _S_ _j_ )| is much smaller than _N_ . The complexity of the calculation of φ <sup>_NF_</sup> is therefore at most O(ν _M_ ). 2 For the (weakly) singular cases in (45), i.e. _x_ _i_ ∈ _S_ _j_, we use the following substitutions. Assume _S_ _j_ has the vertices _x_ 1, _x_ 2 and _x_ 3 and we want to evaluate at _x_ 2. We parameterize _S_ _j_ by _p_ : ∆0 → R <sup>3</sup>, ( _s_, _t_ ) �→ _x_ 2 + _s_ ( _x_ 1 − _x_ 2) + _t_ ( _x_ 3 − _x_ 1), (49) where ∆0 is the unit triangle in the plane. After the substitution _s_ → _s_ and _t_ → _st_ with Jacobian determinant | _J_ | = _s_ the integration domain gets the unit square in the plane and the integral gets nonsingular. We then treat it by tensor product Gaussian quadrature. For more information we refer to [36]. ### 4 Numerics The tests were taken on a Linux Workstation with a hexa-core AMD Phenom II X6 1090T processor and 16 GB RAM. We used Matlab 7.13.0 and the C library NFFT 3 [18]. Alg. 1 shows a pseudo-code of the described method for solving problem (1) by the ansatz (3) and (4) using our proposed fast evaluation scheme for the single layer potential. Whereby, we divide the total algorithm into a setup and a computation phase. In any micromagnetic solver the computation phase is part of the effective field evaluation, which has to be done at every step of the iterative solution procedure. The setup phase only depends on the geometry of the problem and thus has to be done only once for a given problem. In the following, we show that the computational effort for the computation phase scales linearly with the problem size. In Alg. 1 for computing the magnetic scalar potential the first step of the computation phase is the solution of a Dirichlet problem for φ1. Since the problem is sparse and the LU decomposition is done in a setup phase the complexity is linear. The numerical experiments in this section also show linear complexity for the computation of φ2. We first tested our method for computing the single layer potential for a cube. Fig. 4 shows the cputimes in seconds of the different parts of our algorithm for randomly chosen values _g_ _j_ ∈ [−1, 1]. The parts _gridding_ and ff _t_ correspond to the computation of the tensor B, compare with (26), where times for the element-wise division with the precomputed Fourier coefficients of the window function were included in the times for the FFT. We do not give the times for the element-wise multiplication of the Fourier coefficients of N _s_ and B, since they are negligible. For the NFFT we used the C library NFFT 3. We set _m_ = 5 and α = 2, both, in our gridding method as well as in the NFFT and used _nq_ ≡ 48 for this tests. Further we have chosen ϵ such that ν in the complexity of the near field correction was below 3e2. <sup>3</sup> One can observe linear complexity of all parts except the ff _t_ that is constant for constant _nq_ . Note that the NFFT is linear in the number of nodes of the mesh. Next we compare our method for the case of uniform magnetization, i.e. _m_ = (0, 0, 1) <sup>_T_</sup>, _Ms_ = 1, in a sphere with radius _R_ and center at zero, where the exact solution is given as [ _x_ = ( _x_ <sup>(1)</sup>, _x_ <sup>(2)</sup>, _x_ <sup>(3)</sup> )] φ <sup>_int_</sup> ( _x_ ) = <sup>_<u>x</u>_</sup> <sup>(3)</sup> (50) 3 <sup>,</sup> φ <sup>_ext_</sup> ( _x_ ) = _R_ <sup>3</sup> 3 ∥ <sup>_<u>x</u>_</sup> <sup>(3)</sup> _x_ ∥ <sup>3</sup> <sup>,</sup> (51) which can easily be verified by inserting into (1). We took the same parameters as in the first experiment. Fig. 5 shows number of nodes versus the maximum of the point-wise absolute error at the nodes of the mesh, i.e. _l_ ∞-error, of the computed solution in Ω compared to the analytical value. One observes linear error decay. We remark that φ <sup>_int_</sup> 1 <sup>≡</sup> <sup>0 [compare with (3)], since ∇·</sup> <sup>_m_</sup> <sup>≡</sup> <sup>0 in Ω.</sup> <sup>Hence, this example only tests the</sup> 3This results in ϵ ranging from 0.2 to 0.08, where the cube is scaled into [−0.2, 0.2]3. 13 <u>Algorithm 1</u> <u>Scalar potential</u> Require: _m_ ∈ <sup><u>�</u></sup> _H_ <sup>1</sup> (Ω) <sup><u>�3</u></sup>, mesh T of Ω ⊂ (−1/4, 1/4) <sup>3</sup> ⊂ T, _n_ ∈ 2N <sup>3</sup>, ϵ - 0, _m_ ∈ N, α ∈ N, α ≥ 2 Ensure: φ <sup>_int_</sup> ∈ _H_ <sup>1</sup> (Ω) Setup - Compute the LU decomposition of the stiffness matrix and the linear operator for the RHS, cf. Sec. 2.1 - Compute the matrix _A_ from (35), cf. Sec. 3.1 - Compute the Fourier coefficients of the window functions from (37), cf. Sec. 3.2 - Compute the Fourier coefficients of the Kernel approximation, i.e. <sup>�</sup> _c_ _l_ (N _s_ ) <sup>�</sup> _l_ ∈ _I_ _n_ <sup>, cf.</sup> <sup>Sec. 3.3</sup> - Compute the integrals of the near field correction, cf. Sec. 3.4 Actual computation - Solve the linear system (7) for φ <sup>_int_</sup> 1 - Compute φ2 <sup>_s_</sup> <sup>:</sup> – Compute the tensor A in (28) – Compute the multivariate FFT of the tensor A, cf. (22) – Compute the tensor B by formula (26) – Compute D := <sup>�</sup> _c_ _l_ (N _s_ ) <sup>�</sup> _l_ ∈ _I_ _n_ <sup>⊙B</sup> – Compute D := <sup>�</sup> _c_ _l_ (N _s_ ) <sup>�</sup> _l_ ∈ _I_ _n_ <sup>⊙B</sup> – Compute the NFFT of D to obtain φ2 <sup>_s_</sup> 2 <sup>_s_</sup> <sup>, cf.</sup> <sup>(15)</sup> - Compute φ <sup>_NF_</sup> as described in Sec. 3.4 2 φ <sup>_int_</sup> 2 <sup>←</sup> <sup>φ</sup> 2 <sup>_s_</sup> <sup>+ φ</sup> 2 <sup>_NF_</sup> φ <sup>_int_</sup> ← φ <sup>_int_</sup> 1 <sup>+ φ</sup> 2 <sup>_int_</sup> φ <sup>_int_</sup> 2 <sup>_int_</sup> 1 <sup>+ φ</sup> 2 <sup>_int_</sup> 0.4 0.35 0.3 0.25 0.2 0.15 0.1 0.05 total gridding nfft fft <u>near field</u> 0 0 1000 2000 3000 4000 5000 6000 7000 # surface elements Figure 4: Cpu-times (sec) versus number of surface elements for the calculation of the single-layer potential in a cube. _nq_ ≡ 48, α = 2 and _m_ = 5. 14 -2 10 -3 10 abs. error <u>1/#nodes</u> -4 10 3e2 5e2 1e3 2e3 # nodes Figure 5: Maximum of the absolute error for uniform magnetization in a sphere with radius 0.2 and center at zero. <u># elements</u> <u># nodes</u> <u>∥.∥</u> _<u>L</u>_ 2(Ω) <u>|.|</u> _<u>H</u>_ 1(Ω) <u>∥.∥</u> _<u>H</u>_ 1(Ω) <u>3058</u> <u>678</u> <u>1.0e-3</u> <u>9.9e-3</u> <u>1.0e-2</u> <u>7188</u> <u>1490</u> <u>8.9e-4</u> <u>7.7e-3</u> <u>7.7e-3</u> <u>14169</u> <u>2232</u> <u>7.2e-4</u> <u>3.0e-3</u> <u>3.1e-3</u> Table 2: Errors for magnetization _m_ ( _x_ ) = _x_ / ∥ _x_ ∥ in a sphere with radius 0.2 and center at zero measured in the _L_ <sup>2</sup> (Ω)-norm, _H_ <sup>1</sup> (Ω)-semi-norm and _H_ <sup>1</sup> (Ω)-norm. computation of φ2, cf. (4). In order to include the computation of φ1 in our tests, we take the example _m_ ( _x_ ) = _x_ / ∥ _x_ ∥ in a sphere with radius _R_ and center at zero with exact solution φ <sup>_int_</sup> ( _x_ ) = ∥ _x_ ∥− _R_, (52) φ <sup>_ext_</sup> ( _x_ ) = 0. (53) Since φ is zero at the boundary, we have φ <sup>_int_</sup> = φ <sup>_int_</sup> 1 <sup>in (3) and [</sup> <sup><u>∂φ</u></sup> ∂ _n_ <sup><u>2</u></sup> <sup>] = 0, hence φ2</sup> <sup>= 0 in (4).</sup> <sup>Neverthe-</sup> less, in our numerical test we also include the computation of φ2 through (5). Tab.2 shows the errors in the _L_ 2(Ω)-norm, _H_ <sup>1</sup> (Ω)-semi-norm and _H_ <sup>1</sup> (Ω)-norm, i.e. - <sup>�</sup> ���φ − φappr��� _L_ 2(Ω) = (φ − φappr) <sup>2</sup> ( _x_ ) d _x_ Ω �1/2, (54) |φ − φappr| _H_ 1(Ω) = 3 - - ���∂ _q_ (φ − φappr)���2 _L_ <sup>2</sup> (Ω) _q_ =1 �1/2, (55) ���φ − φappr��� _H_ 1(Ω) = ����φ − φappr���2 _L_ <sup>2</sup> (Ω) <sup>+ |φ −</sup> <sup>φappr|2</sup> _H_ <sup>1</sup> (Ω) �1/2, (56) respectively, which we calculated by taking the nodal interpolations of the exact and computed solutions. We took _n_ = 72, α = 2 and cut-off parameters _m_ = 5. Note that the _H_ <sup>1</sup> (Ω)-semi-norm and thus the _H_ <sup>1</sup> (Ω)-norm take the errors of the stray field _h_ _s_ = −∇φ into account. Tab. 3 shows the errors of the stray field energy and corresponding timings for uniform magnetization in a 1 × 1 × 0.1 thin film (scaled into the (−0.2, 0.2) <sup>3</sup> -box) with respect to several different parameters. The 15 _<u>N</u>_ _<u>M</u>_ <u>ϵ</u> _<u>nf</u>_ _<u>Nnf</u>_ _<u>S</u>_ <sup>′</sup> _<u>n</u>_ <u>energy</u> <u>error [%]</u> _<u>t</u>_ _<u>f f</u>_ <u>[sec]</u> _<u>tn f</u>_ <u>[sec]</u> <u>1323</u> <u>1920</u> <u>0.15</u> <u>1323</u> <u>6</u> <u>48</u> <u>3.978e-02</u> <u>1.17</u> <u>1.0e-01</u> <u>1.9e-03</u> <u>"</u> <u>"</u> <u>0.02</u> <u>1034</u> <u>8</u> <u>"</u> <u>3.825e-02</u> <u>4.97</u> <u>9.9e-02</u> <u>9.0e-04</u> <u>"</u> <u>"</u> <u>"</u> <u>"</u> <u>"</u> <u>72</u> <u>"</u> <u>"</u> <u>2.7e-01</u> <u>8.0e-04</u> <u>"</u> <u>"</u> <u>"</u> <u>"</u> <u>9</u> <u>"</u> <u>3.928e-02</u> <u>2.41</u> <u>2.6e-01</u> <u>8.2e-04</u> <u>"</u> <u>"</u> <u>"</u> <u>"</u> <u>10</u> <u>"</u> <u>3.996e-02</u> <u>1.47</u> <u>3.2e-01</u> <u>8.1e-04</u> <u>"</u> <u>"</u> <u>0.05</u> <u>"</u> <u>"</u> <u>"</u> <u>3.977e-02</u> <u>1.19</u> <u>3.2e-01</u> <u>8.1e-04</u> <u>"</u> <u>"</u> <u>0.01</u> <u>962</u> <u>"</u> <u>"</u> <u>3.946e-02</u> <u>1.96</u> <u>2.9e-01</u> <u>7.3e-04</u> <u>8405</u> <u>7680</u> <u>0.05</u> <u>8405</u> <u>"</u> <u>"</u> <u>4.010e-02</u> <u>0.37</u> <u>3.3e-01</u> <u>6.7e-02</u> Table 3: Errors of the stray field energy and timings for uniform magnetization in a 1 × 1 × 0.1 thin film (scaled into the (−0.2, 0.2) <sup>3</sup> -box) with respect to different parameters: _N_ number of nodes, _M_ number of surface elements, ϵ _nf_ near field radius, _Nn f_ number of nodes in the near field zone, _S_ <sup>′</sup> number of terms in the approximation of the kernel function by exponential sums, _n_ tensor grid size in one direction. The other quantities are: the stray field energy, the error of the stray field energy in %, _tn f_ time for near field part, _t_ _f f_ time for smooth part. _<u>N</u>_ _<u>M</u>_ <u>ϵ</u> _<u>nf</u>_ _<u>Nnf</u>_ _<u>S</u>_ <sup>′</sup> _<u>n</u>_ <u>energy</u> <u>error [%]</u> _<u>t</u>_ _<u>f f</u>_ <u>[sec]</u> _<u>tn f</u>_ <u>[sec]</u> <u>1331</u> <u>1200</u> <u>0.15</u> <u>1304</u> <u>6</u> <u>48</u> <u>1.595e-01</u> <u>4.38</u> <u>1.4e-01</u> <u>2.9e-03</u> <u>"</u> <u>"</u> <u>0.10</u> <u>1206</u> <u>"</u> <u>"</u> <u>"</u> <u>"</u> <u>1.5e-01</u> <u>5.8e-03</u> <u>"</u> <u>"</u> <u>"</u> <u>"</u> <u>"</u> <u>72</u> <u>"</u> <u>"</u> <u>2.9e-01</u> <u>2.4e-03</u> <u>"</u> <u>"</u> <u>0.08</u> <u>988</u> <u>8</u> <u>"</u> <u>"</u> <u>"</u> <u>3.2e-01</u> <u>9.0e-04</u> <u>2744</u> <u>2028</u> <u>0.10</u> <u>2528</u> <u>6</u> <u>48</u> <u>1.588e-01</u> <u>3.93</u> <u>1.6e-01</u> <u>3.8e-03</u> <u>"</u> <u>"</u> <u>0.05</u> <u>1744</u> <u>8</u> <u>72</u> <u>1.589e-01</u> <u>3.99</u> <u>3.8e-01</u> <u>1.2e-03</u> <u>9261</u> <u>4800</u> <u>0.10</u> <u>7930</u> <u>"</u> <u>"</u> <u>1.570e-01</u> <u>2.75</u> <u>5.2e-01</u> <u>3.0e-02</u> Table 4: Errors of the stray field energy and timings for flower-like magnetization in the unit cube (scaled into the (−0.2, 0.2) <sup>3</sup> -box) with respect to different parameters: _N_ number of nodes, _M_ number of surface elements, ϵ _n f_ near field radius, _Nnf_ number of nodes in the near field zone, _S_ <sup>′</sup> number of terms in the approximation of the kernel function by exponential sums, _n_ tensor grid size in one direction. The other quantities are: the stray field energy, the error of the stray field energy in %, _tn f_ time for near field part, _t_ _f f_ time for smooth part. stray field energy is calculated by using so-called _mass_ _lumping_ for the computation of the stray field as described in (e.g.) [20, Sec. 2.2.3]. The approximation is compared to the ’exact’ reference value 4.025e-02, which is taken from [7]. In both non-uniform FFT directions the cut-off _m_ = 4 was used. Tab. 4 shows the errors of the stray field energy and corresponding timings for flower-like magnetization in the unit cube (scaled into the (−0.2, 0.2) <sup>3</sup> -box) with respect to several different parameters. The approximation is compared to the ’exact’ reference value 1.528e-01, which is taken from [7]. In both non-uniform FFT directions the cut-off _m_ = 5 was used. ### 5 Errors, Complexity and Storage Remember that the approximation for the single layer potential is split into a near field correction and a smooth part, i.e. _g_ _j_ 16 φ2( _x_ _i_ ) ≈ _M_ _j_ =1 _M_ _j_ =1 _g_ _j_ NNF( _x_ _i_ - _y_ ) dσ( _y_ ) + _S_ _j_ _S_ _j_ N _s_ ( _x_ _i_ - _y_ ) dσ( _y_ ) =: φ <sup>NF</sup> 2 <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>) + φ</sup> 2 <sup>_s_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>).</sup> (57) The scheme for the smooth part written in a compact form reads φ2 <sup>_s_</sup> <sup>≈</sup> <sup>NFFT</sup> �� _c_ _l_ (N _s_ )� _l_ ∈ _I_ _n_ <sup>⊙</sup> <sup>�FFT(A)/</sup> <sup>_c_</sup> <sup>_l_</sup> <sup>(Υ�)�</sup> _l_ ∈ _I_ _n_ �. (58) As pointed out in section 3 and also numerically tested in section 3.2, the error that arises from approximating the tensor B with entries _b_ _l_ = <sup>�</sup> <sup>_M_</sup> _j_ =1 <sup>_g_</sup> <sup>_j_</sup> - _S_ _j_ <sup>_e_</sup> <sup>−2πi</sup> <sup>_y_</sup> <sup>·</sup> <sup>_l_</sup> <sup>dσ(</sup> <sup>_y_</sup> <sup>), i.e.</sup> <sup>_M_</sup> _j_ =1 <sup>_g_</sup> <sup>_j_</sup> _S_ _j_ <sup>_e_</sup> <sup>−2πi</sup> <sup>_y_</sup> <sup>·</sup> <sup>_l_</sup> <sup>dσ(</sup> <sup>_y_</sup> <sup>), i.e.</sup> B ≈ <sup>�</sup> FFT(A)/ _c_ _l_ (Υ <sup>�</sup> ) <sup>�</sup> _l_ ∈ _I_ _n_ <sup>,</sup> (59) behaves like that for the standard NFFT. The error bound in section 3.2 shows that this error decays exponentially with increasing cut-off parameter _m_ and is independent of the tensor grid size | _I_ _n_ |. In order to be able to analyze the error dependence on _n_ of the whole scheme (57) one has to look at the kernel splitting in more detail, i.e. N = (N −N _s_ ) + F N _s_ + (N _s_ −F N _s_ ). (60) In the scheme (57) with (58) for the smooth part, the contribution of N _s_ −F N _s_ is neglected. Thus, the error occurring from the approximation of the smooth kernel approximation N _s_ by its Fourier series approximation F N _s_ has to be analyzed. Moreover, in order to get linear complexity in the near field correction, (N −N _s_ )( _x_ ) = 0 is assumed for ∥ _x_ ∥ - ϵ. Due to the approximation by exponential sums, compare with section 3.3, this yields a (uniform) error in the interval [ϵ, β], which is denoted as _E_ NF in the following estimate. Overall, for the essential error arising in the summation in (57) holds |φ <sup>NF</sup> 2 <sup>NF</sup> 2 <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>) +</sup> φ <sup>�</sup> 2 <sup>_s_</sup> <sup>NF</sup> 2 <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>) + φ</sup> 2 <sup>_s_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>) −</sup> <sup>��</sup> φ <sup>NF</sup> 2 2 <sup>_s_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>)�| ≤|∂Ω|</sup> <sup>∥</sup> <sup>_g_</sup> <sup>∥1</sup> - _E_ NF + max ∥ _x_ ∥< <sup><u>1</u></sup> |N _s_ ( _x_ ) −F N _s_ ( _x_ )| <sup><u>1</u></sup> 2 �, (61) where φ <sup>�NF</sup> 2 <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>) +</sup> φ <sup>�</sup> 2 <sup>_s_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>) denotes the computed values and ∥</sup> <sup>_g_</sup> <sup>∥1</sup> <sup>:= �</sup> <sup>_M_</sup> _j_ =1 <sup>|</sup> <sup>_g_</sup> <sup>_j_</sup> <sup>|.</sup> Due to the tensor product structure of the Fourier coefficients of N _s_ (compare with section 3.3), also the Fourier series approximation has this structure, i.e. where φ <sup>�NF</sup> 2 <sup>�NF</sup> 2 <sup>(</sup> <sup>_x_</sup> <sup>_i_</sup> <sup>) +</sup> φ <sup>�</sup> 2 <sup>_s_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 2 <sup>) F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 3 <sup>).</sup> (62) F N _s_ ( _x_ ) = _S_ <sup>′</sup> _k_ =1 ω _k_ F _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 1 <sup>) F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> It follows max |N _s_ ( _x_ ) −F N _s_ ( _x_ )| = ∥ _x_ ∥< <sup><u>1</u></sup> 2 ≤ _S_ <sup>′</sup> _k_ =1 _S_ <sup>′</sup> _k_ =1 _Ck_ |ω _k_ | | _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup><u>1</u></sup> 2 _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 2 <sup>)</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 3 <sup>) −F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 1 <sup>) F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 2 <sup>) F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 3 <sup>)|</sup> |ω _k_ | max ∥ _x_ ∥< <sup><u>1</u></sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> 1 <sup>)</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> | _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup><u>1</u></sup> 2 3 _q_ =1 max ∥ _x_ ∥< <sup><u>1</u></sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> _q_ <sup>) −F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> _q_ <sup>)|,</sup> (63) where an telescoping sum like _abc_ −� _a_ <sup>�</sup> _b_ - _c_ = ( _a_ −� _a_ ) _bc_ + ( _b_ - <sup>�</sup> _b_ )� _ac_ + ( _c_ −� _c_ )� _a_ <sup>�</sup> _b_ was used and _Ck_ is an upper bound for the products _bc_,� _ac_ and � _a_ <sup>�</sup> _b_ . Adapting the proof of Th. 3.4 in [37] for the univariate case, the error max _xq_ < <u>1</u> | _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> _q_ <sup>) −F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> _q_ <sup>)| for</sup> 2 _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> _q_ <sup>) −F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> _q_ <sup>)| for</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> _q_ <sup>) =</sup> <sup>_e_</sup> <sup>−γ</sup> <sup>_k_</sup> <sup>_x_</sup> _q_ <sup>2</sup> <u>1</u> | _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> 2 _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _q_ <sup>2</sup> can be estimated by (64) <sup>_q_</sup> _k_ <sup>),</sup> | _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup><u>1</u></sup> 2 _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> _q_ <sup>)| ≤</sup> <sup>_A_</sup> <sup>(γ</sup> _k_ <sup>, η</sup> <sup>_q_</sup> _k_ <sup>_q_</sup> _k_ <sup>) +</sup> <sup>_B_</sup> <sup>(γ</sup> <sup>_k_</sup> <sup>, η</sup> <sup>_q_</sup> _k_ max _xq_ < <sup><u>1</u></sup> 2 _s_ <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> _q_ <sup>) −F</sup> <sup>_N_</sup> _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_q_</sup> _k_ <sup>.</sup> <sup>_q_</sup> _k_ <sup>:=</sup> 2π <sup>~~√~~</sup> _<u>n</u>_ <u>γ</u> _<u>qk</u>_ <sup>and</sup> <sup>_A_</sup> <sup>(γ</sup> <sup>_k_</sup> <sup>, η</sup> _k_ <sup>_q_</sup> <sup>) ∼</sup> <sup>_e_</sup> <sup>−(η</sup> _k_ <sup>_q_</sup> where η <sup>_q_</sup> _k_ _k_ <sup>_q_</sup> <sup>)2</sup> and _B_ (γ _k_, η <sup>_q_</sup> _k_ <sup>_q_</sup> _k_ <sup>) ∼</sup> <sup>_e_</sup> <sup>−γ</sup> <sup>_k_</sup> <sup>/4/η</sup> <sup>_q_</sup> _k_ The consequences of (64) are twofold. First, for small γ _k_ the term _B_ (γ _k_, η <sup>_q_</sup> _k_ <sup>_q_</sup> _k_ <sup>)</sup> <sup>only</sup> <sup>gets</sup> <sup>small</sup> <sup>for</sup> <sup>large</sup> 17 _nq_, whereas for large γ _k_ this term is negligible. In the first case (small γ _k_ ) one can use boundary regularization or further scaling the domain Ω into, e.g., (−0.2, 0.2) <sup>3</sup> . This reduces the error _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> −F _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> in general, [37]. On the other hand (64) suggests to choose _nq_ in the order of <sup>~~√~~</sup> <u>γ</u> _k_, i.e. _nq_ ∼ <sup>~~√~~</sup> <u>γ</u> _k_ <u>, such that η</u> _k_ <sup>(</sup> <sup>_q_</sup> <sup>)</sup> ≥ 1 and _s_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> −F _Ns_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> On the other hand (64) suggests to choose _nq_ in the order of <sup>~~√~~</sup> <u>γ</u> _k_, i.e. _nq_ ∼ <sup>~~√~~</sup> <u>γ</u> _k_ <u>, such that η</u> _k_ <sup>(</sup> <sup>_q_</sup> <sup>)</sup> ≥ 1 and thus _A_ (γ _k_, η <sup>_q_</sup> _k_ <sup>) is small.</sup> thus _A_ (γ _k_, η <sup>_q_</sup> _k_ <sup>) is small.</sup> In order to get the relation between the tensor gird size | _I_ _n_ | and ϵ, <sup>4</sup> linear fitting of the quantities log ϵ and log γ _S_ <sup>′</sup>, both, as functions of _S_ <sup>′</sup>, is used. This gives, for several precomputed lists from [35], the relation | _I_ _n_ | = O(1/ϵ <sup>δ</sup> ), δ ≈ 3. (65) Now, linear complexity of the near field computation requires that ν := max | _I_ NFϵ ( _S_ _j_ )| is much smaller than the total number of nodes, i.e. _N_, cf. section 3.4. Assuming that the nodes near the boundary are reasonably uniformly distributed, means that the ’ϵ−balls’ _I_ NFϵ ( _S_ _j_ ) contain about the same number of nodes, namely ν. If the even more idealistic assumption is made that the whole mesh is roughly uniform, then the volume of an ϵ-ball is proportional to the ratio ν/ _N_, i.e. there should hold approximately ϵ ∼ (ν/ _N_ ) <sup>1/3</sup> . Together with (65) this combines to | _I_ _n_ | = O( _N_ ). (66) <sup>3</sup> _q_ =1 <sup>_nq_</sup> <sup>)(log �</sup> _q_ <sup>3</sup> Since the complexity of the proposed scheme for (57) is O <sup>�</sup> _M_ + _N_ + ( <sup>�3</sup> _q_ Since the complexity of the proposed scheme for (57) is O <sup>�</sup> _M_ + _N_ + ( <sup>�3</sup> _q_ =1 <sup>_nq_</sup> <sup>)(log �</sup> _q_ <sup>3</sup> =1 <sup>_nq_</sup> <sup>)�,</sup> <sup>the</sup> <sup>as-</sup> sumption of a roughly uniform mesh, together with the error investigation above, gives rise to the scaling O( _M_ + _N_ + _N_ log _N_ ). (67) Concerning the storage requirements of the method, one has to collect all pieces in the setup of Alg. 1. The storage of the LU decomposition of the stiffness matrix can be of quadratic order in the number of mesh nodes _N_ . Nevertheless, a preconditioned iterative procedure would need linear storage in _N_ . As indicated in Sec. 3.1, the storage for the sparse matrix _A_ is µ _M_, where _M_ is the number of surface elements and µ is of the order of _m_ <sup>3</sup>, the cubed cut-off parameter. Tensor train compression can reduce the constant µ. Due to the approximation with exponential sums, the Fourier coefficients of the multivariate function N _s_ only require _S_ <sup>′ �3</sup> _q_ =1 <sup>_nq_</sup> <sup>complex</sup> <sup>numbers,</sup> <sup>instead</sup> <sup>of</sup> <sup>�3</sup> _q_ =1 <sup>_nq_</sup> <sup>,</sup> <sup>if</sup> <sup>one</sup> <sup>can</sup> <sup>not</sup> <sup>rely</sup> <sup>on</sup> <sup>a</sup> <sup>separable</sup> <sup>3</sup> _q_ =1 <sup>_nq_</sup> <sup>complex</sup> <sup>numbers,</sup> <sup>instead</sup> <sup>of</sup> <sup>�3</sup> _q_ N _s_ only require _S_ <sup>′ �3</sup> _q_ =1 <sup>_nq_</sup> <sup>complex</sup> <sup>numbers,</sup> <sup>instead</sup> <sup>of</sup> <sup>�3</sup> _q_ =1 <sup>_nq_</sup> <sup>,</sup> <sup>if</sup> <sup>one</sup> <sup>can</sup> <sup>not</sup> <sup>rely</sup> <sup>on</sup> <sup>a</sup> <sup>separable</sup> structure, cf. Sec. 3.3. Similar, the Fourier coefficients of the window functions (tensor product of univariate functions) is only stored for the one-dimensional case, yielding a storage requirement of �3 _q_ =1 <sup>_nq_</sup> <sup>.</sup> <sup>Finally,</sup> <sup>the</sup> <sup>near</sup> <sup>field</sup> <sup>integrals</sup> <sup>have</sup> <sup>to</sup> <sup>be</sup> <sup>stored,</sup> <sup>which</sup> <sup>is</sup> <sup>at</sup> <sup>most</sup> <sup>ν</sup> <sup>_M_</sup> <sup>,</sup> <sup>ν</sup> <sup>=</sup> <sup>max</sup> <sup>_j_</sup> <sup>|</sup> <sup>_INF_</sup> <sup>ϵ</sup> <sup>(</sup> <sup>_S_</sup> <sup>_j_</sup> <sup>)|</sup> numbers. Overall, the storage requirements <sup>5</sup> are O <sup>�</sup> _N_ + (µ + ν) _M_ + ( _S_ <sup>′</sup> + 1) which is linear in _N_, _M_ and the _nq_ ’s. ### Conclusion 3 _q_ =1 _nq_ �, (68) We introduced a P1 finite element method for the computation of the micromagnetic scalar potential based on the ansatz of García-Cervera and Roma. The potential is computed by a splitting φ = φ1 + φ2, 4The left border of the interval of validity for the uniform approximation of the kernel cf. Sec. 3.3. 5A preconditioned iterative procedure instead of LU decomposition is assumed. 18 where φ1 is solved by a Poisson equation with zero Dirichlet boundary conditions and φ2 by evaluation of the single layer potential. Our contribution is the development of a method to compute the single layer potential at all nodes of a tetrahedral mesh in linear time by means of Fourier approximation of a smoothed kernel and near field correction. The discretized integral operator splits into a part with smooth and singular kernel. The latter one has small support and therefore allows a computation by sparse summation, while for the smooth part Fourier techniques can be applied. Due to the unstructured FE-mesh, generalizations of discrete Fourier transforms arise, where we developed efficient implementations. Overall the method scales quasi linearly in the number of nodes and linearly in the number of surface elements. Similar, the storage requirements are linear in the number of surface elements, where we further introduced tensor train compression to reduce the constant in the storage estimate for the gridding procedure. We used exponential sums to obtain an entirely smooth and separable approximation of the Fourier coefficients of the Newtonian potential. As a consequence of the above mentioned splitting, which includes a near field correction, the only essential error of our method (within the P1 FEM framework) is due to this approximation, cf. eqn. (16). Nevertheless, numerical experiments for test cases with known analytical solutions show accurate approximations. Future work might include detailed mathematical analysis of this error, as well as possible extension to higher order finite element and boundary element methods. Finally, we stress that our approach could be seen as a generalization to general geometries of the FFT techniques used in finite difference based micromagnetic methods for cuboid and equispaced computational domains, since our scheme shows some analogy to the convolution theorem which is used there, cf. eqn. (15). ### Acknowledgments The first author wants to thank Stefan Schnabl and Michael Srb for helpful discussions on this topic. Financial support by the Austrian Science Fund (FWF) SFB ViCoM (F4112-N13) is gratefully acknowledged. ### References [1] J. Fidler, T. Schrefl, J. Phys. D: Appl. Phys. 33 (2000). [2] M. d’Aquino, C. Serpico, G. Miano, Journal of Computational Physics 209 (2005) 730–753. [3] J. D. Jackson, Am. J. Phys 67 (1999). [4] H.-A. Engel, E. I. Rashba, B. I. Halperin, Handbook of Magnetism and Advanced Magnetic Mate rials, John Wiley & Sons Ltd., Chichester, UK, 2007. [5] M. Aurada, M. Feischl, T. Führer, M. Karkulik, J. M. Melenk, D. Praetorius, Computational Me chanics (2012) 1–21. [6] C. Carstensen, E. P. Stephan, ESAIM: Mathematical Modelling and Numerical Analysis Modélisation Mathématique et Analyse Numérique 29 (1995) 779–817. [7] C. Abert, L. Exl, G. Selke, A. Drews, T. Schrefl, Journal of Magnetism and Magnetic Materials 326 (2012) 176–185. [8] M. J. Donahue, R. D. McMichael, IEEE Trans. Magn. 43 (2007) 2878 – 2880. 19 [9] J. Blue, M. Scheinfein, IEEE Trans. Magn. 27 (1991) 4778 –4780. [10] H. Long, E. Ong, Z. Liu, E. Li, IEEE Trans. Magn. 42 (2006) 295 – 300. [11] B. Van de Wiele, F. Olyslager, L. Dupré, Journal of Computational Physics 227 (2008) 9913–9932. [12] B. Livshitz, A. Boag, H. N. Bertram, V. Lomakin, Journal of Applied Physics 105 (2009) 07D541. [13] R. Chang, S. Li, M. V. Livshitz, V. Lomakin, Journal of Applied Physics 109 (2011) 07D358. [14] A. Goncharov, G. Hrkac, J. Dean, T. Schrefl, Journal of Computational Physics 229 (2010) 2544– 2549. [15] L. Exl, W. Auzinger, S. Bance, M. Gusenbauer, F. Reichel, T. Schrefl, J. Comput. Phys. 231 (2012) 2840–2850. [16] L. Exl, C. Abert, N. J. Mauser, T. Schrefl, H. P. Stimming, D. Suess, Math. Models Methods Appl. Sci. (in print), doi: 10.1142/S0218202514500109 (2014). [17] J. R. Phillips, J. K. Jacob, Computer-Aided Design of Integrated Circuits and Systems, IEEE Trans actions on, 16 (1997) 1059–1072. [18] J. Keiner, S. Kunis, D. Potts, ACM Transactions on Mathematical Software (TOMS) 36 (2009) 19. [19] E. Kritsikis, J.-C. Toussaint, O. Fruchart, H. Szambolics, L. Buda-Prejbeanu, Applied Physics Letters 93 (2008) 132508–132508. [20] T. Schrefl, G. Hrkac, S. Bance, D. Suess, O. Ertl, J. Fidler, Numerical methods in micromagnetics (finite element method), John Wiley & Sons Ltd., Chichester, UK (2007). [21] D. Potts, G. Steidl, SIAM Journal on Scientific Computing 24 (2003) 2013–2037. [22] X. Brunotte, G. Meunier, J. Imhoff, IEEE Trans. Magn. 28 (1992) 1663 –1666. [23] D. Fredkin, T. Koehler, IEEE Trans. Magn. 26 (1990) 415 –417. [24] A. Knittel, M. Franchin, G. Bordignon, T. Fischbacher, S. Bending, H. Fangohr, J. Appl. Phys. 105 (2009) 07D542. [25] C. J. Garcia-Cervera, A. M. Roma, Magnetics, IEEE Transactions on 42 (2006) 1648–1654. [26] A. Dutt, V. Rokhlin, SIAM Journal on Scientific computing 14 (1993) 1368–1393. [27] G. Beylkin, Applied and Computational Harmonic Analysis 2 (1995) 363–381. [28] D. Potts, G. Steidl, M. Tasche, in: Modern sampling theory, Springer, 2001, pp. 247–270. [29] L. Greengard, J.-Y. Lee, SIAM review 46 (2004) 443–454. [30] S. Funken, D. Praetorius, P. Wissgott, Comput. Methods Appl. Math. 11 (2011) 460–490. [31] I. Oseledets, E. Tyrtyshnikov, Linear Algebra and its Applications 432 (2010). [32] A. Elbel, G. Steidl, in: C. Chui, L. Schumaker (Eds.), In: Approximation Theory IX„ Vanderbuilt University Press„ pp. 39 –46. [33] D. Potts, Habilitationsschrift, Universität zu Lübeck, 2003. 20 [34] D. Braess, W. Hackbusch, in: Multiscale, nonlinear and adaptive approximation, Springer, 2009, pp. 39–74. [35] `[http://www.mis.mpg.de/scicomp/EXP_SUM/1_sqrtx/](http://www.mis.mpg.de/scicomp/EXP_SUM/1_sqrtx/)` . [36] J. N. Lyness, R. Cools, Proc. Symposia Appl. Math 48 (1994) 127–150. [37] D. Potts, G. Steidl, A. Nieslony, Numerische Mathematik 98 (2004) 329–351. 21

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.