Fix averaging magnetic materials (#76)
Resolves #76 (closed)
The situation: after any operation with materials we should call SliceStack::setBField
to recalculate real B inside layer.
This can be forgotten.
Is it safer to store in Slice
external field instead of local induction (now Slice::m_B_field
) and calculate local B on each call?
Edited by Mikhail Svechnikov