You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing the field-class module to the solver is arguably done in an odd way.
Might be better to simply take magnetic field object as an argument to the ray / swarm constructors , then save that object as a property of the ray. The field should then be available to the solver through a ray property rather than through a separate object in global scope.
Apart from cleaning up the code, for usage this would allow for easier handling of different B fields within the same script.
The text was updated successfully, but these errors were encountered:
Importing the field-class module to the solver is arguably done in an odd way.
Might be better to simply take magnetic field object as an argument to the ray / swarm constructors , then save that object as a property of the ray. The field should then be available to the solver through a ray property rather than through a separate object in global scope.
Apart from cleaning up the code, for usage this would allow for easier handling of different B fields within the same script.
The text was updated successfully, but these errors were encountered: