spe.inp
来自「pic 模拟程序!面向对象」· INP 代码 · 共 102 行
INP
102 行
default{ Beam in right circular cylinder. This is useful for obtaining beam spreading curves, for example, by adjusting the injection current and the magnetic field.}Region{Grid{ J = 20 x1s = 0.0 x1f = 0.1 n1 = 1.0 K = 20 x2s = 0.0 x2f = 0.02 n2 = 1.0 Rule { Limit n1 < 0.25 Fatal -- n1 < 0.25 grid spacing too nonuniform to ensure accuracy } Rule { Algebra J * K > 10000 Warning -- J*K >= 10000 may mean memory problems! }}Control{ dt = 1.0E-12 Rule { Limit dt <= 0.0 Fatal -- time step must be positive }}Species{ name = positrons m = 9.11E-31 q = 1.6e-19}SingleParticleEmitter{ j1 = 10 j2 = 10 k1 = 9 k2 = 11 u1 = 1e8 u2 = 0 delay = 1e-11 x = (t * 1e10) % 2 normal = 1 speciesName = positrons}Conductor{ j1 = 0 k1 = 0 j2 = 0 k2 = 10 normal = 1}Conductor{ j1 = 0 k1 = 10 j2 = 0 k2 = 20 normal = 1}Conductor{ j1 = 0 k1 = 20 j2 = 20 k2 = 20 normal = -1}Conductor{ j1 = 20 k1 = 20 j2 = 20 k2 = 0 normal = -1}CylindricalAxis{ j1 = 0 k1 = 0 j2 = 20 k2 = 0 normal = 1}}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?