25 lines
680 B
Matlab
25 lines
680 B
Matlab
function [phy, cfg] = case_config()
|
||
%CASE_CONFIG 3D 一阶 + 单方向周期(main_singlePBC.m,有损介质)。
|
||
|
||
phy.eps = [1 1 (2.438-24.77i)^2 (1.39-0.00035i)^2 1 1 (2.438-24.77i)^2 (2.438-24.77i)^2 (2.438-24.77i)^2];
|
||
phy.mur = [1 1 1 1 1 1 1 1 1];
|
||
phy.lda0 = 4e-6;
|
||
phy.out = [3];
|
||
phy.inc = [16];
|
||
phy.Einc = [1; 1i; 0];
|
||
phy.src = [1 4 7 10 13];
|
||
phy.dst = [54 55 56 57 58];
|
||
|
||
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 = 'singlePBC_mesh.dat';
|
||
cfg.OutFile = './OutFile';
|
||
cfg.jsonFile = '';
|
||
cfg.meshMatFile = 'singlePBC_mesh.mat';
|
||
cfg.pbcWaveVec = [2e-6; 0; 0];
|
||
cfg.pbcPhi = 1;
|
||
|
||
end
|