For the new version of SPDCalc, the phasematching angle depends on the length of the bulk crystal. This isn't correct.
Expected:
For the old version, I'm using the following as a test case.
Crystal: BBO
Type 2 PM (775->1550)
theta opening angle = 3 degrees
Crystal length = 1000 um
The phasematching angle for the crystal optic axis should 31.6.
SPDCalc.org phasematching.
For the new code with the same parameters, the wrong phasematching angle is being calculated. What's more, it varies wildly as the length changes.
For the new version of SPDCalc, the phasematching angle depends on the length of the bulk crystal. This isn't correct.
Expected: For the old version, I'm using the following as a test case. Crystal: BBO Type 2 PM (775->1550) theta opening angle = 3 degrees Crystal length = 1000 um The phasematching angle for the crystal optic axis should 31.6. SPDCalc.org phasematching.
For the new code with the same parameters, the wrong phasematching angle is being calculated. What's more, it varies wildly as the length changes.
New code 500 um crystal length, PM angle = 32 deg
New code 1000 um crystal length, PM angle = 73.46 deg