function [phy, cfg] = case_config() %CASE_CONFIG 本算例唯一配置:改这里即可同步 main.m 与 JSON 导出。 % % 0.8 m 细网格,对应 C++ scat3D / sbc3d.json phy.eps = [1 1.5]; phy.mur = [1 1]; phy.lda0 = 0.8; phy.out = [1 2 3 5 14]; phy.inc = [4]; phy.Einc = [1; 0; 0]; cfg.FemType = 4; cfg.EletricType = 2; cfg.NbrBoundary = 14; cfg.BoundaryFlag = [0, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 2]; cfg.MeshFile = 'SBCmesh.dat'; cfg.OutFile = './OutFile'; cfg.jsonFile = 'sbc3d.json'; cfg.meshMatFile = 'SBCmesh.mat'; % main.m 读网格用 end