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
Core functions are trimmed to performance, the mask generation for inside-outside-edge checks take a lot of time. In most cases users know whether they are inside or outside. One more use of it is to refactor the code to enable the calculation of getM and getJ.
can inside-outside checks be separated from core computation ?
can they be turned on and off in a practical manner ?
Add getM()
Add getJ()
Note
in_out is currently an unused option in magnet_trimesh_field
Alexboiboi
changed the title
inside - outside - edge checks
Add add getM() and getP() - separate inside/outside checks from core functions
Dec 14, 2023
Alexboiboi
changed the title
Add add getM() and getP() - separate inside/outside checks from core functions
Add add getM() and getJ() - separate inside/outside checks from core functions
Dec 15, 2023
Alexboiboi
changed the title
Add add getM() and getJ() - separate inside/outside checks from core functions
Add getM() and getJ() - separate inside/outside checks from core functions
Jan 29, 2024
Core functions are trimmed to performance, the mask generation for inside-outside-edge checks take a lot of time. In most cases users know whether they are inside or outside. One more use of it is to refactor the code to enable the calculation of
getM
andgetJ
.getM()
getJ()
Note
in_out
is currently an unused option inmagnet_trimesh_field
to clarify:
H-field inside for Cylinder and Cylinder Segment does not match #703
Circle
,Polyline
,Triangle
,Dipole
-> what aregetM
andgetJ
outputs ?Sphere
-> cannot use a genericconvert_BHMJ
because ofpolarization/3
factor. What about this factor when calculatinggetM
andgetJ
The text was updated successfully, but these errors were encountered: