Skip to content

Fix averaging magnetic materials (#76)

Mikhail Svechnikov requested to merge i76 into main

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

Merge request reports