compute magnetic flux density for an object