I am trying to calculate the Berry curvature of a topological photonic crystal and to solve this I need to write the formula of Berry curvature in MATLAB
Show older comments
Hello,
i am trying to get the plot of Berry Curvature for topological photonic crystal where the formula given below needs to be implemented in MATLAB.

u_nk data have been extracted from COMSOL, k varies from 0 to 3.
I am finding it difficult to implement this formula.
Any help would be appreciated.
Thanks
Accepted Answer
More Answers (1)
Guifeng
on 13 Feb 2025
0 votes
Dear Dibaskar,
I am also working on similar problems recently. May I know how do you export un_k data from COMSOL. Moreover, as I understand, the un_k data of any single band at any single k vector should be a matrix for 2D phononic crtsyals, which means the un_k should be a 4 dimension matrix, how do you calculate gradient abour k for such matrix?
Wish to here from you, thank you!
Best,
Guifeng
Categories
Find more on Numerical Integration and Differentiation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!