From 6e995a220cb034ea5f08a9da8066923ffdda61f4 Mon Sep 17 00:00:00 2001 From: Olivier Sauter <Olivier.Sauter@epfl.ch> Date: Tue, 21 Apr 2020 23:46:06 +0200 Subject: [PATCH] add gas, gas_flux, _request, etc --- matlab/TCV/tcv_requests_mapping.m | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/matlab/TCV/tcv_requests_mapping.m b/matlab/TCV/tcv_requests_mapping.m index 90f5c9e8..d010ce02 100644 --- a/matlab/TCV/tcv_requests_mapping.m +++ b/matlab/TCV/tcv_requests_mapping.m @@ -69,18 +69,18 @@ switch lower(data_request) mapping.label = 'B_0'; mapping.method = 'switchcase'; mapping.expression = ''; - case 'beta' + case {'beta', 'beta_tor'} mapping.timedim = 1; mapping.label = '\beta'; mapping.method = 'tdiliuqe'; mapping.expression = '\results::beta_tor'; mapping.expression = 'tcv_eq(''''beta_tor'''',''''LIUQE.M'''')'; - case 'betan' + case {'betan', 'beta_tor_norm'} mapping.timedim = 1; mapping.label = '\beta_N'; mapping.method = 'switchcase'; mapping.expression = ''; - case 'betap' + case {'beta_pol', 'betap'} mapping.timedim = 1; mapping.label = '\beta_p'; mapping.method = 'tdiliuqe'; @@ -132,6 +132,11 @@ switch lower(data_request) mapping.timedim = 0; mapping.method = 'switchcase'; % could use function make_eqdsk directly? mapping.expression = ''; + case {'gas', 'gas_flux', 'gas_request', 'gas_feedforward'} + mapping.timedim = 1; + mapping.label = 'gas flux'; + mapping.method = 'switchcase'; + mapping.expression = ''; case 'halpha' mapping.timedim = 1; mapping.label = 'Halpha'; -- GitLab