査読付き雑誌論文の一覧へ戻るBack to Peer-reviewed journal papers
Domain-Decomposed Parallelization of B-spline Based s-version of the Finite Element Method via Generalized Graph Abstraction
- 著者Authors
- N. Magome, N. Morita, S. Kaneko, N. Mitsume†
- 掲載先Published in
- Finite Elements in Analysis and Design
- 巻号、ページVolume, pages
- Vol.264, p.104689
- 年Year
- 2027
- 種類Type
- 査読付き雑誌論文Peer-reviewed journal papers
- Link
- https://doi.org/10.1016/j.finel.2026.104689
- arXiv
- https://arxiv.org/abs/2606.21142
- 研究テーマTopics
- 有限要素法Finite element method 連成解析Coupled analysis 大規模並列解析Large-scale parallel computing 破壊力学Fracture mechanics マルチスケール・複合材料Multiscale and composite materials 埋め込み境界・界面捕捉Immersed boundary and interface capturing 構造・固体Structural and solid mechanics
- キーワードKeywords
- 領域分割型並列化Domain-decomposed parallelization B-spline 重合メッシュ法B-spline based s-version of the finite element method 一般化したグラフ表現Generalized graph abstraction 重合メッシュ法s-version of the finite element method 分散メモリ型並列化Distributed-memory parallelization 領域分割Domain decomposition 負荷分散Load balancing B-spline 基底関数B-spline basis functions 重なり合うメッシュOverlapping meshes 節点グラフNodal graph
概要
工学のシミュレーションでは、き裂の先端、局所的な熱源、境界層のように解の勾配が急な局所領域を、計算コストを抑えながら高い空間解像度で解くことが、しばしば必要になります。重合メッシュ法(s-version of the finite element method、SFEM)は、計算領域の全体を表すグローバルメッシュに、注目する領域を覆うローカルメッシュを重ね合わせる手法で、グローバルメッシュを作り直さずに、必要な場所にだけ高い解像度を与えられます。著者らはこれまでに、グローバルメッシュに連続性の高い B-spline 基底関数、ローカルメッシュに Lagrange 基底関数を用いる B-spline 重合メッシュ法(B-spline based SFEM、BSFEM)を提案しています。重合メッシュ法を大規模な 3 次元問題に適用するには、分散メモリ型の並列計算が必要です。しかし、重合メッシュ法では、自由度の間の相互作用が、それぞれのメッシュの中だけでなく、重なり領域にある 2 つのメッシュの間にも生じます。このため、メッシュを別々に分割すると、メッシュ間の連成によるデータの依存関係が領域分割に反映されません。論文は、著者らの知る限り、メッシュ内とメッシュ間の両方の相互作用を考慮して、1 つの重合メッシュ法の離散化を分割し、分散メモリ型の並列計算を行う方法は報告されていなかったと述べています。
本論文は、BSFEM の基底関数の間の相互作用を 1 つのグラフで表す並列化の枠組みを提案しています。基底関数に対応する計算点(Lagrange 基底関数の節点、または B-spline 基底関数の制御点)をグラフのノードとし、基底関数の台(値が非零となる範囲)が重なる 2 つのノードをエッジで結びます。メッシュ内とメッシュ間の相互作用を区別せずに 1 つのグラフで表すので、既存のグラフ分割ライブラリを領域分割に使うことができ、得られた分割から、各自由度と各要素をどのプロセスが受け持つかと、MPI 通信の構造が決まります。論文は、著者らの知る限り、重合メッシュ法に基づく手法では初めての、領域分割型の分散メモリ並列計算であると述べています。
3 次元の定常 Poisson 問題のベンチマークでは、プロセス数を 1 から 256 まで変えても、 ノルムの相対誤差はほぼ変わりませんでした。ストロングスケーリングテストでは、2 つのメッシュを結び付ける行列の生成が重なり領域に集中し、それが負荷の不均衡と同期待ち時間を生んで、並列性能を制限することが示されました。行列生成のコストをグラフの節点の重みに組み込むと、合計計測時間は、例えば 32 プロセスで 263.7 s から 100.2 s に減り、256 プロセスでの加速率は約 23 から約 55 に上がりました。
重要点
1. メッシュ内とメッシュ間の相互作用を、1 つの節点グラフで表す
重合メッシュ法では、グローバルメッシュが解析領域の全体(グローバル領域 )を覆い、より高い解像度が必要な部分領域(ローカル領域 。)にローカルメッシュを重ねます(図 1)。2 つのメッシュは別々に生成し、互いに整合している必要はありません。試行解は、ローカル領域の外ではグローバル成分 、ローカル領域の中ではグローバル成分とローカル成分 の和です(原稿の式 (6))。

論文が対象とする Poisson 方程式を Galerkin 法で離散化すると、連立一次方程式 (式 (15))が得られ、次のブロック構造を持ちます。
ここで、 は係数行列、 は基底関数の未知の係数を並べたベクトル、 は右辺のベクトルです。上付きの G と L はグローバルメッシュとローカルメッシュを表し、 と はそれぞれのメッシュの未知数、 と はそれぞれのメッシュの右辺です。 はグローバルメッシュの中の相互作用、 はローカルメッシュの中の相互作用を表し、 と は、重なり領域でのグローバルメッシュとローカルメッシュの間の相互作用を表します(論文は連成行列(coupling matrices)と呼んでいます)。BSFEM では、グローバルメッシュに B-spline 基底関数、ローカルメッシュに Lagrange 基底関数を用います。論文の並列化手法は、このブロック行列の構造を対象にしています。
論文は、有限要素メッシュの上の計算点どうしのつながりをグラフで表し、これを節点グラフ(nodal graph)と呼んでいます。Lagrange 基底関数の節点も、B-spline 基底関数の制御点も、基底関数に対応する計算点として扱い、まとめて節点(ノード)と呼びます。節点グラフ (式 (30))は、自己ループ(self-edge)を含む無向グラフです。 はすべての節点 の集合、 はエッジの集合で、次のように定義します。
ここで、 は節点 に対応する基底関数、 は解析領域 の中の点です。つまり、2 つの基底関数が同時に非零になる点があるとき、言い換えると基底関数の台が重なるときに、2 つの節点をエッジで結びます(図 2)。

- 行列との対応 係数行列の各成分は、基底関数の組についての要素積分から作られるので、非零成分の候補になるのは、台が重なる基底関数の組だけです。このため、節点グラフの隣接関係は、係数行列の非零成分の候補のパターン(疎行列に、非零になりうる成分として格納すべき成分)に対応します。
- すべての場合に同じ定義 式 (31) の定義は、2 つの節点が同じメッシュに属するかどうかにも、基底関数の種類にもよらずに使えます。B-spline 節点どうし()、Lagrange 節点どうし()、B-spline 節点と Lagrange 節点( と )の隣接関係を、同じように扱います。論文は、この一般化したグラフ表現によって、個々のメッシュを別々に扱うことなく、既存のグラフ分割の手法を BSFEM に適用できると述べています。
2. グラフの分割から、各プロセスが受け持つ節点と要素が決まる
節点グラフの節点の集合 を、プロセス間の計算負荷を均等にしながらプロセス間通信の量が最小になるように、互いに重ならない 個の部分集合 ()に分割します。それぞれの部分集合 を領域 の内部ノード集合と呼び、1 つの領域を 1 つの MPI プロセスに割り当てます。論文はグラフ分割ライブラリ METIS を使っており、提案する枠組みそのものは特定の分割ライブラリに依存しないと述べています。
分割すると、領域の境界をまたぐエッジが失われます。グラフのエッジは計算点の間の相互作用(データの依存関係)を表すので、これらのエッジが欠けると、計算を各領域の中で閉じることができません。そこで論文は、各領域 について、隣接ノード集合 と拡張ノード集合 を次のように定義します(図 3)。
つまり、 は、他の領域に属し、内部ノード集合 のいずれかの節点と隣接する節点の集合で、 は内部ノード集合と隣接ノード集合の和集合です。各領域 は、 と、その節点どうしを結ぶエッジからなる拡張部分グラフを持ちます(式 (39))。論文は、この構成によって、行列生成や局所的な行列ベクトル積などの並列計算に必要なデータの依存関係が、領域 の中でそろうと述べています。

要素の計算も、拡張ノード集合に基づいて割り当てます。要素 の計算に必要な節点の集合を とすると、次の条件が成り立つときに、要素 を領域 で計算します。
領域の境界の近くにある要素は、複数の領域で重複して計算されることがあります。しかし、全体行列への寄与は、各領域が持つ内部ノード集合 に対応する行にだけ足し込むので、アセンブリの結果の整合性は保たれます。
B-spline 基底関数を要素ごとに評価するために、論文は Bézier 抽出を導入しています。Bézier 抽出は、B-spline 基底関数を、各要素の上で定義した Bernstein 多項式の線形結合で表すものです。これにより、各プロセスは、割り当てられた要素の Bernstein 多項式と Bézier 抽出作用素だけを使って、B-spline 基底関数を評価できます。論文は、これによって評価を標準的な有限要素法と同じような要素ごとの局所的な演算として扱うことができ、領域分割型の並列実装が容易になると述べています。
3. 基底関数の次数によらず、同じ手順で分割できる
次の B-spline 基底関数は、 個のノットスパンにわたるコンパクトな台を持ちます。内部ノットの多重度がすべて 1 のとき、これは 個の要素に当たります。次数が上がるほど、ある節点の基底関数は、空間的により遠い節点の基底関数と重なるようになり、節点グラフの中でのその節点の隣接の範囲が広がります。グラフ分割のアルゴリズムは、この広がった隣接関係を考慮して切断面を決めるので、複数の領域が共有する要素の層が、物理空間の中に適切な数だけ自動的に作られます。

- 図 4 では、領域の境界の近くにある共有要素の層の数が、基底関数の次数に応じて増えています。1 次では 1 層、2 次では 2 層、3 次では 3 層です。
- 論文は、このように、節点グラフの同じ定義に基づいて、任意の次数の B-spline 基底関数に対して領域分割ができ、基底関数ごとに共有要素の層を作る規則を別に設ける必要がないと述べています。
4. 行列ベクトル積に必要な通信も、グラフから決まる
連立一次方程式は反復法(Krylov 部分空間法)で解き、各領域に割り当てた行列の成分は、ブロック CSR 形式で格納します。論文は、反復法を構成する 3 つの基本演算、つまりベクトルの加算、内積、行列ベクトル積を、各領域の拡張した節点グラフの上で定式化しています。各節点は 個の自由度を持ち()、領域 のベクトルは、内部ノード集合 に対応する成分 と、隣接ノード集合 に対応する成分 からなります(式 (42))。ここでの は演算の対象のベクトルで、式 (31) の点 とは別のものです。
- ベクトルの加算 2 つのベクトルの線形結合は、内部の節点について節点ごとに計算し、プロセス間通信は要りません(式 (43))。
- 内積 局所的な内積は、隣接ノードの成分を除いた内部の成分だけで計算し、その結果を MPI のグローバル通信ルーチン(allreduce 演算)で全領域について集計します。これにより、どの節点も重複して数えられません(式 (45))。
- 行列ベクトル積 について、領域 は、自分の内部ノード集合に対応する成分 だけを計算します。
ここで、 は内部ノード集合 の節点どうしの相互作用を表す部分行列、 は内部ノード集合と隣接ノード集合の間の相互作用を表す部分行列です。第 1 項は、領域の中にあるデータだけで計算できます。第 2 項には隣接ノードの成分 が必要で、これは隣の領域が持つ内部ノードの成分の写しです。このため、領域 は、行列ベクトル積の前に、 の節点を持つ領域からこれらの成分を受け取り、 を最新の値に更新します(図 5)。
5. 行列生成のコストを節点の重みに入れて、負荷を均す
重みのないグラフを分割するときは、各領域の節点の数を均等にすることが目的になります。しかし BSFEM では、部分行列 、、、 の間で基底関数の種類と積分のアルゴリズムが違うので、要素ごとの計算コストが大きく異なり、節点や要素の数を均等にしても、プロセス間の計算負荷が均等になるとは限りません。そこで論文は、各節点 に、計算コストを表す正の重み を与えて、節点グラフを重み付きグラフに拡張し、次の緩和した分割問題を METIS で解きます。
ここで、 は両端の節点が異なる領域に属するエッジの集合(式 (35))、 はそのエッジの数、 は内部ノード集合 についての節点の重み の和(式 (34))、 はグラフ全体の重みの合計、 は許容する負荷の不均衡の比です。論文のすべての解析で、()としています。
節点の重みは、要素ごとの行列生成のコストから作ります。論文は付録 B で、各部分行列の生成の計算量に基づいて、このコストを次のように定義しています。
ここで、 はグローバル要素 での のコスト、 はローカル要素 での のコスト、 はローカル要素 から生じる と の連成項のコストの合計です(連成行列は、ローカル要素の積分点で、ローカル基底関数と、対応するグローバル基底関数の相互作用を評価して作ります)。 と は 1 要素の積分点の数、 と は 1 要素の節点の数(上付きの G と L はグローバルメッシュとローカルメッシュを表します)、 は 1 節点あたりの自由度の数です(論文のスカラーの Poisson 問題では )。、、 は、理論上の演算の回数を実際の計算負荷に換算する係数です。
これらの要素ごとのコストを、関係する節点に配分し、節点ごとに足し合わせます。 と のコストは要素の節点に均等に配分し、連成項のコストは Lagrange 節点と B-spline 節点に半分ずつ分けます。B-spline 節点 の重みは式 (B.4)、Lagrange 節点 の重みは式 (B.5) です。
ここで、 と は節点 を含むグローバル要素とローカル要素の集合、 はローカルメッシュのすべての要素の集合、 はローカル要素 の積分点が入るグローバル要素の集合、 はその集合の要素の数です。 は、節点 がグローバル要素 に属するときに 1、そうでないときに 0 をとる指示関数です。式 (B.4) の第 2 項は、ローカル要素の連成のコストの半分を、そのローカル要素に関係するグローバル要素のすべての節点に均等に配分することを表します。
- 論文は、この配分は演算の回数の厳密な分解ではなく、負荷分散のための近似的な重み付けであると述べています。
- 論文は、実際の計算コストはメモリアクセスの局所性や間接的なメモリアクセスの頻度などの実装上の要因にも左右されるので、、、 の最適な比を理論上の演算の回数だけから事前に決めるのは難しいと述べています。このため、これらの係数を実装と計算環境に依存する調整パラメータとして扱い、重み付けの選び方は、対象の計算機での数値実験で評価しています。
数値実験の結果
論文は、まず、領域の数を変えて解析解に対する誤差を比べることで、並列実装の整合性を確かめています。次に、ストロングスケーリングテストで並列性能を評価し、最後に、そこで分かった負荷の不均衡に対して、コストを考慮した静的負荷分散を適用しています。すべての検証に共通の条件は、次のとおりです。
- 計算機 大阪大学のスーパーコンピュータシステム SQUID です。汎用 CPU ノードは 1,520 ノードで、1 ノードに Intel Xeon Platinum 8368(Ice Lake、2.4 GHz、38 コア)を 2 基と、256 GB のメモリを持ちます(原稿の Table 1)。
- 問題 境界の全体に Dirichlet 境界条件を課した 3 次元の定常 Poisson 方程式 (式 (1))です。 は解、 は与えられた関数です。グローバル領域は立方体 で、そこにローカル領域 を重ねます。どちらのメッシュも、すべての要素が立方体になるように作ります。
- 基底関数と積分 グローバルメッシュには、内部の要素境界で 連続の 3 次 B-spline 基底関数、ローカルメッシュには 1 次の Lagrange 基底関数を用います。数値積分は、各座標方向に 4 点の Gauss 求積です。
- 解法 汎用並列線形ソルバーライブラリ MONOLIS(Metagraph-Oriented Network for Linear Iterative Solvers)を使い、安定化双共役勾配法(BiCGSTAB 法)で解きます。相対残差の収束判定値は 、最大反復回数は全自由度数です。前処理は対角スケーリングで、領域の数に依存しません。
- 創成解 誤差は創成解の方法で評価します。次の解を用い、その値を境界の全体に Dirichlet 境界条件として与えます。ここで、、、 は座標です。
- 誤差の指標 ノルムに基づく相対誤差です。
ここで、 は ノルムの相対誤差、 は創成解、 は重合メッシュ法の解で、 では 、 では です( と は、グローバルメッシュとローカルメッシュで得た数値解)。、、 は補助の量で、 は の での積分、 は の での積分、 は の での積分です。
- メッシュ Mesh 1 を用います。計算点と要素の数は次のとおりです(原稿の Table 2)。
| メッシュ | 計算点(合計) | 計算点(グローバル) | 計算点(ローカル) | 要素(合計) | 要素(グローバル) | 要素(ローカル) |
|---|---|---|---|---|---|---|
| Mesh 1 | 166,453 | 148,877 | 17,576 | 140,625 | 125,000 | 15,625 |
- 並列計算の条件 並列プロセス数は 1、8、16、32、64、128、256 です。メモリ帯域の制約と計算ノードあたりのメモリ容量を考慮して、1 つの計算ノードに置くプロセスは最大 8 にしています。それぞれの条件を 3 回計測し、その平均を用います。
- 性能の指標 加速率 (式 (50))と並列化効率 (式 (51))です。ここでの は並列プロセス数(上の重要点では、 は領域の番号でした)、 は プロセスでの計測時間です。計測するのは、行列生成の時間と連立一次方程式の求解の時間で、この 2 つの和を合計計測時間と呼びます。データの入出力、参照空間での基底関数の構築、カップリングマップの探索(ローカル要素の各積分点を含むグローバル要素の探索)にかかる時間は、計測から除いています。
並列実装の整合性の検証
- 条件 節点グラフの節点の重みは、一律に 1 とします。図 6 は、32 プロセスでの領域分割の例です。


- 結果 相対誤差はすべてのプロセス数でほぼ同じで、領域の数の違いによる有意な差は見られません(図 7)。論文は、この結果は、このベンチマークについて、提案する並列実装の整合性を支持すると述べています。論文は、領域分割は元の離散問題を変えないが、自由度と要素の担当、行列のアセンブリの作業の配分、プロセス間通信のパターンを変えることも述べています。
並列性能と負荷の不均衡(節点の重みが一律の場合)
- 条件 上と同じメッシュ、プロセス数、一律の節点の重みでの、ストロングスケーリングテストです。

計測した時間は次のとおりです(原稿の Table 3)。 は同期待ち時間を含む行列生成の時間、 は線形ソルバーの時間、 は合計計測時間です。
| プロセス数 | [s] | [s] | [s] | |
|---|---|---|---|---|
| 1 | 1302.9 | 55.4 | 1358.3 | 23.5 |
| 8 | 752.7 | 9.9 | 762.6 | 75.9 |
| 16 | 395.1 | 4.7 | 399.8 | 83.6 |
| 32 | 261.4 | 2.2 | 263.7 | 117.3 |
| 64 | 154.3 | 1.1 | 155.5 | 135.1 |
| 128 | 83.9 | 0.8 | 84.6 | 108.3 |
| 256 | 57.6 | 0.6 | 58.2 | 103.9 |
- スケーリング 行列生成の時間も線形ソルバーの時間も、プロセス数が増えるにつれて減ります。連立一次方程式の求解では良いスケーラビリティが得られていますが、行列生成の加速率はそれより低く、全体の並列性能を制限しています(図 8)。
- 時間 線形ソルバーの時間は、 の 55.4 s から の 0.6 s に減り、約 98.9 % の削減でした。行列生成の時間は 1302.9 s から 57.6 s に減りましたが、削減は約 95.6 % にとどまりました。行列生成は、プロセス数が少ないときにすでに合計計測時間の大きな割合を占めていて、プロセス数が多いとその相対的な寄与がさらに大きくなります。例えば では、 です。論文は、行列生成の段階が、全体の並列性能を制限する支配的な要因であると結論しています。
原因を調べるため、論文は、プロセスごとの時間の内訳を計測しています。行列生成の前に全プロセスを MPI_Barrier で同期し、、、/ の生成時間をプロセスごとに別々に計測し、すべての行列の生成が終わった後に、もう一度全プロセスを同期します。各プロセスが行列生成を終えてから、この同期点を通過するまでの時間を、同期待ち時間と定義しています。

- 内訳 同期待ち時間が、行列生成の段階のかなりの割合を占めています(図 9)。連成行列 と の生成は、2 つのメッシュが重なるローカル領域 に集中します。節点の重みが一律だと、この局所的な計算負荷が少数の領域に集中しやすく、他のプロセスがそれを待ちます。
- 分かったこと 論文は、BSFEM のメッシュ間の連成に伴う行列生成の負荷は空間的に不均一で、それによる負荷の不均衡が並列性能を制限する主な要因であり、したがって、領域分割では、節点の数だけでなく行列生成の計算負荷も考慮しなければならないと結論しています。
コストを考慮した静的負荷分散
- 条件 行列生成のコストを、、、 として節点の重みに組み込みます。連成行列の生成に対応する だけを変えるのは、この負荷が他の行列生成の負荷に比べてどのくらい大きいかが、事前には分からないためです。 ではグラフ分割の効果がないので、すべての重みの条件で、重みなしの値を基準に使います。

- 待ち時間 コストを節点の重みに入れると、全プロセスで累積した行列生成の時間は大きく変わらずに、同期待ち時間が大きく減ります(図 10)。論文は、静的負荷分散が改善したとしています。
重みの条件ごとの合計計測時間 [s] は次のとおりです(原稿の Table 4)。
| プロセス数 | 重みなし | ||||
|---|---|---|---|---|---|
| 8 | 762.6 | 317.8 | 293.9 | 337.8 | 372.1 |
| 16 | 399.8 | 179.6 | 173.1 | 202.3 | 201.4 |
| 32 | 263.7 | 95.9 | 100.2 | 118.9 | 116.4 |
| 64 | 155.5 | 61.1 | 61.3 | 73.4 | 70.3 |
| 128 | 84.6 | 44.9 | 34.9 | 41.8 | 43.3 |
| 256 | 58.2 | 28.1 | 24.6 | 25.0 | 25.4 |
- 合計の時間 すべての重みの条件で、合計計測時間は重みなしより減っています。例えば では、重みなしの 263.7 s から の 100.2 s へ、163.5 s(約 62.0 %)減りました。
- 負荷の配分 が大きくなるにつれて、連成行列 と の生成の負荷は、より多くの領域に分散されます(図 11)。論文は、 を大きくすると、連成行列の生成に関わる節点に相対的に大きな重みが与えられ、グラフ分割でこれらの節点が複数の領域に分かれやすくなるためと説明しています。
- トレードオフ が大きくなりすぎると、 の生成の負荷が、より少ない領域に集中する傾向があります。論文は、節点の重みに基づく負荷分散では、/ と の負荷の配分の間にトレードオフがあると指摘しています。

- ストロングスケーリング 節点の重みを導入すると、重みなしの場合に比べて、加速率と並列化効率の両方が大きく改善します(図 12)。例えば 256 プロセスでの加速率は、重みなしでは約 23、 では約 55 でした。
- この結果の位置付け 論文は、この検証の目的は、最適な節点の重みを決める方法の提案ではなく、適切な計算コストを節点の重みに組み込めば負荷の不均衡を減らせることを示すことであると述べています。また、計算負荷についての追加の情報を同じ一般化したグラフに組み込めることを示して、提案手法の有用性を実証するものであるとしています。
異なる次数の B-spline 基底関数への適用
- 条件 追加の検証(原稿の付録 C)として、グローバルメッシュに 2 次、3 次、4 次の B-spline 基底関数、ローカルメッシュに 1 次の Lagrange 基底関数を用いて、領域分割を行っています。要素数は Mesh 1 と同じ(グローバル要素 125,000、ローカル要素 15,625)で、どの場合も、同じグラフの構築と領域分割の手順で 16 領域に分割します。

- 結果 次数によって節点グラフのつながりは変わりますが、提案手法は、次数ごとの分割の規則を設けることなく、3 つの次数のすべてで領域分割を構築しています(図 13)。論文は、これは提案するグラフに基づく枠組みが、異なる次数の B-spline 基底関数を用いた BSFEM に適用できることを示すと述べています。
今後の展開
論文は、本研究は固定したメッシュの BSFEM に限られていると述べています。今後の課題として、節点の重みの自動的な決定、非線形問題と非定常問題への拡張、従来の重合メッシュ法の定式化や重合格子法(overset methods)を含む、他の複数メッシュの手法への枠組みの一般化を挙げています。
Overview
Engineering simulations often need to resolve localized regions with steep solution gradients, such as crack tips, localized heat sources, and boundary layers, at high spatial resolution while limiting the computational cost. The s-version of the finite element method (SFEM) superimposes a local mesh covering a region of interest on a global mesh representing the entire computational domain, so that high resolution is introduced only where needed without regenerating the global mesh. The authors previously proposed the B-spline based SFEM (BSFEM), which uses highly continuous B-spline basis functions on the global mesh and Lagrange basis functions on the local mesh. Applying SFEM to large-scale three-dimensional problems requires distributed-memory parallel computing. In SFEM, however, interactions between degrees of freedom arise not only within each mesh but also between the two meshes in the overlapping region, so partitioning the meshes independently does not reflect the data dependencies induced by the inter-mesh coupling. The paper states that, to the authors' knowledge, no method had been reported for decomposing a single SFEM discretization and performing distributed-memory parallel computation while accounting for both intra- and inter-mesh interactions.
This paper proposes a parallelization framework that represents the interactions between the basis functions of BSFEM as a single graph. Each computational point associated with a basis function (a node of a Lagrange basis function or a control point of a B-spline basis function) is a graph node, and two graph nodes are connected by an edge when the supports of their basis functions overlap. Because intra- and inter-mesh interactions are expressed in one graph without distinction, an existing graph partitioning library can be applied to the domain decomposition, and the resulting partition determines which process owns each degree of freedom and each element, together with the MPI communication structure. The paper states that, to the authors' knowledge, this is the first domain-decomposition-based distributed-memory parallel computation for an SFEM-based method.
For a three-dimensional steady Poisson benchmark, the relative error remained essentially unchanged when the number of processes was varied from 1 to 256. Strong-scaling tests showed that the generation of the matrices coupling the two meshes is concentrated in the overlapping region, which causes load imbalance and synchronization waiting time and limits the parallel performance. When the matrix-generation costs were incorporated into the node weights of the graph, the total measured time decreased, for example, from 263.7 s to 100.2 s at 32 processes, and the speedup at 256 processes increased from approximately 23 to approximately 55.
Key points
1. A single nodal graph represents both intra- and inter-mesh interactions
In SFEM, a global mesh covers the entire analysis domain (the global domain ), and a local mesh is superimposed on a subdomain where higher resolution is required (the local domain , with ; Figure 1). The two meshes are generated independently and are not required to be conforming. The trial solution is the global component outside the local domain and the sum of the global component and the local component inside it (Eq. (6) of the manuscript).

The Galerkin discretization of the Poisson equation considered in the paper yields the system of linear equations (Eq. (15)) with the following block structure.
Here, is the coefficient matrix, is the vector of the unknown coefficients of the basis functions, and is the right-hand-side vector. The superscripts G and L denote the global and local meshes, so that and are the unknowns and and are the right-hand sides of the respective meshes. represents the interactions within the global mesh and those within the local mesh, whereas and represent the interactions between the global and local meshes in the overlapping region (the paper calls them coupling matrices). In BSFEM, the global mesh uses B-spline basis functions and the local mesh uses Lagrange basis functions. The parallelization method of the paper targets this block matrix structure.
The paper represents the connectivity among the computational points on the finite element meshes as a graph, which it calls the nodal graph. Nodes associated with Lagrange basis functions and control points associated with B-spline basis functions are both treated as computational points corresponding to basis functions and are collectively called nodes. The nodal graph (Eq. (30)) is an undirected graph that includes self-edges, where is the set of all nodes and is the set of edges defined as follows.
Here, is the basis function corresponding to node , and is a point in the analysis domain . That is, two nodes are connected by an edge when their basis functions are simultaneously nonzero at some point, in other words, when the supports of the basis functions overlap (Figure 2).

- Correspondence with the matrix. Each entry of the coefficient matrix is generated from element integration associated with a pair of basis functions, so only pairs of basis functions with overlapping supports can become candidates for nonzero entries. The adjacency relation of the nodal graph therefore corresponds to the candidate nonzero pattern of the coefficient matrix (the entries that should be stored in the sparse matrix as possible nonzero components).
- One definition for all cases. The definition in Eq. (31) applies regardless of whether the two nodes belong to the same mesh and regardless of the type of basis function. The adjacency between B-spline nodes (), between Lagrange nodes (), and between B-spline and Lagrange nodes ( and ) is handled in the same way. The paper states that this generalized graph representation enables existing graph partitioning methods to be applied to BSFEM without treating the individual meshes separately.
2. The graph partition determines the nodes and elements that each process handles
The node set of the nodal graph is partitioned into nonoverlapping subsets (), so that the computational load is balanced among the processes while the amount of interprocess communication is minimized. Each subset is called the internal node set of subdomain , and each subdomain is assigned to one MPI process. The paper uses the graph partitioning library METIS and notes that the proposed framework itself does not depend on a specific partitioning library.
The partitioning removes the edges that cross the subdomain boundaries. Because graph edges represent interactions (data dependencies) between computational points, the computation cannot be closed within each subdomain if these edges are missing. The paper therefore defines, for each subdomain , the adjacent node set and the extended node set as follows (Figure 3).
That is, is the set of nodes that belong to other subdomains and are adjacent to a node of the internal node set , and is the union of the internal node set and the adjacent node set. Each subdomain stores the extended subgraph formed by and the edges connecting its nodes (Eq. (39)). The paper states that this construction makes the data dependencies required for parallel computation, such as matrix generation and local matrix-vector products, available within subdomain .

Element computations are also assigned on the basis of the extended node sets. Let be the set of nodes required to compute element . Element is evaluated in subdomain when the following condition is satisfied.
Elements located near the subdomain boundaries may be evaluated redundantly in multiple subdomains. However, the contributions to the global matrix are assembled only into the rows corresponding to the internal node set owned by each subdomain, so the consistency of the assembly result is preserved.
For the element-wise evaluation of the B-spline basis functions, the paper introduces Bézier extraction, which represents the B-spline basis functions as linear combinations of Bernstein polynomials defined on each element. Each process can then evaluate the B-spline basis functions using only the Bernstein polynomials and the Bézier extraction operators associated with its assigned elements. The paper states that this allows the evaluation to be treated as an element-local operation similar to that in the standard finite element method, which facilitates the domain-decomposed parallel implementation.
3. The same procedure applies regardless of the degree of the basis functions
A B-spline basis function of degree has compact support over knot spans, which correspond to elements when the multiplicity of each internal knot is one. As the degree becomes higher, the basis function of a node overlaps with the basis functions of spatially more distant nodes, and the adjacency range of the node in the nodal graph expands. Because the graph partitioning algorithm determines the cut surfaces while accounting for this expanded adjacency, an appropriate number of layers of elements shared by multiple subdomains is constructed automatically in physical space.

- In Figure 4, the number of layers of shared elements near the subdomain boundaries increases with the degree of the basis functions: one element layer for the linear case, two for the quadratic case, and three for the cubic case.
- The paper states that domain decomposition can thus be performed for B-spline basis functions of arbitrary degree on the basis of the same definition of the nodal graph, without introducing separate rules for constructing the shared-element layers for individual basis functions.
4. The communication required for matrix-vector products also follows from the graph
The system of linear equations is solved by an iterative method (a Krylov subspace method), and the matrix components assigned to each subdomain are stored in a block CSR format. The paper formulates the three elementary operations of iterative solvers, namely vector addition, inner product, and matrix-vector multiplication, on the extended nodal graph of each subdomain. Each node has degrees of freedom (), and a vector on subdomain consists of the components corresponding to the internal node set and the components corresponding to the adjacent node set (Eq. (42)). Note that here denotes a vector to be operated on, not the point in Eq. (31).
- Vector addition. The linear combination of two vectors is computed node by node on the internal nodes and requires no interprocess communication (Eq. (43)).
- Inner product. The local inner product is computed only over the internal components, excluding the adjacent node components, and the results are aggregated over all subdomains by a global MPI communication routine (an allreduce operation), so that no node is counted twice (Eq. (45)).
- Matrix-vector product. For , subdomain computes only the components corresponding to its internal node set.
Here, is the submatrix representing the interactions among the nodes of the internal node set , and is the submatrix representing the interactions between the internal node set and the adjacent node set. The first term can be computed using only the data stored within the subdomain. The second term requires the adjacent node components , which are copies of internal node components owned by neighboring subdomains. Before the matrix-vector product, subdomain therefore receives these components from the subdomains that own the nodes in and updates to the latest values (Figure 5).

5. Matrix-generation costs are put into the node weights to balance the load
When a graph without weights is partitioned, the objective is to balance the number of nodes in each subdomain. In BSFEM, however, the computational cost associated with each element differs significantly because the types of basis functions and the integration algorithms differ among the submatrices , , , and , so balancing the numbers of nodes or elements does not necessarily balance the computational load among the processes. The paper therefore extends the nodal graph to a weighted graph by assigning to each node a positive node weight that represents the computational cost, and solves the following relaxed partitioning problem with METIS.
Here, is the set of edges whose two nodes belong to different subdomains (Eq. (35)) and is the number of such edges, is the sum of the node weights over the internal node set (Eq. (34)), is the total weight of the entire graph, and is the allowable load imbalance ratio. In all analyses of the paper, ().
The node weights are built from element-wise matrix-generation costs, which the paper defines in its Appendix B on the basis of the computational complexity of generating each submatrix.
Here, is the cost for on a global element , is the cost for on a local element , and is the total cost of the coupling terms of and generated from the local element (the coupling matrices are generated by evaluating, at the integration points of the local elements, the interactions between the local basis functions and the corresponding global basis functions). and are the numbers of integration points in an element, and are the numbers of nodes in an element (the superscripts G and L denote the global and local meshes), and is the number of degrees of freedom per node ( for the scalar Poisson problem of the paper). , , and are coefficients that convert the theoretical operation counts into the actual computational load.
These element-wise costs are distributed among the associated nodes and accumulated at each node. The costs for and are uniformly distributed among the nodes of the element, and the cost of the coupling terms is equally divided between the Lagrange nodes and the B-spline nodes. The weight of a B-spline node is given by Eq. (B.4), and the weight of a Lagrange node by Eq. (B.5).
Here, and are the sets of global and local elements that contain node , is the set of all elements of the local mesh, is the set of global elements crossed by the integration points of the local element , is the number of elements in that set, and is an indicator function that takes the value 1 if node belongs to the global element and 0 otherwise. The second term of Eq. (B.4) distributes half of the coupling cost of a local element uniformly among all nodes of the global elements associated with it.
- The paper notes that this distribution is not an exact decomposition of the operation count but an approximate weighting strategy for load balancing.
- The paper states that the optimal ratio among , , and is difficult to determine a priori from theoretical operation counts alone, because the actual computational costs also depend on implementation-level factors such as memory access locality and the frequency of indirect memory accesses. The coefficients are therefore treated as tuning parameters that depend on the implementation and the computational environment, and the weighting choices are evaluated through numerical experiments on the target machine.
Numerical results
The paper first assesses the consistency of the parallel implementation by comparing the errors with respect to an analytical solution for different numbers of subdomains, then evaluates the parallel performance by strong-scaling tests, and finally applies cost-aware static load balancing to the load imbalance identified in the tests. The conditions common to all tests are as follows.
- Computer. The SQUID supercomputer system at Osaka University. The general-purpose CPU nodes consist of 1,520 nodes, each with two Intel Xeon Platinum 8368 processors (Ice Lake, 2.4 GHz, 38 cores) and 256 GB of memory (Table 1 of the manuscript).
- Problem. The three-dimensional steady Poisson equation with Dirichlet boundary conditions on the entire boundary (Eq. (1)), where is the solution and is a prescribed function. The global domain is the cube , on which the local domain is superimposed. Both meshes are constructed so that all elements are cubes.
- Basis functions and integration. Cubic B-spline basis functions with continuity across the internal element boundaries on the global mesh and linear Lagrange basis functions on the local mesh. Numerical integration uses four-point Gauss quadrature in each coordinate direction.
- Solver. The general-purpose parallel linear solver library MONOLIS (Metagraph-Oriented Network for Linear Iterative Solvers) with the biconjugate gradient stabilized (BiCGSTAB) method. The relative residual tolerance is , the maximum number of iterations is the total number of degrees of freedom, and the preconditioner is diagonal scaling, which is independent of the number of subdomains.
- Manufactured solution. The error is evaluated by the method of manufactured solutions with the following solution, whose values are prescribed as Dirichlet conditions on the entire boundary. Here, , , and are the coordinates.
- Error measure. The relative error based on the norm.
Here, is the relative error, is the manufactured solution, and is the SFEM solution, which is in and in ( and are the numerical solutions obtained on the global and local meshes). , , and are auxiliary quantities: is the integral of over , is the integral of over , and is the integral of over .
- Mesh. Mesh 1, whose numbers of computational points and elements are as follows (Table 2 of the manuscript).
| Mesh ID | Computational points (total) | Computational points (global) | Computational points (local) | Elements (total) | Elements (global) | Elements (local) |
|---|---|---|---|---|---|---|
| Mesh 1 | 166,453 | 148,877 | 17,576 | 140,625 | 125,000 | 15,625 |
- Parallel runs. The numbers of parallel processes are 1, 8, 16, 32, 64, 128, and 256. Considering the memory-bandwidth limitation and the memory capacity per compute node, at most 8 processes are placed on each compute node. Each configuration is evaluated three times, and the average is used.
- Performance measures. The speedup (Eq. (50)) and the parallel efficiency (Eq. (51)), where here denotes the number of parallel processes (in the key points above, denoted the index of a subdomain) and is the measured time with processes. The measured components are the matrix generation time and the time required to solve the system of linear equations, and their sum is called the total measured time. The time required for data input/output, for the construction of the basis functions in the reference space, and for the coupling-map search (the search for the global element that contains each integration point of the local elements) is excluded.
Consistency of the parallel implementation
- Conditions. The node weights of the nodal graph are uniformly set to 1. Figure 6 shows an example of the domain decomposition with 32 processes.


- Result. The relative errors are nearly identical for all numbers of processes, and no significant differences attributable to the change in the number of subdomains are observed (Figure 7). The paper states that this result supports the consistency of the proposed parallel implementation for the present benchmark. The paper adds that the domain decomposition leaves the underlying discrete problem unchanged but changes the ownership of degrees of freedom and elements, the distribution of the matrix-assembly work, and the interprocess communication pattern.
Parallel performance and load imbalance with uniform node weights
- Conditions. Strong-scaling tests with the same mesh, numbers of processes, and uniform node weights as above.

The measured times are as follows (Table 3 of the manuscript). is the matrix generation time including the synchronization waiting time, is the linear solver time, and is the total measured time.
| Number of processes | [s] | [s] | [s] | |
|---|---|---|---|---|
| 1 | 1302.9 | 55.4 | 1358.3 | 23.5 |
| 8 | 752.7 | 9.9 | 762.6 | 75.9 |
| 16 | 395.1 | 4.7 | 399.8 | 83.6 |
| 32 | 261.4 | 2.2 | 263.7 | 117.3 |
| 64 | 154.3 | 1.1 | 155.5 | 135.1 |
| 128 | 83.9 | 0.8 | 84.6 | 108.3 |
| 256 | 57.6 | 0.6 | 58.2 | 103.9 |
- Scaling. Both the matrix generation time and the linear solver time decrease as the number of processes increases. Good scalability is obtained for solving the system of linear equations, whereas the speedup for matrix generation is lower and limits the overall parallel performance (Figure 8).
- Times. The linear solver time decreased from 55.4 s at to 0.6 s at , a reduction of approximately 98.9 %. The matrix generation time decreased from 1302.9 s to 57.6 s, a reduction limited to approximately 95.6 %. Matrix generation already accounted for a large fraction of the total measured time at low process counts, and its relative contribution increased further at high process counts; for example, at . The paper concludes that the matrix generation phase is the dominant factor limiting the overall parallel performance.
To identify the cause, the paper measured the breakdown of the time for each process. All processes are synchronized with MPI_Barrier before matrix generation, the generation times of , , and / are measured separately for each process, and all processes are synchronized again after all matrices have been generated. The time from the completion of matrix generation by a process until that process passes this synchronization point is defined as the synchronization waiting time.

- Breakdown. The synchronization waiting time accounts for a substantial fraction of the matrix generation phase (Figure 9). The generation of the coupling matrices and is concentrated in the local region , where the two meshes overlap. With uniform node weights, this localized workload tends to be concentrated in a limited number of subdomains, and the other processes wait for them.
- Finding. The paper concludes that the matrix-generation workload associated with the inter-mesh coupling in BSFEM is spatially nonuniform, that the resulting load imbalance is a major factor limiting the parallel performance, and that the domain decomposition must therefore account not only for the number of nodes but also for the computational workload of matrix generation.
Cost-aware static load balancing
- Conditions. The matrix-generation costs are incorporated into the node weights with , , and . Only , which corresponds to the generation of the coupling matrices, is varied, because the magnitude of this workload relative to the other matrix-generation workloads is not known a priori. For , graph partitioning has no effect, so the value without weights is used as the reference for all weighting conditions.

- Waiting time. Putting the costs into the node weights substantially reduces the synchronization waiting time without substantially changing the matrix-generation time accumulated over all processes (Figure 10). The paper states that the static load balancing is improved.
The total measured time [s] under each weighting condition is as follows (Table 4 of the manuscript).
| Number of processes | No-weight | ||||
|---|---|---|---|---|---|
| 8 | 762.6 | 317.8 | 293.9 | 337.8 | 372.1 |
| 16 | 399.8 | 179.6 | 173.1 | 202.3 | 201.4 |
| 32 | 263.7 | 95.9 | 100.2 | 118.9 | 116.4 |
| 64 | 155.5 | 61.1 | 61.3 | 73.4 | 70.3 |
| 128 | 84.6 | 44.9 | 34.9 | 41.8 | 43.3 |
| 256 | 58.2 | 28.1 | 24.6 | 25.0 | 25.4 |
- Total time. The total measured time is reduced relative to the case without weights for all weighting conditions. For example, at it decreased from 263.7 s without weights to 100.2 s for , a reduction of 163.5 s (approximately 62.0 %).

- Distribution of the workload. As increases, the generation workload of the coupling matrices and is distributed over a larger number of subdomains (Figure 11). The paper explains that a larger assigns relatively larger weights to the nodes involved in the generation of the coupling matrices, which makes these nodes more likely to be distributed among multiple subdomains by the graph partitioning.
- Trade-off. When becomes excessively large, the generation workload of tends to become concentrated in a smaller number of subdomains. The paper points out a trade-off between the workload distributions of / and in load balancing based on node weights.

- Strong scaling. Introducing the node weights substantially improves both the speedup and the parallel efficiency compared with the case without weights (Figure 12). For example, at 256 processes the speedup was approximately 23 without weights and approximately 55 for .
- Position of this result. The paper states that the objective of this verification is not to propose a method for determining optimal node weights but to demonstrate that the load imbalance can be reduced by incorporating appropriate computational costs into the node weights. It adds that the verification demonstrates the utility of the proposed method by showing that additional information on the computational workload can be incorporated into the same generalized graph.
Applicability to different B-spline degrees
- Conditions. As an additional test (Appendix C of the manuscript), domain decomposition is performed with quadratic, cubic, and quartic B-spline basis functions on the global mesh and linear Lagrange basis functions on the local mesh. The numbers of elements are the same as those of Mesh 1 (125,000 global elements and 15,625 local elements), and each case is partitioned into 16 subdomains by the same graph-construction and domain-decomposition procedure.

- Result. Although the connectivity of the nodal graph changes with the degree, the method constructs the domain decomposition for all three B-spline degrees without introducing degree-specific partitioning rules (Figure 13). The paper states that this demonstrates that the proposed graph-based framework can be applied to BSFEM with different B-spline degrees.
Outlook
The paper notes that the present study was limited to BSFEM with fixed meshes. As future work, it lists the automatic determination of the node weights, the extension to nonlinear and unsteady problems, and the generalization of the proposed framework to other multiple-mesh approaches, including conventional SFEM formulations and overset methods.