22 lines
521 B
Matlab
22 lines
521 B
Matlab
function [phy, cfg] = case_config()
|
||
%CASE_CONFIG 3D 二阶 Nedelec + SBC 散射(λ=2 m,与一阶粗网格算例同几何)。
|
||
|
||
phy.eps = [1 1.5];
|
||
phy.mur = [1 1];
|
||
phy.lda0 = 2;
|
||
phy.out = [1 2 3 5 14];
|
||
phy.inc = [4];
|
||
phy.Einc = [1; 0; 0];
|
||
|
||
cfg.FemType = 4;
|
||
cfg.EletricType = 2;
|
||
cfg.ElementOrder = 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_order2.json';
|
||
cfg.meshMatFile = 'SBCmesh.mat';
|
||
|
||
end
|