Band structure- implement Bloch boundary condition
Afficher commentaires plus anciens
hallo all,
How do I implement bloch boundry condition: f(x=0)=f(x=L)*exp(ikL) in the second derivative matrix representation (in a 1D problem) that operates on a vector: x=linespace(0,L,1000)?
where f would be some eigen function of the Laplacian matrix(written here without the bloch boundry condition ):
Lap= (-2*diag(ones(N,1),0) + diag(ones((N-1),1),1) ...
+ diag(ones((N-1),1),-1))/(dx^2);
thanks
Réponses (0)
Catégories
En savoir plus sur Thermal Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!