make_aloha_simulid_yp

PURPOSE ^

SYNOPSIS ^

function locid_simul = make_aloha_simulid_yp(aloha)

DESCRIPTION ^

 This function creates a standard id string from aloha LH coupling parameters

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function locid_simul = make_aloha_simulid_yp(aloha)
0002 %
0003 % This function creates a standard id string from aloha LH coupling parameters
0004 %
0005 if isstruct(aloha)
0006     %
0007     if iscell(aloha.plasma.ne0)
0008         ne0 = 0;
0009         for ij = 1:length(aloha.plasma.ne0)
0010             ne0 = ne0 + aloha.plasma.ne0{ij}/1e17;
0011         end
0012         ne0 = ne0/length(aloha.plasma.ne0);%mean value considered
0013     else
0014         ne0 = aloha.plasma.ne0/1e17;
0015     end
0016     %
0017     ne0_str = strrep(num2str(ne0),'.','p');
0018     %
0019     locid_simul = ['ALOHA_nlh_',ne0_str];
0020     %
0021 else
0022     locid_simul = '';
0023 end

Community support and wiki are available on Redmine. Last update: 18-Apr-2019.