tardis.model.geometry.radial1d module¶
- class tardis.model.geometry.radial1d.HomologousRadial1DGeometry(v_inner, v_outer, v_inner_boundary, v_outer_boundary, time_explosion)[source]¶
Bases:
object
Holds information about model geometry for radial 1D models.
- Parameters:
- v_innerastropy.units.quantity.Quantity
- v_outerastropy.units.quantity.Quantity
- v_inner_boundaryastropy.units.quantity.Quantity
- v_outer_boundaryastropy.units.quantity.Quantity
- Attributes:
volume
astropy.units.quantity.QuantityVolume in shell computed from r_outer and r_inner
- property no_of_shells¶
- property no_of_shells_active¶
- property r_inner¶
- property r_inner_active¶
- property r_middle¶
- property r_middle_active¶
- property r_outer¶
- property r_outer_active¶
- to_numba()[source]¶
Returns a new NumbaRadial1DGeometry object
- Returns:
- NumbaRadial1DGeometry
Numba version of Radial1DGeometry with properties in cgs units
- property v_inner_active¶
- property v_inner_boundary_index¶
- property v_middle¶
- property v_middle_active¶
- property v_outer_active¶
- property v_outer_boundary_index¶
- property volume¶
Volume in shell computed from r_outer and r_inner
- property volume_active¶
Volume in shell computed from r_outer and r_inner
- class tardis.model.geometry.radial1d.NumbaRadial1DGeometry(*args, **kwargs)[source]¶
Bases:
NumbaRadial1DGeometry
Radial 1D Geometry for the Numba mode
- Parameters:
- r_innernumpy.ndarray
- r_outernumpy.ndarray
- v_innernumpy.ndarray
- v_outernumpy.ndarray
- volumenumpy.ndarray
- class_type = jitclass.NumbaRadial1DGeometry#7feddcbecce0<r_inner:array(float64, 1d, A),r_outer:array(float64, 1d, A),v_inner:array(float64, 1d, A),v_outer:array(float64, 1d, A),volume:array(float64, 1d, A)>¶