Closed cyhng closed 7 years ago
Thanks for pointing this out. I am not 100% sure what is going on here, but it may have to do with slight differences in the computation of interpolation tables. I will keep this in mind as I make improvements to the code.
However, the errors are quite small and probably less than the meshing resolution and/or internal tolerances for things like Brillouin-zone integration and imaginary-frequency integration (both of which are set to 1% by default), so I don't consider this a major error for now.
It may be interesting to ask how the results vary with (a) mesh resolution, (b) error tolerances for numerical quadrature. Try running with command-line arguments --BZIRelTol 1.0e-3 --RelTol 1.0e-3
.
It is known that it is more efficiency for SCUFF-CAS3D to calculate several transformations at once because some of the resources can be shared among all transformations. However, results from single run multiple transformations do slighly differ from the results from separated runs. For individual calculation case, each run contains only one transformation and you have to do it multiple times.
Here is the test case : PEC cylinder embedded in a cylindrical cavity with PEC boundary
Geometry file
Transformation file
Here are the results (Force per unit length : hbar c / micron^4)![result1](https://cloud.githubusercontent.com/assets/19286702/15148862/e9ef0d76-16f9-11e6-9817-81c9558330c8.png)
There is a 1% off from different methods to run the code. Is this expected or is it a minor bug?
Thanks in advance