-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TmatrixPm with 4-th order rotational symmetry #9
Comments
If you want to go "all the way" the best way to go about it is a unified approach will all the T-matrices. As each of the T-matrix codes are "tailor made". I started on a tmatrix_pm.m code which implemented all of the symmetry optimisations. That theoretical future code would replace all pm codes. A simple version of this would be to use the mode_coupling.m code I gave to you to basically make the pm part select only the elements of the coefficient matrix used for that particular symmetry |
I think a completely general code would be useful, but it's not something that's very high on my priority list at the moment. Any ideas for what I should do in the mean time? What are the symmetry optimisations? |
The tmatrix_pm_cube code, instead of girdding up the entire cube only takes a quadrant (1/4) and performs a least square fit to the modes which differ by m=\pm 4. My thought is if you can avoid this for now and think about how a good implementation would look and wrap that. I can help with coding the details. |
Plan: replace pm_cube with a N-th order discrete rotational symmetry and infinite rotational symmetry. This will be a future goal. For now we will remove tmatrix_pm_cube.m. |
tmatrix_pm_cube.m removed: 7bd3035 |
Moving to version 2 |
T-matrix calculation for |
1c885a2 -- Done 😀 Both mirror and rotational symmetry implemented. |
I'm unsure what to do with the file ott/+ott/tmatrix_pm_cube.m in version 1.4
In version 1.4 I've added a TmatrixPm class with a static method for constructing simple T-matrices using the point matching method.
Should I create a subclass of TmatrixPm -> TmatrixPmCube or should I modify the simple() static method to use tmatrix_pm_cube instead? What is the purpose of tmatrix_pm_cube? Are there additional optimisations? What are Nmax_particle and Nmax_medium for?
The text was updated successfully, but these errors were encountered: