# 32Bit Software TM and TE labels wrong way round

I am trying to reproduce the dispersion diagram, for an H1 defect in a rod photonic crystal lattice, lattice constant a = 1, rod radius r =0.2a, refractive index n=3.5. A TM mode should be confined, with resonant frequency within the bandgap.

Using OptiFDTD’s 32bit simulation software, Plane Wave Expansion method, to calculate a 5×5 supercell containing the H1 defect, The correct dispersion and corresponding resonance frequency for TM mode can only be found by calculating the TE trace in OptiFDTD, and vice versa for TE.

Is this because I have defined something incorrectly? Or is it an actual bug in the software? If it’s bug does it also apply to every other instance where one has to select TM or TE for simulation? For instance 2D and 3D FDTD simulations and also the E(x,y,z) and H(x,y,z) field amplitudes? Are all instances of electric field and magnetic field labels the wrong way round in 32 bit software?

Thank you.

### Responses (4):

Login You must be logged in to reply to this topic.