Treecode solver for the calculation of demagnetizing field in general domains.

Zixuan Cui1, Lei Yang2, Guanghui Hu3

  • 1Macau University of Science and Technology, School of Computer Science and Engineering, Macao SAR, China.

Physical Review. E
|December 23, 2025
PubMed
Summary

This study introduces an efficient O(Nlog_{8}N) treecode algorithm for micromagnetic simulations. The new method optimizes demagnetizing field calculations, improving the simulation of magnetic skyrmions.

Related Concept Videos

Electrostatic Boundary Conditions in Dielectrics01:27

Electrostatic Boundary Conditions in Dielectrics

When an electric field passes from one homogeneous medium to another, crossing the boundary between the two mediums imparts a discontinuity in the electric field. This results in electrostatic boundary conditions that depend on the type of mediums the field propagates through.
Consider a case where both the mediums across a boundary are two different dielectric materials. Recall that the electric field and electric displacement are proportional and related through the material's permittivity....
1.8K
Magnetostatic Boundary Conditions01:28

Magnetostatic Boundary Conditions

An electric field suffers a discontinuity at a surface charge. Similarly, a magnetic field is discontinuous at a surface current. The perpendicular component of a magnetic field is continuous across the interface of two magnetic mediums. In contrast, its parallel component, perpendicular to the current, is discontinuous by the amount equal to the product of the vacuum permeability and the surface current. Like the scalar potential in electrostatics, the vector potential is also continuous...
1.6K
Calculation of Self-inductance01:29

Calculation of Self-inductance

The self-inductance of a circuit, often simply called the inductance, is a purely geometric factor that depends only on the circuit component's structure. More specifically, it depends on the shape and size of the component that lets the flux pass through it, thus inducing an electric field that opposes any current passing through it.
Since the effect of the induced electric field and the back EMF generated depends on the rate of change of current and the self-inductance, the inductance...
758
Magnetic Field due to Moving Charges01:23

Magnetic Field due to Moving Charges

A stationary charge creates and interacts with the electric field, while a moving charge creates a magnetic field.
Consider a point charge moving with a constant velocity. Like the electric field, the magnetic field at any point is directly proportional to the magnitude of the charge and inversely proportional to the square of the distance between the source point and the field point. However, unlike the electric field, the magnetic field is always perpendicular to the plane containing the line...
11.4K
Magnetic Field of a Solenoid01:18

Magnetic Field of a Solenoid

A solenoid is a conducting wire coated with an insulating material, wound tightly in the form of a helical coil. The magnetic field due to a solenoid is the vector sum of the magnetic fields due to its individual turns. Therefore, for an ideal solenoid, the magnetic field within the solenoid is directly proportional to the number of turns per unit length and the current. Conversely, the magnetic field outside the solenoid is zero.
Consider a solenoid with 100 turns wrapped around a cylinder of...
5.6K
Magnetic Fields01:27

Magnetic Fields

A moving charge or a current creates a magnetic field in the surrounding space, in addition to its electric field. The magnetic field exerts a force on any other moving charge or current that is present in the field. Like an electric field, the magnetic field is also a vector field. At any position, the direction of the magnetic field is defined as the direction in which the north pole of a compass needle points.
A magnetic field is defined by the force that a charged particle experiences...
7.1K