Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magnetic material properties & plate objects #158

Open
craig-warren opened this issue May 18, 2018 · 1 comment
Open

Magnetic material properties & plate objects #158

craig-warren opened this issue May 18, 2018 · 1 comment
Assignees
Labels

Comments

@craig-warren
Copy link
Member

We recently noticed a bug in the code concerning the setting of magnetic material properties for #plate objects. When a plate is specified the electric material properties of the #material used are assigned to electric field components that make up the plate, and the magnetic material properties were assigned to incorrect magnetic field components.

Some thought needs to be given on the best design for the code to allow users to separately specify setting material properties for electric and magnetic field components for #edge and #plate objects. For example, as we have seen there is no clear method for setting both electric and magnetic properties on a #plate object. Perhaps separate #plate_electric and #plate_magnetic commands, or a flag on the existing command to indicate electric or magnetic building. This is something we will look into.

This bug would have affected anyone combining a materials with magnetic properties and the plate command.

For now, we have updated the code (c13fbb2#diff-0c31f357656dc5640678b6a63583dee9) to remove the setting of magnetic properties for the plate command (only electric properties are set), which makes its behaviour consistent with the #edge command which only sets electric material properties.

N.B: No volumetric (3D) objects are affected by this issue.

@veer11997
Copy link

@craig-warren Hello i would like take the issue to solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants