38 if (
param ==
"expansion") {
51 if (
dc != 1 &&
dc != 2)
61 }
else if (
param ==
"pml") {
72 }
else if (
param ==
"mode") {
97 else if (
repr ==
"Etran" ||
repr ==
"Et" || (axes &&
repr ==
"E"+axes->getNameForTran()) ||
98 repr ==
"Hlong" ||
repr ==
"Hl" || (axes &&
repr ==
"H"+axes->getNameForLong()))
100 else if (
repr ==
"Elong" ||
repr ==
"El" || (axes &&
repr ==
"E"+axes->getNameForLong()) ||
101 repr ==
"Htran" ||
repr ==
"Ht" || (axes &&
repr ==
"H"+axes->getNameForTran()))
104 throw XMLBadAttrException(reader,
"symmetry",
repr,
"symmetric field component name (maybe you need to specify the geometry first)");
114 else if (
repr ==
"Etran" ||
repr ==
"Et" || (axes &&
repr ==
"E"+axes->getNameForTran()) ||
115 repr ==
"Hlong" ||
repr ==
"Hl" || (axes &&
repr ==
"H"+axes->getNameForLong()) ||
repr ==
"TM")
117 else if (
repr ==
"Elong" ||
repr ==
"El" || (axes &&
repr ==
"E"+axes->getNameForLong()) ||
118 repr ==
"Htran" ||
repr ==
"Ht" || (axes &&
repr ==
"H"+axes->getNameForTran()) ||
repr ==
"TE")
121 throw XMLBadAttrException(reader,
"polarization",
repr,
"existing field component name (maybe you need to specify the geometry first)");
125 }
else if (
param ==
"mirrors") {