Contents
Tutorials
API Reference
BiotSavart
BoozerMagneticField
ChebyshevInterpolationRule
Coil
Current
CurrentBase
Curve
CurvePlanarFourier
CurveRZFourier
CurveXYZFourier
DommaschkB()
DommaschkdB()
GPMO_ArbVec()
GPMO_ArbVec_backtracking()
GPMO_backtracking()
GPMO_baseline()
GPMO_multi()
GSCO()
InterpolatedBoozerField
InterpolatedField
InterpolationRule
IterationStoppingCriterion
LevelsetStoppingCriterion
MagneticField
MaxRStoppingCriterion
MaxToroidalFluxStoppingCriterion
MaxZStoppingCriterion
MinRStoppingCriterion
MinToroidalFluxStoppingCriterion
MinZStoppingCriterion
MwPGP_algorithm()
RegularGridInterpolant3D
ReimanB()
ReimandB()
StoppingCriterion
Surface
SurfaceRZFourier
SurfaceXYZFourier
SurfaceXYZTensorFourier
ToroidalTransitStoppingCriterion
UniformInterpolationRule
WireframeField
biot_savart()
biot_savart_B()
biot_savart_vector_potential_vjp_graph()
biot_savart_vjp()
biot_savart_vjp_graph()
boozer_dresidual_dc()
boozer_residual()
boozer_residual_ds()
boozer_residual_ds2()
compute_kmnc_kmns()
compute_kmns()
compute_linking_number()
define_a_uniform_cartesian_grid_between_two_toroidal_surfaces()
dipole_field_A()
dipole_field_B()
dipole_field_Bn()
dipole_field_dA()
dipole_field_dB()
fieldline_tracing()
fourier_transform_even()
fourier_transform_odd()
get_phi()
get_pointclouds_closer_than_threshold_between_two_collections()
get_pointclouds_closer_than_threshold_within_collection()
integral_BdotN()
inverse_fourier_transform_even()
inverse_fourier_transform_odd()
matmult()
particle_fullorbit_tracing()
particle_guiding_center_boozer_tracing()
particle_guiding_center_tracing()
vjp()
Array
MYIF
biot_savart_kernel()
biot_savart_kernel_A()
std
biot_savart_vjp_kernel()
biot_savart_vector_potential_vjp_kernel()
Tensor1
Tensor2
Tensor3
Tensor4
BoozerMagneticField()
invalidate_cache()
set_points()
get_points()
get_points_ref()
K_ref()
K_derivs_ref()
dKdtheta_ref()
dKdzeta_ref()
nu_ref()
dnudtheta_ref()
dnudzeta_ref()
dnuds_ref()
nu_derivs_ref()
R_ref()
dRdtheta_ref()
dRdzeta_ref()
dRds_ref()
R_derivs_ref()
Z_ref()
dZdtheta_ref()
dZdzeta_ref()
dZds_ref()
Z_derivs_ref()
modB_ref()
dmodBdtheta_ref()
dmodBdzeta_ref()
dmodBds_ref()
modB_derivs_ref()
d2modBdtheta2_ref()
d2modBdzeta2_ref()
d2modBdthetadzeta_ref()
I_ref()
G_ref()
psip_ref()
iota_ref()
dGds_ref()
dIds_ref()
diotads_ref()
K()
dKdtheta()
dKdzeta()
K_derivs()
nu()
dnudtheta()
dnudzeta()
dnuds()
nu_derivs()
R()
Z()
dRdtheta()
dZdtheta()
dRdzeta()
dZdzeta()
dRds()
dZds()
R_derivs()
Z_derivs()
modB()
dmodBdtheta()
dmodBdzeta()
dmodBds()
modB_derivs()
d2modBdtheta2()
d2modBdzeta2()
d2modBdthetadzeta()
G()
I()
psip()
iota()
dGds()
dIds()
diotads()
psi0
_set_points_cb()
_K_impl()
_dKdtheta_impl()
_dKdzeta_impl()
_K_derivs_impl()
_nu_impl()
_dnudtheta_impl()
_dnudzeta_impl()
_dnuds_impl()
_nu_derivs_impl()
_R_impl()
_Z_impl()
_dRdtheta_impl()
_dZdtheta_impl()
_dRdzeta_impl()
_dZdzeta_impl()
_dRds_impl()
_dZds_impl()
_R_derivs_impl()
_Z_derivs_impl()
_modB_impl()
_d2modBdthetadzeta_impl()
_d2modBdzeta2_impl()
_d2modBdtheta2_impl()
_dmodBdtheta_impl()
_dmodBdzeta_impl()
_dmodBds_impl()
_modB_derivs_impl()
_I_impl()
_G_impl()
_dIds_impl()
_dGds_impl()
_psip_impl()
_iota_impl()
_diotads_impl()
_set_points()
points
data_modB
data_dmodBdtheta
data_dmodBdzeta
data_dmodBds
data_modB_derivs
data_G
data_iota
data_dGds
data_diotads
data_psip
data_I
data_dIds
data_R
data_Z
data_nu
data_K
data_dRdtheta
data_dRdzeta
data_dRds
data_R_derivs
data_dZdtheta
data_dZdzeta
data_dZds
data_Z_derivs
data_dnudtheta
data_dnudzeta
data_dnuds
data_nu_derivs
data_dKdtheta
data_dKdzeta
data_K_derivs
data_d2modBdtheta2
data_d2modBdzeta2
data_d2modBdthetadzeta
npoints
InterpolatedBoozerField()
estimate_error_modB()
estimate_error_K()
estimate_error_R()
estimate_error_Z()
estimate_error_nu()
estimate_error_G()
estimate_error_I()
estimate_error_iota()
field
s_range
theta_range
zeta_range
angle0_range
rule
exploit_fluxfunction_points()
exploit_symmetries_points()
apply_odd_symmetry()
apply_even_symmetry()
fbatch_scalar()
points_cyl_sym
interp_modB
interp_dmodBdtheta
interp_dmodBdzeta
interp_dmodBds
interp_G
interp_iota
interp_dGds
interp_I
interp_dIds
interp_diotads
interp_psip
interp_R
interp_Z
interp_nu
interp_K
interp_dRdtheta
interp_dRdzeta
interp_dRds
interp_dZdtheta
interp_dZdzeta
interp_dZds
interp_dnudtheta
interp_dnudzeta
interp_dnuds
interp_dKdtheta
interp_dKdzeta
interp_K_derivs
interp_nu_derivs
interp_R_derivs
interp_Z_derivs
interp_modB_derivs
interp_d2modBdtheta2
interp_d2modBdzeta2
interp_d2modBdthetadzeta
status_modB
status_dmodBdtheta
status_dmodBdzeta
status_dmodBds
status_G
status_I
status_iota
status_dGds
status_dIds
status_diotads
status_psip
status_R
status_Z
status_nu
status_K
status_dRdtheta
status_dRdzeta
status_dRds
status_dZdtheta
status_dZdzeta
status_dZds
status_dnudtheta
status_dnudzeta
status_dnuds
status_dKdtheta
status_dKdzeta
status_K_derivs
status_R_derivs
status_Z_derivs
status_nu_derivs
status_modB_derivs
status_d2modBdtheta2
status_d2modBdthetadzeta
status_d2modBdzeta2
extrapolate
stellsym
nfp
symmetries
boozer_residual_impl()
Cache
get_status()
get_or_create()
get_or_create_and_fill()
cache
CachedArray
CachedArray()
data
status
CachedTensor
Shape
CachedTensor()
T
dims
Coil()
curve
current
get_value()
~CurrentBase()
Current()
set_dofs()
get_dofs()
value
curve_vjp_contraction()
Curve()
least_squares_fit()
num_dofs()
set_dofs_impl()
gamma_impl()
gammadash_impl()
gammadashdash_impl()
gammadashdashdash_impl()
dgamma_by_dcoeff_impl()
dgammadash_by_dcoeff_impl()
dgammadashdash_by_dcoeff_impl()
dgammadashdashdash_by_dcoeff_impl()
kappa_impl()
dkappa_by_dcoeff_impl()
torsion_impl()
dtorsion_by_dcoeff_impl()
incremental_arclength_impl()
dincremental_arclength_by_dcoeff_impl()
gamma()
gammadash()
gammadashdash()
gammadashdashdash()
dgamma_by_dcoeff()
dgammadash_by_dcoeff()
dgammadashdash_by_dcoeff()
dgammadashdashdash_by_dcoeff()
dgamma_by_dcoeff_vjp_impl()
dgammadash_by_dcoeff_vjp_impl()
dgammadashdash_by_dcoeff_vjp_impl()
dgammadashdashdash_by_dcoeff_vjp_impl()
kappa()
dkappa_by_dcoeff()
torsion()
dtorsion_by_dcoeff()
incremental_arclength()
dincremental_arclength_by_dcoeff()
~Curve()
numquadpoints
quadpoints
check_the_cache()
check_the_persistent_cache()
qr
cache_persistent
CurvePlanarFourier()
order
rc
rs
q
center
inv_magnitude()
CurveXYZFourier()
dofs
PyArray
MagneticField()
set_points_cyl()
set_points_cart()
get_points_cyl()
get_points_cyl_ref()
get_points_cart()
get_points_cart_ref()
B_ref()
dB_by_dX_ref()
d2B_by_dXdX_ref()
B()
dB_by_dX()
d2B_by_dXdX()
A_ref()
dA_by_dX_ref()
d2A_by_dXdX_ref()
A()
dA_by_dX()
d2A_by_dXdX()
B_cyl()
B_cyl_ref()
A_cyl()
A_cyl_ref()
AbsB()
AbsB_ref()
GradAbsB()
GradAbsB_ref()
GradAbsB_cyl()
GradAbsB_cyl_ref()
get_points_cyl_impl()
get_points_cart_impl()
_AbsB_impl()
_GradAbsB_impl()
_B_cyl_impl()
_A_cyl_impl()
_GradAbsB_cyl_impl()
_B_impl()
_dB_by_dX_impl()
_d2B_by_dXdX_impl()
_A_impl()
_dA_by_dX_impl()
_d2A_by_dXdX_impl()
points_cart
points_cyl
data_B
data_A
data_GradAbsB
data_AbsB
data_Bcyl
data_Acyl
data_GradAbsBcyl
data_dB
data_dA
data_ddB
data_ddA
BiotSavart()
compute()
compute_A()
fieldcache_get_or_create()
fieldcache_get_status()
coils
fill_points()
field_cache
pointsx
pointsy
pointsz
InterpolatedField()
estimate_error_B()
estimate_error_GradAbsB()
r_range
phi_range
z_range
apply_symmetries_to_B_cyl()
apply_symmetries_to_GradAbsB_cyl()
fbatch_B
fbatch_GradAbsB
interp_B
interp_GradAbsB
status_B
status_GradAbsB
WireframeField()
nodes
segments
seg_signs
currents
wireframe_field_kernel()
surface_vjp_contraction()
Surface()
fit_to_curve()
scale()
_extend_via_normal_for_nonuniform_phi()
extend_via_projected_normal()
gamma_lin()
gammadash1_impl()
gammadash2_impl()
gammadash1dash1_impl()
gammadash1dash2_impl()
gammadash2dash2_impl()
dgammadash1_by_dcoeff_impl()
dgammadash2_by_dcoeff_impl()
dgammadash2dash2_by_dcoeff_impl()
dgammadash1dash2_by_dcoeff_impl()
dgammadash1dash1_by_dcoeff_impl()
dgamma_by_dcoeff_vjp()
dgammadash1_by_dcoeff_vjp()
dgammadash2_by_dcoeff_vjp()
surface_curvatures_impl()
dsurface_curvatures_by_dcoeff_impl()
first_fund_form_impl()
dfirst_fund_form_by_dcoeff_impl()
second_fund_form_impl()
dsecond_fund_form_by_dcoeff_impl()
normal_impl()
dnormal_by_dcoeff_impl()
d2normal_by_dcoeffdcoeff_impl()
dnormal_by_dcoeff_vjp()
unitnormal_impl()
dunitnormal_by_dcoeff_impl()
area()
darea_by_dcoeff_impl()
d2area_by_dcoeffdcoeff_impl()
volume()
dvolume_by_dcoeff_impl()
d2volume_by_dcoeffdcoeff_impl()
gammadash1()
gammadash2()
gammadash1dash1()
gammadash1dash2()
gammadash2dash2()
dgammadash1dash1_by_dcoeff()
dgammadash1dash2_by_dcoeff()
dgammadash2dash2_by_dcoeff()
surface_curvatures()
dsurface_curvatures_by_dcoeff()
first_fund_form()
dfirst_fund_form_by_dcoeff()
second_fund_form()
dsecond_fund_form_by_dcoeff()
dgammadash1_by_dcoeff()
dgammadash2_by_dcoeff()
normal()
dnormal_by_dcoeff()
d2normal_by_dcoeffdcoeff()
unitnormal()
dunitnormal_by_dcoeff()
darea_by_dcoeff()
d2area_by_dcoeffdcoeff()
dvolume_by_dcoeff()
d2volume_by_dcoeffdcoeff()
~Surface()
numquadpoints_phi
numquadpoints_theta
quadpoints_phi
quadpoints_theta
SurfaceRZFourier()
allocate()
zc
zs
mpol
ntor
SurfaceXYZFourier()
get_coeff()
xc
xs
yc
ys
SurfaceXYZTensorFourier()
x
y
z
cache_basis_fun_phi
cache_basis_fun_phi_dash
cache_basis_fun_phi_dashdash
cache_basis_fun_theta
cache_basis_fun_theta_dash
cache_basis_fun_theta_dashdash
cache_enforcer
cache_enforcer_dphi
cache_enforcer_dtheta
cache_enforcer_dphidphi
cache_enforcer_dthetadtheta
clamped_dims
build_cache()
apply_bc_enforcer()
bc_enforcer_fun()
bc_enforcer_dphi_fun()
bc_enforcer_dphidphi_fun()
bc_enforcer_dtheta_fun()
bc_enforcer_dthetadtheta_fun()
basis_fun()
basis_fun_dphi()
basis_fun_dphidphi()
basis_fun_dtheta()
basis_fun_dthetadphi()
basis_fun_dthetadtheta()
basis_fun_phi()
basis_fun_phi_dash()
basis_fun_phi_dashdash()
basis_fun_theta()
basis_fun_theta_dash()
basis_fun_theta_dashdash()
skip()
projection_L2_balls()
phi_MwPGP()
beta_tilde()
g_reduced_gradient()
g_reduced_projected_gradient()
find_max_alphaf()
print_MwPGP()
print_GPMO()
connectivity_matrix()
initialize_GPMO_ArbVec()
IntArray
record_iter()
print_iter()
compute_f_S()
check_eligibility()
Vec
RangeTriplet
linspace()
InterpolationRule()
scalings
degree
build_scalings()
RegularGridInterpolant3D()
interpolate_batch()
evaluate()
evaluate_batch()
estimate_error()
idx_dof()
idx_cell()
idx_mesh()
idx_dof_local()
locate_unsafe()
evaluate_inplace()
evaluate_local()
nx
ny
nz
hx
hy
hz
xmin
ymin
zmin
xmax
ymax
zmax
value_size
out_of_bounds_ok
xmesh
ymesh
zmesh
xdof
ydof
zdof
xdoftensor_reduced
ydoftensor_reduced
zdoftensor_reduced
vals
all_local_vals_map
skip_cell
reduced_to_full_map
full_to_reduced_map
cells_to_skip
cells_to_keep
dofs_to_skip
dofs_to_keep
local_vals_size
pkxs
pkys
pkzs
padded_value_size
simdcount
UniformInterpolationRule()
ChebyshevInterpolationRule()
_USE_MATH_DEFINES
_EPS_
AlignedPaddedVec
rsqrt()
AlignedPaddedAllocator
value_type
AlignedPaddedAllocator()
deallocate()
ALIGNMENT
AlignedPaddedAllocator::rebind
other
Vec3d
inner()
cross()
norm()
normsq()
ALIGN_BYTES
Vec3dStd
Vec3dStd()
store_aligned()
operator[]()
operator+=()
operator-=()
operator*=()
operator+
operator-
operator*
operator()()
~StoppingCriterion()
ToroidalTransitStoppingCriterion()
max_transits
phi_last
phi_init
flux
MaxToroidalFluxStoppingCriterion()
max_s
MinToroidalFluxStoppingCriterion()
min_s
MinZStoppingCriterion()
crit_z
MaxZStoppingCriterion()
MinRStoppingCriterion()
crit_r
MaxRStoppingCriterion()
IterationStoppingCriterion()
max_iter
LevelsetStoppingCriterion()
levelset
Developer Reference
Please activate JavaScript to enable the search functionality.