xhorizon.shell_junction.passive_slice_class module
This module defines a class used for evaluating coordinate transformations at null shell junctions.
- class xhorizon.shell_junction.passive_slice_class.passive_slice(reg, ublocks=[], vblocks=[], r0=nan, u0=nan, v0=nan, mu=0.0, r_refs=[])
Bases:
objectSimilar to active slice, except instead of setting new U(udl) and V(vdl) function, this one merely reads the existing ones. This is used to obtain functions to act as input for active slice U0,V0 params.
- U_of_udl_at_v0(udl)
Evaluate the function U(udl,vdl0) by interpolating from stored reference values. Smooth interpolation and extrapolation handled by interpolators module.
- V_of_vdl_at_u0(vdl)
Evaluate the function V(udl0,vdl) by interpolating from stored reference values. Smooth interpolation and extrapolation handled by interpolators module.
- U_of_r_at_v0(r)
Evaluate the function U(r) at v0 by interpolating from stored reference values. Smooth interpolation and extrapolation handled by interpolators module. Setting mu to nan because this should not be extrapolated.
- V_of_r_at_u0(r)
Evaluate the function V(r) at u0 by interpolating from stored reference values. Smooth interpolation and extrapolation handled by interpolators module. Setting mu to nan because this should not be extrapolated.
- udl_of_U_at_v0(U)
Untested. Inverse of U(udl).
- vdl_of_V_at_u0(V)
Untested. Inverse of V(vdl).