tardis.transport.montecarlo.vpacket module

class tardis.transport.montecarlo.vpacket.VPacket(*args, **kwargs)[source]

Bases: VPacket

class_type = jitclass.VPacket#7faea7ff9730<r:float64,mu:float64,nu:float64,energy:float64,next_line_id:int64,current_shell_id:int64,status:int64,index:int64>
tardis.transport.montecarlo.vpacket.trace_vpacket(v_packet, numba_radial_1d_geometry, time_explosion, opacity_state, tau_russian, survival_probability, enable_full_relativity)[source]

Trace single vpacket.

Parameters:
v_packet
time_explosion
opacity_state
Returns:
tardis.transport.montecarlo.vpacket.trace_vpacket_volley(r_packet, vpacket_collection, numba_radial_1d_geometry, time_explosion, opacity_state, enable_full_relativity, tau_russian, survival_probability)[source]

Shoot a volley of vpackets (the vpacket collection specifies how many) from the current position of the rpacket.

Parameters:
r_packet[type]

[description]

vpacket_collection[type]

[description]

numba_radial_1d_geometry[type]

[description]

time_explosion[type]

[description]

opacity_state[type]

[description]

tardis.transport.montecarlo.vpacket.trace_vpacket_within_shell(v_packet, numba_radial_1d_geometry, time_explosion, opacity_state, enable_full_relativity)[source]

Trace VPacket within one shell (relatively simple operation)