tetrax package#
Subpackages#
Submodules#
tetrax.geometries module#
- tetrax.geometries.polygonal_cross_section(points, lc=5)#
- tetrax.geometries.rectangle(a, b, lc=5)#
- tetrax.geometries.rectangle_cross_section(a, b, lc_a=5, lc_b=5)#
Creates a mesh with rectangular cross section.
- Parameters
- alength
- bwidth
- lc_acharacteristic mesh length long a
- lc_bcharacteristic mesh length long b
- tetrax.geometries.round_wire_cross_section(R, lc=5)#
- tetrax.geometries.tube_cross_section(r, R, lc=5)#
tetrax.vectorfields module#
- tetrax.vectorfields.helical(xyz, Theta, chi)#
- tetrax.vectorfields.homogeneous(xyz, theta, phi)#
Initializes homogeneous magnetization state.
xyz : coordinates of the nodes (sample vector) theta, phi : the required direction in spherical coordinates
- tetrax.vectorfields.neel_tube(xyz, chi)#
- tetrax.vectorfields.onion_tube_axial(xyz, pol_y=1, pol_n=1, pol_s=1, delta=5)#
Onion state with domain wall along y at x = 0. The domain walls rotating on a cylinder (not in radial direction).
pol_y : polarization of state in y direction (1 or -1) delta : thickness of domain walls (default is 5) pol_n : polarity (z) of domain wall in y > 0 region pol_s : polarity (z) of domain wall in y < 0 region
- tetrax.vectorfields.radial(xyz, p)#
- tetrax.vectorfields.vortex(xyz, chi, p)#
vortex state