Revisiting the Casimir energy with general boundary conditions and applications in 1D crystals | Publicación