ComponentParallelPlate
- GetMedium: check if the point is in a gas gap; return
nullptr
if it isn't - Remove unused variables and enum.
- Use
std::vector<bool> m_conductive
instead ofstd::vector<int> m_sigmaIndex
to keep track of which layers are conductive. - Make
m_d
a local variable and renamem_dHolder
tom_d
.