Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SPC
gdat
Commits
d9fdb2aa
Commit
d9fdb2aa
authored
Jan 17, 2022
by
Olivier Sauter
Browse files
try to finalize tcv_get_ids_equilibrium changes
to be tested
parent
34e58343
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/TCV_IMAS/tcv_get_ids_equilibrium.m
View file @
d9fdb2aa
...
...
@@ -340,7 +340,7 @@ for it = 1:ntime
end
end
constraints
.
pf_current
=
pf_current
;
ids_equilibrium
.
time_slice
{
it
}
.
constraints
=
constraints
;
end
...
...
@@ -518,9 +518,9 @@ params_eff.data_request = 'psi';
profiles_2d
.
psi
=
gdat
(
params_equilibrium
.
shot
,
params_eff
);
% add psi_bound in a second step in special cases
profiles_2d_desc
.
psi
=
[
params_eff
.
data_request
' adding psi_bound in a 2nd step'
];
%profiles_2d.r = profiles_2d.psi;
profiles_2d
.
r
.
data
=
repmat
(
repmat
(
profiles_2d
.
psi
.
dim
{
1
},
1
,
65
),
1
,
1
,
1299
);
profiles_2d
.
r
.
data
=
repmat
(
repmat
(
profiles_2d
.
psi
.
dim
{
1
},
1
,
numel
(
profiles_2d
.
psi
.
dim
{
2
})),
1
,
1
,
numel
(
profiles_2d
.
psi
.
dim
{
3
})
);
profiles_2d_desc
.
r
=
'from dim{1} of
''
psi
''
repeated'
;
profiles_2d
.
z
.
data
=
repmat
(
repmat
(
profiles_2d
.
psi
.
dim
{
2
}
'
,
28
,
1
),
1
,
1
,
1299
);
profiles_2d
.
z
.
data
=
repmat
(
repmat
(
profiles_2d
.
psi
.
dim
{
2
}
'
,
numel
(
profiles_2d
.
psi
.
dim
{
1
}),
1
),
1
,
1
,
numel
(
profiles_2d
.
psi
.
dim
{
3
})
);
profiles_2d_desc
.
z
=
'from dim{2} of
''
psi
''
repeated'
;
% theta = gdat(params_equilibrium.shot,'theta','machine',gdat_params.machine);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment