From c2b676abf28226226f1118f0ed67cf26bb32ecf8 Mon Sep 17 00:00:00 2001 From: CGH0S7 <776459475@qq.com> Date: Sat, 28 Feb 2026 11:02:27 +0800 Subject: [PATCH] =?UTF-8?q?bssn=5Frhs=5Fc:=20=E8=9E=8D=E5=90=88A^{ij}?= =?UTF-8?q?=E5=8D=87=E6=8C=87=E6=A0=87+Gamma=5Frhs=5Fpart1=E4=B8=A4?= =?UTF-8?q?=E5=BE=AA=E7=8E=AF=E4=B8=BA=E4=B8=80=E5=BE=AA=E7=8E=AF=20(Modif?= =?UTF-8?q?y=203)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A^{ij}六分量保留在局部标量中直接复用于Gamma_rhs计算,减少Rxx..Ryz数组的额外读取 Co-Authored-By: Claude Opus 4.6 (1M context) --- AMSS_NCKU_source/bssn_rhs_c.C | 58 ++++++++++++++++------------------- 1 file changed, 26 insertions(+), 32 deletions(-) diff --git a/AMSS_NCKU_source/bssn_rhs_c.C b/AMSS_NCKU_source/bssn_rhs_c.C index 26f8486..b938034 100644 --- a/AMSS_NCKU_source/bssn_rhs_c.C +++ b/AMSS_NCKU_source/bssn_rhs_c.C @@ -249,80 +249,74 @@ int f_compute_rhs_bssn(int *ex, double &T, + lg_yz*gyyz[i] + lg_zz*gzzy[i] ); } - // 1.8ms // + // Fused: A^{ij} raise-index + Gamma_rhs part 1 (2 loops -> 1) for (int i=0;i