I want to know the effective index of the first TE mode. So I want a loop which will run up to the first TE polarization fraction greater than 0.5 and it stops after that. But I am unable to extract data (neff/TE polarization fraction) from a mode inside the loop using variable.
a= getdata(‘mode1’,‘TE polarization fraction’);
for(0; a<0.5; 0)
a= getdata(‘modex’,‘TE polarization fraction’);