对lopsided和kodis进行合并,减少symmetry_bd开销,有0.01~0.02s单步效果

This commit is contained in:
2026-02-08 23:21:54 +08:00
parent f345b0e520
commit c5f8a18ba4
6 changed files with 789 additions and 1240 deletions

View File

@@ -326,7 +326,8 @@ subroutine symmetry_bd(ord,extc,func,funcc,SoA)
funcc(1:extc(1),1:extc(2),1:extc(3)) = func
do i=0,ord-1
funcc(-i,1:extc(2),1:extc(3)) = funcc(i+2,1:extc(2),1:extc(3))*SoA(1)
funcc(-i,1:extc(2),1:extc(3)) = funcc(i+2,1:extc(2),1:extc(3))*SoA(1)
enddo
do i=0,ord-1
funcc(:,-i,1:extc(3)) = funcc(:,i+2,1:extc(3))*SoA(2)