>> ren.x=prm.dx
ren =
struct with fields:
x: 1
>> prm.dt
ans =
0.0400
>> ren.t=prm.dt/2
ren =
struct with fields:
x: 1
t: 0.0200
>> ren.x/rem.t
Unable to resolve the name rem.t.
>> ren.x/ren.t
ans =
50
>> ren.x/(ren.t^2)
ans =
2500
>> 1.0/ren.t
ans =
50
>> ren.x/(ren.t^3)
ans =
1.2500e+05
>> 1.0/(ren.t^2)
ans =
2500
>> (ren.x^2)/(ren.t^4)
ans =
6250000
>> prm.cv
ans =
20
>> ren.v
Reference to non-existent field 'v'.
>> ren.v=ren.x/ren.t
ren =
struct with fields:
x: 1
t: 0.0200
v: 50
>> ren.v
ans =
50
>> prm.cv=prm.cv/ren.v
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 20
nv: 100
wj: 0
ns: 1
np: 2048
wp: 1
qm: -1
vpa: 0.5000
vpe: 10
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -0.0625
mass: 0.0625
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
>> prm.cv
ans =
0.4000
>> prm.wc
ans =
0
>> prm.wc=prm.wc*ren.t
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 20
nv: 100
wj: 0
ns: 1
np: 2048
wp: 1
qm: -1
vpa: 0.5000
vpe: 10
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -0.0625
mass: 0.0625
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
>> prm.wc
ans =
0
>> prm.wp
ans =
1
>> ren.t
ans =
0.0200
>> prm.wp.*ren.t
ans =
0.0200
>> prm.vpa
ans =
0.5000
>> prm.vpa.*ren.v
ans =
25
>> prm.vpa./ren.v
ans =
0.0100
>> prm.vpe./ren.v
ans =
0.2000
>> prm.vpe
ans =
10
>> prm.vpe./ren.v
ans =
0.2000
>> ren.v
ans =
50
>> orm.vd
Unable to resolve the name orm.vd.
>> prm.vd
ans =
0
>> prm.vmax
ans =
20
>> prm.vmax ./ren.v
ans =
0.4000
>> prm.vj
Unrecognized method, property, or field 'vj' for class 'Parameters'.
>> prm.ajamp
ans =
0
>> 1/ren.j
Reference to non-existent field 'j'.
>> ren.j=ren.x/(ren.t^3)
ren =
struct with fields:
x: 1
t: 0.0200
v: 50
j: 1.2500e+05
>> 1/ren.j
ans =
8.0000e-06
>> prm.ajamp/ren.j
ans =
0
>> kempo1main
flag_exit =
0
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 20
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 20
nv: 100
wj: 0
ns: 1
np: 2048
wp: 1
qm: -1
vpa: 0.5000
vpe: 10
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 400
tcs: 800
q: -0.0625
mass: 0.0625
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
ren =
struct with fields:
x: 1
ren =
struct with fields:
x: 1
t: 0.0200
ren =
struct with fields:
x: 1
t: 0.0200
v: 50
ren =
struct with fields:
x: 1
t: 0.0200
v: 50
e: 2500
ren =
struct with fields:
x: 1
t: 0.0200
v: 50
e: 2500
b: 50
ren =
struct with fields:
x: 1
t: 0.0200
v: 50
e: 2500
b: 50
j: 1.2500e+05
ren =
struct with fields:
x: 1
t: 0.0200
v: 50
e: 2500
b: 50
j: 1.2500e+05
r: 2500
ren =
struct with fields:
x: 1
t: 0.0200
v: 50
e: 2500
b: 50
j: 1.2500e+05
r: 2500
g: 6250000
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 20
nv: 100
wj: 0
ns: 1
np: 2048
wp: 1
qm: -1
vpa: 0.5000
vpe: 10
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -0.0625
mass: 0.0625
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 20
nv: 100
wj: 0
ns: 1
np: 2048
wp: 1
qm: -1
vpa: 0.5000
vpe: 10
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -0.0625
mass: 0.0625
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 20
nv: 100
wj: 0
ns: 1
np: 2048
wp: 0.0200
qm: -1
vpa: 0.5000
vpe: 10
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -2.5000e-05
mass: 2.5000e-05
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 20
nv: 100
wj: 0
ns: 1
np: 2048
wp: 0.0200
qm: -1
vpa: 0.0100
vpe: 10
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -2.5000e-05
mass: 2.5000e-05
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 20
nv: 100
wj: 0
ns: 1
np: 2048
wp: 0.0200
qm: -1
vpa: 0.0100
vpe: 0.2000
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -2.5000e-05
mass: 2.5000e-05
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 20
nv: 100
wj: 0
ns: 1
np: 2048
wp: 0.0200
qm: -1
vpa: 0.0100
vpe: 0.2000
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -2.5000e-05
mass: 2.5000e-05
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 0.4000
nv: 100
wj: 0
ns: 1
np: 2048
wp: 0.0200
qm: -1
vpa: 0.0100
vpe: 0.2000
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -2.5000e-05
mass: 2.5000e-05
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 0.4000
nv: 100
wj: 0
ns: 1
np: 2048
wp: 0.0200
qm: -1
vpa: 0.0100
vpe: 0.2000
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -2.5000e-05
mass: 2.5000e-05
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
prm =
Parameters with properties:
dx: 1
dt: 0.0400
nx: 128
ntime: 1024
nplot: 256
cv: 0.4000
wc: 0
ajamp: 0
eamp: []
emax: 10
bamp: []
bmax: 0.2000
iex: 1
vmax: 0.4000
nv: 100
wj: 0
ns: 1
np: 2048
wp: 0.0200
qm: -1
vpa: 0.0100
vpe: 0.2000
vd: 0
pch: 0
icolor: 1
iparam: 1
diagtype: [11 23 18 4]
angle: 0
slx: 128
npt: 2048
nxp1: 129
nxp2: 130
X1: [1×128 double]
X2: [1×128 double]
X3: [1×128 double]
cs: 0.1600
tcs: 0.3200
q: -2.5000e-05
mass: 2.5000e-05
rho0: [130×1 double]
bx0: 0
by0: 0
ifdiag: 4
>>