- #1
Alexander Camargo
- 34
- 10
- TL;DR Summary
- Configure sdef card for lattice cell
I would like some help to configure the SDEF card for a lattice cell.
I am configuring it but I am getting the error "fatal error. Cell 889 in SDEF CEL path not at lev=0"
I have tried several configurations but I am not having any success, please help me. I want to set cell 132 as my source
I am configuring it but I am getting the error "fatal error. Cell 889 in SDEF CEL path not at lev=0"
I have tried several configurations but I am not having any success, please help me. I want to set cell 132 as my source
Code:
INPUT
c complex lattice
888 0 -401 302 -403 304 -405 306 fill=999 imp:p=1 imp:e=1
889 0 -301 302 -303 304 -305 306 lat=1 u=999 imp:p=1 imp:e=1
fill=0:253 0:126 0:221
222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222
................
................
222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222
222
1 -0.001205 -301 302 -303 304 -305 306 u=222 imp:p=1 imp:e=1 $Air
1 like 222 but mat=35 rho=-1.030 u=1 imp:p=1 imp:e=1 $ Adrenal_left
2 like 222 but mat=35 rho=-1.030 u=2 imp:p=1 imp:e=1 $ Adrenal_right
.......
......
132 like 222 but mat=32 rho=-1.040 u=132 imp:p=1 imp:e=1 $ Thyroid
886 46 -0.0012 -6000 #888 #1002 imp:p=1 imp:e=1
c -------size of latice------------
301 px 0.2137000
302 px 0
303 py 0.2137000
304 py 0
305 pz 0.8
306 pz 0
c --------Size of the array------------
401 px 54.2798
403 py 27.1399
405 pz 177.6
990 py 0.0
c universe
6000 rcc 0 0 -101 0 0 1000 3501
sdef CEL=d1 PAR=2 ERG=1 pos=0 0 0
si1 L (132<222<889)
sp1 1
Last edited by a moderator: