Generalized Bloch boundary conditions based on a symmorphic space group and the finite-element implementation in photonic crystal | Synapse