@@ -973,9 +973,7 @@ TEST_CASE("ConcretizeDefaults", "[config][Serial]")
973973 {" Thickness" , 1.0e-9 },
974974 {" Permittivity" , 4.0 },
975975 {" LossTan" , 0.002 }}}}}}}},
976- {" Solver" ,
977- {{" Driven" , {{" MinFreq" , 1.0 }, {" MaxFreq" , 2.0 }, {" FreqStep" , 0.1 }}},
978- {" Linear" , {{" Type" , " SuperLU" }}}}}};
976+ {" Solver" , {{" Driven" , {{" MinFreq" , 1.0 }, {" MaxFreq" , 2.0 }, {" FreqStep" , 0.1 }}}}}};
979977
980978 IoData iodata1 (config, false );
981979 config = IoData::ConcretizeDefaults (iodata1, config);
@@ -1152,13 +1150,12 @@ TEST_CASE("ConcretizeDefaults", "[config][Serial]")
11521150 SECTION (" Round-trip: WavePort defaulted fields are reproducible" )
11531151 {
11541152 // Index, Attributes are required at parse; only defaulted fields need verification.
1155- json config = {{" Problem" , {{" Type" , " Driven" }, {" Output" , " test_output" }}},
1156- {" Model" , {{" Mesh" , " test.msh" }}},
1157- {" Domains" , {{" Materials" , {{{" Attributes" , {1 }}}}}}},
1158- {" Boundaries" , {{" WavePort" , {{{" Index" , 1 }, {" Attributes" , {2 }}}}}}},
1159- {" Solver" ,
1160- {{" Driven" , {{" MinFreq" , 1.0 }, {" MaxFreq" , 2.0 }, {" FreqStep" , 0.1 }}},
1161- {" Linear" , {{" Type" , " SuperLU" }}}}}};
1153+ json config = {
1154+ {" Problem" , {{" Type" , " Driven" }, {" Output" , " test_output" }}},
1155+ {" Model" , {{" Mesh" , " test.msh" }}},
1156+ {" Domains" , {{" Materials" , {{{" Attributes" , {1 }}}}}}},
1157+ {" Boundaries" , {{" WavePort" , {{{" Index" , 1 }, {" Attributes" , {2 }}}}}}},
1158+ {" Solver" , {{" Driven" , {{" MinFreq" , 1.0 }, {" MaxFreq" , 2.0 }, {" FreqStep" , 0.1 }}}}}};
11621159
11631160 IoData iodata1 (config, false );
11641161 config = IoData::ConcretizeDefaults (iodata1, config);
@@ -1188,13 +1185,12 @@ TEST_CASE("ConcretizeDefaults", "[config][Serial]")
11881185 {
11891186 // Attributes is required at parse; physical properties (mu_r, epsilon_r, tandelta,
11901187 // sigma, lambda_L) all have scalar defaults that must survive concretize → reparse.
1191- json config = {{" Problem" , {{" Type" , " Driven" }, {" Output" , " test_output" }}},
1192- {" Model" , {{" Mesh" , " test.msh" }}},
1193- {" Domains" , {{" Materials" , {{{" Attributes" , {1 }}}}}}},
1194- {" Boundaries" , json::object ()},
1195- {" Solver" ,
1196- {{" Driven" , {{" MinFreq" , 1.0 }, {" MaxFreq" , 2.0 }, {" FreqStep" , 0.1 }}},
1197- {" Linear" , {{" Type" , " SuperLU" }}}}}};
1188+ json config = {
1189+ {" Problem" , {{" Type" , " Driven" }, {" Output" , " test_output" }}},
1190+ {" Model" , {{" Mesh" , " test.msh" }}},
1191+ {" Domains" , {{" Materials" , {{{" Attributes" , {1 }}}}}}},
1192+ {" Boundaries" , json::object ()},
1193+ {" Solver" , {{" Driven" , {{" MinFreq" , 1.0 }, {" MaxFreq" , 2.0 }, {" FreqStep" , 0.1 }}}}}};
11981194
11991195 IoData iodata1 (config, false );
12001196 config = IoData::ConcretizeDefaults (iodata1, config);
0 commit comments