|
if self._is2D(): |
|
x2 = dgeom['dX12']['l2']*np.linspace(-0.5, 0.5, |
|
dgeom['dX12']['n2'], |
|
end_point=True) |
|
dgeom['dX12']['x2'] = x2 |
|
if self._is2D(): |
|
nRays = dgeom['dX12']['n1']*dgeom['dX12']['n2'] |
|
ind1, ind2, indr = self._get_ind12r_n12(n1=dgeom['dX12']['n1'], |
In the above lines self is undefined
tofu/tofu/geom/_core.py
Lines 3187 to 3194 in 56b8b95
In the above lines
selfis undefined